RetailDocumentFileHelper::getFileContentFromDoc Method [AX 2012]

Reads documents described by DocuRef, DocuValue and related tables into memory and returns the document's content as a BinData serialized into a container

client server public static container getFileContentFromDoc(
    DocuRef _docuRef, 
   [DocuType _docuType, 
    DocuValue _docuValue])

Run On

Called

Parameters

_docuRef
Type: DocuRef Table
The DocuRef record of the document to read
_docuType
Type: DocuType Table
The DocuType record of the document to read
_docuValue
Type: DocuValue Table
The DocuValue record of the document to read

Return Value

Type: container
Returns the document's content as a BinData serialized into a container
Show: