InventReleaseOrderPickingForm_Sales.needAllocation Method [AX 2012]
Determines whether manual allocation is required for orders.
Syntax
protected boolean needAllocation(
ItemId _itemId,
InventDim _inventDim,
[Common _salesLine])
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The item that is being ordered.
- _inventDim
Type: InventDim Table
The set of inventory dimensions that are required for the order.
- _salesLine
Type: Common Table
Return Value
Type: boolean
true if manual allocation is required; otherwise, false.
Remarks
If the salesLine table requires manual allocation, there is not enough inventory to cover all the orders that include the specified item and set of dimensions.