Issue With FieldObject Method on DictTable Class in D365FO

I recently ran into an interesting issue with using the FieldObject() method on the DictTable class when programming in X++ for D365FO.

Scenario

The scenario to replicate the issue is to create a DictTable object and then perform a fieldObject() method call on a field that doesn’t exist.

According to Microsoft documentation, this method should return null if the object could not be created.

Continue Reading Alex’s Article on their blog

Issue With FieldObject Method on DictTable Class in D365FO – Alex Meyer

I recently ran into an interesting issue with using the FieldObject() method on the DictTable class when programming in X++ for D365FO. Scenario The scenario to replicate the issue is to create a DictTable object and then perform a fieldObject() method call on a field that doesn’t exist.

Blog Syndicated with Alex’s Permission

Author: Alex Meyer

Share This Post On