Hi Friends,
Below code snippet will help you to create new legal entities in AX 2012
static void CompanyUpload(Args _args)
{
OMNewLegalEntityViewModel oMNewLegalEntityViewModel = new OMNewLegalEntityViewModel();
oMNewLegalEntityViewModel.parmCompany("997");
oMNewLegalEntityViewModel.parmName("Test7");
oMNewLegalEntityViewModel.parmCountryRegion("IND");
oMNewLegalEntityViewModel.createLegalEntity();
info("Company has been created");
}
Happy Daxing..:-)
This blog is for Dynamics AX (AXAPTA) Developers,this will help you for your development issues. This site contains some Microsoft Dynamics AX X++ Codes for use in your day to day use.
Subscribe to:
Post Comments (Atom)
Ledger Voucher creation Framework and x++ code to create ledger voucher
Please click her for MS reference file Below is the out of the box example reference and code. SalesInvoiceJournalPostSubBill_Extension-...
-
{ "Message" : "Please verify that the user is valid and set up correctly." } Sol: System Administration > Se...
-
Please click here to access Custom Workflow step by step process:
-
FormRun formRun = sender.formRun(); Object inventTrans_ds = formRun.dataSource(formDataSourceStr(InventMarking,InventTransO...
This article was very helpful in answering alot of questions about Microsoft Dynamics CRM.Dynamics AX Online Training|Microsoft Dynamics AX Training|Sharepoint Online Training
ReplyDeleteHello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. Legal Entity Identifier Number
ReplyDelete