Creating A customer using AIF in C #

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

namespace CreateCustomer


class Program


static void Main(string[] args)


Customer.CustomerServiceClient proxy = new Customer.CustomerServiceClient();

Customer.AxdCustomer AxCustTableObject = new Customer.AxdCustomer();

Customer.AxdEntity_CustTable[] AxCustTableData = new Customer.AxdEntity_CustTable[1];

Customer.CallContext AxDocumentContext = new Customer.CallContext();

Customer.EntityKey[] AxEntityKey;

AxDocumentContext.MessageId = Guid.NewGuid().ToString();

AxCustTableData[0] = new Customer.AxdEntity_CustTable();

AxCustTableData[0].AccountNum = “256712”; //mandatory for AXClass

AxCustTableData[0].CustGroup = “10”; //mandatory for AXClass

AxCustTableData[0].Currency = “eur”; //mandatory for AXClass

AxCustTableObject.CustTable = AxCustTableData;

AxEntityKey = proxy.create(AxDocumentContext, AxCustTableObject);

System.Console.WriteLine(“check if customer 4999 is created and press any key to continue”);





but i am unable to create can any one guide me

Can any one help me on update process

no need to enter

AxCustTableData[0].AccountNum = “256712”; //mandatory for AXClass

Application will generates Automaticaly