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 →
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 →
AX 2012: Cancel product receipt journal in X++
Purpose: The purpose of this document is to illustrate how we can cancel a posted product receipt in X++. Business requirement: Ability to cancel product receipt journal automatically. As of now Standard AX offers manual product receipt cancellation by clicking Procurement and sourcing > Inquiries > Journals > Product receipt > Cancel. Assumptions: Product receipt is posted. Development: Please find below the job... Continue Reading →
AX 2012: Correct product receipt journal in X++
Purpose: The purpose of this document is to illustrate how we can correct a posted product receipt in X++ using PurchParmTable and PurchParmLine tables. Business requirement: Ability to correct product receipt journal automatically. As of now Standard AX offers manual product receipt correction by clicking Procurement and sourcing > Inquiries > Journals > Product receipt > Correct. Assumptions: Product receipt is... Continue Reading →
AX 2012: Confirm Purchase Order in X++
Purpose: The purpose of this document is to illustrate how we can confirm purchase orders in X++ using PurchParmTable table and PurchFormLetter class. Business requirement: Ability to confirm purchase order automatically. As of now Standard AX offers manual purchase order confirmation by clicking Procurement and sourcing > Common > Purchase orders > All purchase orders > Purchase > Generate > Confirm.... Continue Reading →
AX 2012: AIF Document Service Invalid Data Container Type
Error: Invalid data container type. Resolution: Compile forward AfStronglyTypedDataContainer class.