Quantcast
Viewing all articles
Browse latest Browse all 17314

X++ code for document attachment

X++ code for document attachment In Axapta, we can attach document with Purchase order via document handling, if you need to attached a document using your x++ code, we need to use following x++ AOT objects. DocuRef (table) DocuActionArchive (class) Here is a generic method that will attach record to any table in AX based on parameters passed to it void attachDoc(RefTableId _refTableId, RefRecId _refRecId, selectableDataArea _refCompanyId, FileName _name) { DocuRef docuRef; DocuActionArchive archive;...(read more)Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 17314

Trending Articles