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
Category: AOT
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
AX – Incremental CIL generation
First go to AX developer interface
D365FFO – AX – What is CIL in AX 2012
n Microsoft Dynamics AX 2012, code can be compiled to CIL and run in the .NET CLR. But what does CIL mean and what is it used for?CIL stands for Common Intermediate Language and is in essence an object-oriented assembly language. It complies with the Common Language Infrastructure (CLI), which is a specification that was … Continue reading D365FFO – AX – What is CIL in AX 2012
AX – D365FFO – Display element by Model in AOT
1. In Microsoft Visual Studio, on the Dynamics 365 menu, click Model Management > Refresh Models.2. Open Application Explorer by clicking View > Application Explorer.3. Right-click the AOT root node, and then click Model view.A list of installed models is displayed.Reference:https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/manage-runtime-packages
AX 2012 – Clear all Usage Data
Go to AOT (Ctrl + D)
AX 2012 – Clear a class Usage Data
AX 2012 – AOT – SQL in Table browser syntax
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