PurchTableCheckQuantity.calculateQuantity Method [AX 2012]
Calculates a specified quantity for a purchase order line.
Syntax
protected PurchQty calculateQuantity(
PurchQuantity _purchQuantity,
PurchLine _purchLine,
PurchUpdate _specQty)
Run On
Called
Parameters
- _purchQuantity
Type: PurchQuantity Class
The PurchQuantity object that is used to calculate the quantity.
- _purchLine
Type: PurchLine Table
The PurchLine buffer for which the quantity is calculated.
- _specQty
Type: PurchUpdate Enumeration
The quantity to be calculated.
Return Value
Type: PurchQty Extended Data Type
A calculated quantity.