Skip to main content

AllocationPlanLineInput

One sales order line to plan warehouse allocation for.

input AllocationPlanLineInput {
conversionFactor: Float
key: String!
productId: ID!
quantity: Float!
salesOrderItemId: ID
uomId: ID
variantId: ID
warehouseId: ID
}

Fields​

AllocationPlanLineInput.conversionFactor ● Float scalar​

The unit conversion factor the line carries. Checked against the product's units, never trusted.

AllocationPlanLineInput.key ● String! non-null scalar​

The caller's key for this line. The plan for the line comes back with the same key.

AllocationPlanLineInput.productId ● ID! non-null scalar​

The ID of the product.

AllocationPlanLineInput.quantity ● Float! non-null scalar​

The line quantity, in the order line's unit.

AllocationPlanLineInput.salesOrderItemId ● ID scalar​

The ID of the saved order line, if it is saved. Manual warehouse splits saved on it are used first, as Confirm does.

AllocationPlanLineInput.uomId ● ID scalar​

The ID of the order line's unit.

AllocationPlanLineInput.variantId ● ID scalar​

The ID of the variant.

AllocationPlanLineInput.warehouseId ● ID scalar​

The ID of the warehouse the line names.

Member Of​

SalesOrderAllocationPlanInput input