VendDocumentLineMap::header Method [AX 2012]

Finds and returns the VendInvoiceInfoTable or PurchParmTable record for the given record.

client server public static VendDocumentTableMap header(VendDocumentLineMap _vendDocumentLineMap, [boolean _forUpdate])

Run On

Called

Parameters

_vendDocumentLineMap
Type: VendDocumentLineMap Map
A VendDocumentLineMap record that is used to find a VendInvoiceInfoTable or PurchParmTable record.
_forUpdate
Type: boolean
A Boolean value that specifies whether the record should be selected for update; optional.

Return Value

Type: VendDocumentTableMap Map
A single VendInvoiceInfoTable or PurchParmTable record if it exists; otherwise, an empty VendInvoiceInfoTable or PurchParmTable record.
Show: