Category Archives: Dynamics AX
How to expose a field from a table NOT present in the AOT Query for an AIF service
1. To create an AIF service using Wizard, we are supposed to prepare an AOT query containing the tables with proper relations. 2. Once we generate the AIF Service using Wizard, the AxBC classes gets generated for each table present in the AOT Query. 3. AxBC classes contains the parm methods for each field as … Continue reading How to expose a field from a table NOT present in the AOT Query for an AIF service
Share Story :
Global AIF Setting without which AIF Services will Not Work in AX 2012 R2
1. Go to AOT. 2. There is a Form called “AifGlobalSettings”. 3. Right Click & Open the form [Refer to the below snapshot of the form] 4. There is a check box called “Enable Runtime Caching”. 5. Make sure the check box is checked else the AIF services will NOT be accessible from outside.
Share Story :
Configure Inbound Port in AX 2012 to handle Bigger size XML coming inside via AIF
1. The maximum size of the XML message that AX can receive is 64kb. In order to accept the XML of bigger size, we have to configure the Inbound port. 2. The web.config is created from the configuration of the inbound port. So, in order to preserve the changes even if the Inbound port … Continue reading Configure Inbound Port in AX 2012 to handle Bigger size XML coming inside via AIF
Share Story :
Creating Sales Order with address in AX 2012 R2 via AIF through .Net
Creating Sales Order with address information in AX 2012R2CU7 via AIF through .Net Code Please see the below .net code static void Main(string[] args) Â Â Â Â { Â Â Â Â Â Â // Instantiate an instance of the service client class. Â Â Â Â Â Â SalesOrderServiceClient proxy = new SalesOrderServiceClient(); … Continue reading Creating Sales Order with address in AX 2012 R2 via AIF through .Net
