Share via


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.

Return Value

Type: PurchQty Extended Data Type
A calculated quantity.

See Also

Reference

PurchTableCheckQuantity Class