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

Called

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.

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

Show: