Share via


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

Return Value

Type: boolean
true if the quantities are valid for the specified item; otherwise, false.

Remarks

The _isNegative argument has become obsolete.

See Also

Reference

PdsCatchWeightItem Table