Skip to content
Microsoft Dynamics 365 Blog


How to link the Purchase order line with a Vendor invoice line in the AIF VendVendInvoiceService service. 

I have seen this issue come up several times so I thought a little blog article would be helpful to the Dynamics AX developers working with this AIF service. When creating a Vendor Invoice using the VendVendInvoiceService service, you may have a business requirement to associate the Vendor invoice line with a Purchase order line. The...Read more

Calling the BudgetTransactionService on AX 2012 

We recently had a request for an example of how to call the BudgetTransactionService AIF create operation which allows you to created budget register entries. Setup: Create an inbound AIF port using the first 10 steps (Setup with AX) from the Budget entries import in AX2012 ( to create a NetTcp AIF inbound port. Create...Read more

Requesting large packages across AX AIF can result in timeout errors after 30 seconds regardless of your timeout values 

A common time out exception you may experience with NetTcp AIF calls in AX is: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was ’01:09:59.9770000′. This error can be deceptive...Read more

How to Setup Send XML Document for AP Payment Journals 

The goal of this post will be to walk through the necessary AIF setup required to utilize the Send button in the Account Payable Journal Voucher form.  Step 1: Enable and Deploy Endpoint In the AX client navigate to System Administration > Setup > Services and Application Integration Framework > Outbound Ports Create a new...Read more

Map the Full Product name from Dynamics AX for the CRM Connector 

This blog post comes from a question in the Microsoft Dynamics AX community board at The question was how to map the full Product Name and not the NameAlias field that is in the InventTable table. The NameAlias field is a shorter field so it does not give you as good as description. I had originally suggested to...Read more

Collect a series of traces automatically with Dynamics AX 2012 

Introduction The following steps are one way to collect a series of AX traces on a schedule with all versions of AX 2012 on the AOS server, using standard Windows tools: Perfmon combined with Task Scheduler. This example collects a 1 minute trace at 5 minute intervals. This can be useful for example if you...Read more

Adding Exchange Rates using the AIF LedgerExchangeRateService Service 

The following is a quick example that may help if you need to add an Exchange Rate to an existing Currency Pair in Microsoft Dynamics AX 2012 R3 using the AIF LedgerExchangeRateService service. I ran into a couple snags along the way and finally was able to insert data correctly in AX using the below. When you create the AIF Inbound Port...Read more

Error when browsing a custom service hosted as IIS web service: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) 

Title: Error when browsing a custom service hosted as IIS web service – An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) Scenario: You are using Microsoft Dynamics AX 2012 You have created several Custom Services that you can deploy using NetTcp successfully and consume the WSDL in...Read more

Walkthrough: Configuring and processing an inbound ASN in the new Warehouse management module 

Technorati Tags: Supply Chain Management,Warehouse management,AX 2012,Microsoft Dynamics,Dynamics AX 2012 R3,Warehouse,WHS,ASN,AIF,Service,Purchase,Load,Packing structure Introduction An advance shipping notice (ASN) is used to notify a company that a delivery is on the way. ASNs are a common EDI document, and nowadays most ERP systems support their use. ASNs enable a sender to describe the contents and configuration...Read more