SalesAgreementHeaderHistory.getAttachedDocuments Method
Retrieves the search object for documents that are attached to the agreement.
Syntax
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.
Remarks
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.