Skip to main content

Posts

Showing posts with the label customers

Importing Customers, Vendors and Products in AX 2012

This calls the vendor service: using System; using System.Collections.Generic; using System.Linq; using System.Text; using ConsoleApplication9.Vendors; namespace ConsoleApplication9 {     class Program     {         static void Main(string[] args)         {             VendTableServiceClient proxy = new VendTableServiceClient();             CallContext context = new CallContext();            context.Company = "ceu";  //New class that replaces AX endpoints.  It makes it obvious which company you are importing data into.  I love this class!!              AxdVendTable vendor = new AxdVendTable();      ...