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: 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: 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: Print SSRS Report in PDF to Disk

Purpose: The purpose of this document is to illustrate how we can print an SSRS report in PDF format to disk or file-system in X++. Business requirement: Ability to print an SSRS report in PDF format to disk or file-system automatically. Assumptions: SSRS report is successfully deployed to the report server. Development: Please find below the job... Continue Reading →

AX 2012: LogisticsPostalAddress unknown value

Problem: I learned something new about DateEffective tables today. I had a customer requirement to store addresses in a Standard AX table, PdsApprovedVendorList. So I created a relationship between my table and LogisticsPostalAddress table, adding foreign key to LogisticsPostalAddress to my table. Then I added this field to a form and set ReplacementFieldGroup property of the... Continue Reading →

Blog at WordPress.com.

Up ↑