Creating Customer in Axapta 2009 using business connector

Hello All,

I am integrating a dot net application which creates customer into Axapta 2009. By using business connector, i am able to create customer by using a class having following code. This works fine for me but is there any standard way of handling the scenario.

ttsbegin;

NumberSeq = NumberSeq::newGetNumFromCode(“Customer”);
custTable.AccountNum = NumberSeq.num();
custTable.PartyType = 2;
custTable.OrgId = “2”;
custTable.Currency = “USD”;
custTable.LanguageId = “en-US”;
custTable.InventSiteId = “1”;
custTable.Name = “Test Customer”;
custTable.CustGroup = “C01”;
custTable.insert();

ttscommit;

i was able to find a class named as AxdCustTable. It works fine.

Anybody guide me to pass dimensions like region, department and cost center as parmDimension to AxdCustTable using business connector. Thanks

Hi, Syed

Could you give a hint on how you resolved that problem (pass dimensions like region, department and cost center to AxCustTable using business connector)?

Thanks