AxdPurchReqImport.calculateLineAmounts Method [AX 2012]
Calculates the line amounts including lineAmount, totalCharges, and totalDiscount.
Syntax
private void calculateLineAmounts(
PurchOrderedQty _purchQty,
PurchPrice _purchPrice,
PurchLinePercent _linePercent,
PurchLineDisc _lineDisc,
PurchMarkup _charges)
Run On
Server
Parameters
- _purchQty
Type: PurchOrderedQty Extended Data Type
The quantity value on the line.
- _purchPrice
Type: PurchPrice Extended Data Type
The price value on the line.
- _linePercent
Type: PurchLinePercent Extended Data Type
The discount percent value on the line
- _lineDisc
Type: PurchLineDisc Extended Data Type
The discount amount on the line
- _charges
Type: PurchMarkup Extended Data Type
The charges on the line