Skip to main content

SalesOrderLineAllocationPlan

Where Confirm would take one sales order line's stock from, if the order were confirmed now. Nothing is reserved.

type SalesOrderLineAllocationPlan {
key: String!
lineWarehouse: AllocationWarehouseRef
lineWarehouseId: ID
source: AllocationSource!
steps: [AllocationPlanStep!]!
switchedQuantity: Float!
}

Fields​

SalesOrderLineAllocationPlan.key ● String! non-null scalar​

The key the caller sent for the line.

SalesOrderLineAllocationPlan.lineWarehouse ● AllocationWarehouseRef object​

The warehouse the line names, if any.

SalesOrderLineAllocationPlan.lineWarehouseId ● ID scalar​

The ID of the warehouse the line names, if any.

SalesOrderLineAllocationPlan.source ● AllocationSource! non-null enum​

MANUAL when saved manual splits decide the line; AUTO when the allocation engine does.

SalesOrderLineAllocationPlan.steps ● [AllocationPlanStep!]! non-null object​

The rows Confirm would write, in order.

SalesOrderLineAllocationPlan.switchedQuantity ● Float! non-null scalar​

How much Confirm would reserve from warehouses other than the one the line names, in the order line's unit. 0 when the line names no warehouse or its warehouse covers the line.

Returned By​

salesOrderAllocationPlan query