VendDocumentLineMap::subHeader Method [AX 2012]

Finds and returns the VendInvoiceInfoSubTable or PurchParmSubTable record for the given record.

client server public static VendDocumentSubTableMap subHeader(VendDocumentLineMap _vendDocumentLineMap, [boolean _forUpdate])

Run On

Called

Parameters

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

Return Value

Type: VendDocumentSubTableMap Map
A single VendInvoiceInfoSubTable or PurchParmSubTable record if it exists; otherwise, an empty VendInvoiceInfoSubTable or PurchParmSubTable record.
Show: