jeudi 5 avril 2012

How to import XPO file to AOT in microsoft dynamics axapta x++ application through code

Summary: If you want to  import XPO file to AOT in microsoft dynamics axapta x++ applications through code then you can write following job in job sections of Axapta

Detaisl
static void ImportXPOthroughJob(Args _args)
{
SysImportElements sysImportElmt1 = new SysImportElements();
;
sysImportElmt1.newFile("E:\\test.xpo");// This is to assign path of XPO filename 
sysImportElmt1.parmImportAot(true);
sysImportElmt1.parmImportWithIds(false);//This to import without using xpo object ids
sysImportElmt1.import();
}

Aucun commentaire:

Enregistrer un commentaire