InventOnHandQty.checkReservation Method [AX 2012]
Checks whether it is possible to reserve given quantity.
Syntax
public boolean checkReservation(
InventQty _inventQty,
NoYes _negativePhysical,
NoYes _reserveOnOrdered,
[InventQty _addOnhandQty,
PdsCWInventQty _cwQty,
PdsCWInventQty _cwAddonHandQty])
Run On
Called
Parameters
- _inventQty
Type: InventQty Extended Data Type
Requested quantity.
- _negativePhysical
Type: NoYes Enumeration
NoYes::Yes if negative physical inventory is allowed; otherwise NoYes::No.
- _reserveOnOrdered
Type: NoYes Enumeration
NoYes::Yes if reserving on ordered is allowed; otherwise NoYes::No.
- _addOnhandQty
Type: InventQty Extended Data Type
Additional on hand quantity.
- _cwQty
Type: PdsCWInventQty Extended Data Type
Requested catch weight quantity.
- _cwAddonHandQty
Type: PdsCWInventQty Extended Data Type
Additional on hand catch weight quantity.
Return Value
Type: boolean
true if it is possible to reserve.