Creating Vendors through X++ in AX 2012- PART II Privious Post: Creating Vendors through X++ in AX 2012- PART I --Create vendor and associate with vendor-- public void convertToVendor(VendorRequestCreate _vendorRequestCreate) { VendorRequestCreate vendorRequestCreate = VendorRequestCreate::find(_vendorRequestCreate.VendorNo, true ); ; if (_vendorRequestCreate.DirPartyType == DirPartyBaseType::Person) vendTable.Party = dirPerson.RecId; else vendTable.Party = dirOrganisation.RecId; ttsBegin ; vendTable...(read more)
↧