Dynamics AX 2012

thumbnail 01
Batch Framework, Development (AX 2012), Dynamics AX 2012, Technical (AX 2012)

AX 2012: Customize Controller for Batch Job

The purpose of this document is to demonstrate what power we can leverage by customizing the controller for our batch job. For simplicity, we’ll explore how we can set batch dialog fields with default values by extending SysOperationServiceController class. Prerequisites: It is highly recommended to go through the following posts to get a better understanding […]

thumbnail 01
Dynamics AX 2012, Technical (AX 2012)

AX 2012: Switch TFS branch

Please follow the instructions below to switch the TFS branch of the Dynamics AX development environment. Add user to Administrators group using an admin account. Add user to AX Debugging users group using an admin account. Create new login for the user to SQL Server > Security node. Disconnect AX from TFS. Disable version control.

Untitled2
Batch Framework, Development (AX 2012), Dynamics AX 2012, Technical (AX 2012)

AX 2012: Create a Simple Batch Job

In this post we’ll learn how to create a very basic custom Batch job using SysOperation framework. We’ll use the base controller class SysOperationServiceController and develop a custom service operation class to achieve the goal. Requirement: To create a Batch job to mark all the records as processed in a custom table MAKSalesTable. Project overview: The

5384en
Dynamics AX 2012

Microsoft Dynamics AX 2012 R3 Reporting Cookbook

Another masterpiece, Microsoft Dynamics AX 2012 R3 Reporting Cookbook by Packt Publishing, is out in the market for those who want to become gurus of SSRS Reporting for Dynamics AX. I had a chance to technically review the book to ensure that it offers the best and accurate technical content possible. It is a MUST read and I

thumbnail 01
Development (AX 2012), Dynamics AX 2012, Technical (AX 2012), X++

AX 2012: Off-The-Shelf Excel Reader

Download it, adapt it, run it! [office src=”https://onedrive.live.com/embed?cid=2773BC7CE682FCFA&resid=2773BC7CE682FCFA%21122&authkey=AO_2C8pUPpdoT6E” width=”98″ height=”120″]   Please find above the project XPO of the Off-the-shelf Excel reader. To adapt and run it for your Excel file format: Update macros in the class declaration to match your Excel file columns. Update readExcelFile() method to use your table buffer to persist records

thumbnail 01
Development (AX 2012), Dynamics AX 2012, Technical (AX 2012), X++

AX 2012: Setting Labels in X++

To set Label property of all the fields of a table in AOT, you may refer to the following code which loops through all the fields of a table and sets their Label property with their Name property. static void MAKSetLabels(Args _args) { #Properties SysDictTable dictTable = new SysDictTable(tableNum(CustTable)); SysDictField dictField; TreeNode treeNode; FieldId fieldId

thumbnail 01
Development (AX 2012), Dynamics AX 2012, Technical (AX 2012), X++

AX 2012: Sales Order Posting Custom Validations

It is often a customer requirement to check for custom validations before posting a Sales Order. The best place to put your code for custom validations can be found below: Validations for Sales Table: AOT > Classes > SalesFormLetterProvider > checkHeading() For example, To check for custom field SalesTable.MAKBlocked, this is how custom validation should be added in

thumbnail 01
AIF, Development (AX 2012), Dynamics AX 2012, Technical (AX 2012)

AX 2012: Integrate Dynamics AX with Website

Challenge: What if you need to integrate a Retail E-Commerce website with the powerful Dynamics AX ERP at backend to leverage numerous functional capabilities it offers in the areas like but not limited to Supply Chain Management. Then you are reading the right blog post! We can achieve it through exposing custom AIF services as web services on IIS using

Scroll to Top