PurchTotals_ParmTrans.calcCustVendMarkupOnTable Method [AX 2012]
Calculates the value of the MarkupTrans table records with the CustVend markup type that are attached to a record in the PurchParmSubTable, VendInvoiceSubTable, PurchParmTable, or VendInvoiceInfoTable table.
protected AmountCur calcCustVendMarkupOnTable(
Markup _markup,
PurchTable _purchTable,
PurchQty _purchQty,
AmountCur _lineAmount,
Common _source)
Run On
ServerParameters
- _markup
- Type: Markup Class
A record in the MarkupTrans table.
- _purchTable
- Type: PurchTable Table
The PurchTable record that is associated with the _source parameter.
- _purchQty
- Type: PurchQty Extended Data Type
The invoice line quantity.
- _lineAmount
- Type: AmountCur Extended Data Type
The invoice line amount.
- _source
- Type: Common Table
The source of the MarkupTrans record.
Return Value
Type: AmountCur Extended Data TypeThe sum of the CustVend markup type miscellaneous charges for the specified header.
Community Additions
ADD
Show: