Share via


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

  • _inventDim
    Type: InventDim Table
    The set of inventory dimensions that are required for the order.

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.

See Also

Reference

InventReleaseOrderPickingForm_Sales Class