SalesPurchLine.calcSalesPurchQty Method [AX 2012]

Returns the purchase or sales quantity for the current salesline or purchline based on the passed inventory quantity.

public UnitQty calcSalesPurchQty([InventQty _inventQty])

Run On

ClientOrServer

Parameters

_inventQty
Type: InventQty Extended Data Type
An inventory quantity to convert to sales quantity.

Return Value

Type: UnitQty Extended Data Type
Returns the purchase or sales unit quantity.
Show: