Markup::mcrCalcFixedMiscCharge Method [AX 2012]
Calculates all of the miscellaneous charges of type fixed.
Syntax
server private static MarkupAmount mcrCalcFixedMiscCharge(
MarkupTrans _markupTrans,
AmountCur _absoluteValue,
Qty _qty,
[boolean _postingInvoice,
ParmId _parmId])
Run On
Server
Parameters
- _markupTrans
Type: MarkupTrans Table
The fixed miscellaneous charge record for which the amount is calculated.
- _absoluteValue
Type: AmountCur Extended Data Type
The numerator of the pro-rated equation.
- _qty
Type: Qty Extended Data Type
The inventory quantity for which the markup amount will be calculated.
- _postingInvoice
Type: boolean
The posting invoice related to the reference record.
- _parmId
Type: ParmId Extended Data Type
The parameter ID for which the markup amount will be calculated.
Return Value
Type: MarkupAmount Extended Data Type
The sum of all fixed miscellaneous charges for the record.