InventOnHandQty.checkDepreciateOrdered Method [AX 2012]
Checks if the specified quantites can be subtracted from ordered quantities without violating reservations.
Syntax
public boolean checkDepreciateOrdered(
InventQty _inventQty,
InventNegativePhysical _negativePhysical,
[InventQty _estimated,
PdsCWInventQty _cwQty,
PdsCWInventQty _cwEstimated])
Run On
Called
Parameters
- _inventQty
Type: InventQty Extended Data Type
The quantity known to be present after update.
- _negativePhysical
Type: InventNegativePhysical Extended Data Type
NoYes::Yes if negative physical inventory is allowed; otherwise NoYes::No
- _estimated
Type: InventQty Extended Data Type
The quantity expected to be present after update
- _cwQty
Type: PdsCWInventQty Extended Data Type
The catch weight quantity known to be present after update.
- _cwEstimated
Type: PdsCWInventQty Extended Data Type
The catch weight quantity expected to be present after update
Return Value
Type: boolean
true if validation succeeded; otherwise false.