AX – D365FFO – Write extensible enums

An enumeration (enum) is made extensible by setting the following enum properties: Is Extensible = TrueUseEnumValue = No If you set these properties, downstream implementors can extend the enum with more elements. The values of the elements are determined at deployment time and won't be identical across systems. However, the following behavior is ensured: Data … Continue reading AX – D365FFO – Write extensible enums

AX – D365FO – Modify existing fields in a table through extension

To modify properties on an existing field in a table, you must first create an extension for the table. You can modify the following properties: LabelHelp textCountry Region CodesExtended Data Type – You can select only extended data types (EDTs) that are derived from the currently selected EDT. The lookup in the property sheet is filtered … Continue reading AX – D365FO – Modify existing fields in a table through extension

AX – D365FFO – MODIFY EXTENDED DATA TYPES (EDTS) THROUGH EXTENSION

There are several properties that can be customized on existing extended data types (EDTs) through extension: LabelHelp textForm helpCountry region codesString sizeYou can only modify the value if the EDT does not extend from another EDT.You can only set the new String size to a value equal to or larger than the base EDT value.Decimals … Continue reading AX – D365FFO – MODIFY EXTENDED DATA TYPES (EDTS) THROUGH EXTENSION

D365FFO – AX – Display all/specific AOT tables in a lookup

For displaying all/specific AOT objects like tables in the lookup control, we need to iterate the UtilidElements table with our desired criteria. static void lookupAOTTables(FormStringControl _ctrl){    SysTableLookup              sysTableLookup = SysTableLookup::newParameters(tablenum(UtilidElements), _ctrl);    Query                       query = new Query();    QueryBuildDataSource     … Continue reading D365FFO – AX – Display all/specific AOT tables in a lookup