PdsCatchWeight::inventQty Method [AX 2012]

Converts a catch weight quantity to an inventory quantity or to a quantity in the specified unit.

server public static InventQty inventQty(
    ItemId _itemId, 
    PdsCWInventQty _cwQty, 
   [InventUnitId _unitId, 
    PdsCWUnitId _cwUnitId])

Run On

Server

Parameters

_itemId
Type: ItemId Extended Data Type
An item for which to convert the catch weight quantity.
_cwQty
Type: PdsCWInventQty Extended Data Type
A catch weight quantity to be converted.
_unitId
Type: InventUnitId Extended Data Type
A inventory unit to convert.
_cwUnitId
Type: PdsCWUnitId Extended Data Type
The catch weight unit to convert from; optional.

Return Value

Type: InventQty Extended Data Type
A converted quantity.
Show: