SalesLineType.pdsCWIsValidQty Method [AX 2012]

Validates whether the specified combination of quantities for the item is valid.

protected boolean pdsCWIsValidQty(
    ItemId _itemId, 
    InventQty _qty, 
    PdsCWInventQty _cwQty)

Run On



Type: ItemId Extended Data Type
The ID of the item to use in the validation.
Type: InventQty Extended Data Type
The inventory quantity to validate.
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.

This method is a wrapper for the pdsCWIsValidQty method of the PdsCatchWeightItem table.