SalesAgreementHeaderHistory.getAttachedDocuments Method [AX 2012]

Retrieves the search object for documents that are attached to the agreement.

public DocuRefSearch getAttachedDocuments(DocuTypeId _docuTypeId, DocuRestriction _restriction)

Run On

Called

Parameters

_docuTypeId
Type: DocuTypeId Extended Data Type
The type of the document.
_restriction
Type: DocuRestriction Enumeration
A restriction of the document.

Return Value

Type: DocuRefSearch Class
A DocuRefSearch object.

DocuRef attachments are associated with the TableId value of the table instance. Therefore, they cannot be retrieved based on the base table's TableId value.

Show: