PdsCatchWeightItem::pdsCWIsValidQty Method
Validates whether the specified combination of quantities for the item is valid.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
server public static boolean pdsCWIsValidQty(
ItemId _itemId,
InventQty _qty,
PdsCWInventQty _cwQty)
Microsoft Dynamics AX 2012 R2 (SYS)
server public static boolean pdsCWIsValidQty(
ItemId _itemId,
InventQty _qty,
PdsCWInventQty _cwQty)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static boolean pdsCWIsValidQty(
ItemId _itemId,
InventQty _qty,
PdsCWInventQty _cwQty,
[boolean _isNegative])
Microsoft Dynamics AX 2012 (FPK)
server public static boolean pdsCWIsValidQty(
ItemId _itemId,
InventQty _qty,
PdsCWInventQty _cwQty,
[boolean _isNegative])
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The ID of the item to use in the validation.
- _qty
Type: InventQty Extended Data Type
The inventory quantity to validate.
- _cwQty
Type: PdsCWInventQty Extended Data Type
The catch-weight quantity to validate.
Return Value
Type: boolean
true if the quantities are valid for the specified item; otherwise, false.
Remarks
The _isNegative argument has become obsolete.