Home

AxBuild.exe for Parallel Compile on AOS

If you have only 10 mins to build ax, try this In AOS server, go to C:\Program Files\Microsoft Dynamics AX\60\Server\DAX\bin and open cmd from here then run this command axbuild.exe xppcompileall /s=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin" Result Once compile complete, you can import compile log file at C:\...

Read more

List Page Interaction Class

Form interaction classes that allow user interface control logic to be shared across forms. For instance, controlling which buttons are available to a list page and the associated detail form. The interaction classes are extending a base ListPageInteraction class. This has some methods supported by the kernel to interact e.g. with initializatio...

Read more

How to deploy all the reports in AX2012 by using Management Shell

Login to the AX AOS server and follow below steps. Click Start > Administrative Tools. Right-click the Microsoft Dynamics AX 2012 Management Shell option. Click Run as administrator. Go to PowerShell command prompt and run with command Publish-AXReport –ReportName * Wait up to getting Deployment successful ...

Read more

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