Purpose: The purpose of this document is to quickly understand the underlying data model which is used by Dynamics AX to store postal addresses for a party. Some examples of party are customer, vendor and company. Assumptions: Basic understanding of UML's crow foot notation for data modeling. Data model:
AX 2012: Automated build deployment process
Purpose: The purpose of this document is to describe how we can deploy automated builds to different Dynamics AX pre-production environments so that newly developed features could be rolled-out for UAT. The document also illustrates how version controlling by TFS and data migration activities fit into the big picture. Business requirement: Ability to release, deploy automated builds... Continue Reading →
AX 2012: Create AIF document service
Purpose: The purpose of this document is to illustrate how we can develop AIF document service, what are the important methods available that can be overridden to do the customization and finally how we can consume/unit test the document service through an external .NET application. Business requirement: Ability to integrate Dynamics AX with external systems.... Continue Reading →
AX 2012: Create AIF custom service
Purpose: The purpose of this document is to illustrate how we can develop AIF custom service. Business requirement: Ability to integrate Dynamics AX with external systems. Assumptions: Application Integration Framework has been configured to process inbound and outbound messages. Development: Create a data contract class. Use [DataContractAttribute('Name')] attribute to indicate class represents data contract. Use [DataMemberAttribute('Name')]... Continue Reading →
AX 2012: Add custom field to standard DIXF target entity
Purpose: The purpose of this document is to describe how we can add custom fields to standard DIXF target entity. While performing data migration for standard entities like customer, we often come across a requirement to load data for customized fields as well. In this post, we will add custom fields of customer master to its standard... Continue Reading →
AX 2012: Open fiscal periods in X++
Purpose: The purpose of this document is to describe how we can quickly open fiscal periods through X++. Development: // Developed on 28 Dec 2015 by Muhammad Anas Khan // Blog: dynamicsaxinsight.wordpress.com // LinkedIn: pk.linkedin.com/in/muhammadanaskhan // Description: Ability to confirm purchase order static void MAKOpenFiscalPeriods(Args _args) { FiscalCalendarPeriod fiscalCalendarPeriod; LedgerFiscalCalendarPeriod ledgerFiscalCalendarPeriod; ttsBegin; //Open fiscal periods... Continue Reading →
AX 2012: General journal posting in X++
The purpose of this document is to describe how we can quickly post general journals (also known as GL opening balances or simply GL balances) across all the companies in X++.
AX 2012: Virtual Company Account Technicalities
Purpose: The purpose of this document is to describe how Dynamics AX technically stores the data of virtual company accounts in database tables. Specifically, what are the tables involved in storing the relationships between a virtual company account and its company accounts and table collections? Assumptions: Reader has the functional knowledge of how virtual company... Continue Reading →
AX 2012: Customize DIXF for cross-company import
Purpose: The purpose of this document is to demonstrate how we can customize DIXF (Data Import Export Framework) to import customers across the companies. The standard DIXF can only import records in the current company/legal entity. Customization will allow us to perform cross-company data import. Business requirement: Ability to import customers through DIXF across the companies. Assumptions:... Continue Reading →
AX 2012: Trigger AIF Document Service Outbound Message in X++
Purpose: The purpose of this document is to illustrate how we can trigger the generation of AIF document service outbound message in X++. Business requirement: Ability to generate an AIF outbound xml message on demand. Assumptions: Outbound port is configured using file system adapter. Development: Please find the job below to trigger an AIF document... Continue Reading →