Posts

Showing posts with the label export and import product model

Programmatically export and import product model details in Ax 2009

Job to export product model details to a given location.     FileName    filename = @"D:\ProductBuilder\";     PBAExport   sysDataExport;     PBATable    pbaTable;     ;     try     {         while select pbaTable         {             sysDataExport = PBAExport::newPBAExport();             sysDataExport.initPBAId(pbaTable);             sysDataExport.parmFilename(filename+pbaTable.PBAId);             sysDataExport.parmFiletype(FileType::Binary);             sysDataExport.run();         }         Info("Export completed successfully");     }     catch(Exception::Error)     {         error("You do not have acce...