PdsCatchWeight::validateInventQty Method [AX 2012]

Validates whether the inventory quantity falls with the acceptable range for the item's catch weight quantity.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          client server public static boolean validateInventQty(
            ItemId _itemId, 
            InventQty _qty, 
            PdsCWInventQty _cwQty, 
           [boolean _verbose])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static boolean validateInventQty(
            ItemId _itemId, 
            InventQty _qty, 
            PdsCWInventQty _cwQty, 
           [boolean _verbose])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static boolean validateInventQty(
            ItemId _item, 
            InventQty _qty, 
            PdsCWInventQty _cwQty)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static boolean validateInventQty(
            ItemId _item, 
            InventQty _qty, 
            PdsCWInventQty _cwQty)

Run On

Called

Parameters

_itemId
Type: ItemId Extended Data Type
The ID of the item used in validation.
_qty
Type: InventQty Extended Data Type
The specified inventory quantity to validate.
_cwQty
Type: PdsCWInventQty Extended Data Type
The specified catch weight quantity used in validation.
_verbose
Type: boolean

Return Value

Type: boolean
true if the quantity falls in the acceptable range; otherwise, false.
Show: