Home

Execute Stored Procedure from X++ code

To execute a stored procedure from X++ use the Server method, the Client method does not have permissions. you don’t require any special privileges or permissions to execute a stored procedure. if used other then Server method, a message should appear like this Request for the permission of type SqlStatementExecutePermission failed. public stat...

Read more

Common prefies Dyanmics AX 2012

When creating new elements, ensure that you follow the recommended naming conventions. Any future development and maintenance will be much easier. Ax Microsoft Dynamics AX typed data source Axd Microsoft Dynamics AX business document Asset Asset management BOM Bill of material COS Cost accounting Cust Customer Dir Directory, global addres...

Read more

Create and write to XML file in Dynamics AX

In this post let’s explore creating XML using X++ code in Dynamics AX. The following example shows how to create and write data to an XML file by using the XmlDocument, XmlElement, and XmlWriter classes. It loops through all of the records in the CarTable and find all the fields in the table automatically by using the DictTable and DictField cl...

Read more

Understand model store architectural in AX 2012

The model store is the portion of the Microsoft Dynamics AX database where all Microsoft Dynamics AX application elements are stored, including customization. The model store replaces the AOD (application object definition) files used in previous releases of Microsoft Dynamics AX (I mean from 4.0 to 2009). Layer and model information are integr...

Read more

Architecture overview Microsoft Dynamics AX 2012

Understanding the internal architecture of Microsoft Dynamics AX 2012 can help you make decision when planning and developing a Microsoft Dynamics AX 2012 system. Here are some pointers on DAX 2012 architecture primarily for DAX 2012 architects & solution developers. This topic provides a high-level overview of the system architecture of Mic...

Read more