Share via


PurchFormletterParmDataInvoice.getSourceDocumentHeaderRecId Method [AX 2012]

Returns the source document header record ID corresponding to the supplied vendor invoice.

Syntax

protected SourceDocumentHeaderRecId getSourceDocumentHeaderRecId(TradeLineRefId _tableRefId)

Run On

Server

Parameters

Return Value

Type: SourceDocumentHeaderRecId Extended Data Type
The unique ID of a source document header

Remarks

A cached source document header will be used if available. Otherwise a new one will be created.

See Also

Reference

PurchFormletterParmDataInvoice Class