static void importAxdMyTable(Args _args) { AxdMyTable axdMyTable; AifDocumentXml xml; XmlDocument xmlDocument; ; // create an xml document from file xmlDocument = XmlDocument::newFile("C:\\Temp\\axdMyTable_Inbound.xml"); xml = xmlDocument.xml(); axdMyTable = AxdBase::newClassId(classnum(AxdMyTable)); // insert data from the xml document into Dynamics AX axdMyTable.createList(xml, new AifEndpointActionPolicyInfo(), new AifConstraintListCollection()); }