PdsCatchWeight::maxCWQty Method [AX 2012]

Calculates the maximum catch weight quantity for an inventory quantity.

client server public static PdsCWInventQty maxCWQty(ItemId _itemId, InventQty _qty)

Run On

Called

Parameters

_itemId
Type: ItemId Extended Data Type
The item for which to perform the calculation.
_qty
Type: InventQty Extended Data Type
The inventory quantity for which to calculate the catch weight quantity.

Return Value

Type: PdsCWInventQty Extended Data Type
The maximum catch weight quantity for the inventory quantity.
Show: