Markup::connectCustVendTo Method [AX 2012]
Connects the MarkupTrans table records of type Cust/Vend on an invoice to purchase order.
Syntax
server public static void connectCustVendTo(Common _bufferPO, Common _bufferInvoice)
Run On
Server
Parameters
- _bufferPO
Type: Common Table
A purchase order record buffer.
- _bufferInvoice
Type: Common Table
An invoice record buffer.
Remarks
Only header to header and line to line connections are enabled, and only unconnected MarkupTrans record which have exactly one other MarkupTrans record with the same MarkupCode value are connected.