Microsoft Dynamics AX Support

This blog contains posts by the Microsoft Dynamics AX Support teams Worldwide

Browse by Tags

Tagged Content List
  • Blog Post: Calling the Update Operation on the SalesOrderService

    The code is an example of how to call the update method on sales order in AX 2012 using the SalesOrderService. static void Main(string[] args) { //First find the order AxdSalesOrder salesOrder = Program.FindOrder(); //Now update it Program.UpdateOrder(salesOrder); } static...
  • Blog Post: Calling the LedgerPurchaseInvoice Service in AX 2012

    I had a blog comment requesting that I demonstrate how to call the LedgerPurchaseInvoice service so here you go: //A purchase invoice created by this service = AP > Journals > Invoices > Invoice register //Think it depends on which journal name you set up under AP > Setup > AP...
  • Blog Post: Calling a web service from X++ code

    This post describes how to call the AIF sales order service from X++ code. The same approach can be used for calling any web service. In the AOT under the References node add a service reference specifying the wsdl location of the service, a .NET code namespace and a reference namespace. An example...
  • Blog Post: Updating customers via the Customer AIF service

    We have received many questions in AX 2009 around how to update customers using the customer service in AIF. People report errors like the following while trying to do updates: "The record in Address with record id <12345789> cannot be updated because the record has changed since last read....
Page 1 of 1 (4 items)