From | To | When | Use |
---|---|---|---|
CONFIRMED | WAREHOUSE | Shipping order exported | Call setStatusWarehouse() - note this is the only way to set the items to status WAREHOUSE |
WAREHOUSE | SHIPPED | One or more items have been SHIPPED | Call ShippingOrderItem.setStatus(String) using ShippingOrderItem.STATUS_SHIPPED |
WAREHOUSE | CANCELLED | All items have been CANCELLED | Call ShippingOrderItem.setStatus(String) using ShippingOrderItem.STATUS_CANCELLED |
null
or the invoice-number.null
if this shipping order is not yet shipped.null
.shippingOrderNumber
.shippingOrderNumber
.null
or the invoice-number.shippingOrderNumber
.
The quantity of the new item can be optionally specified. A quantity of
null
indicates the new item should be based on the entire order item and
is recommended for ShippingLineItems. If a quantity is
specified for a ProductLineItem which is less than
ProductLineItem.getQuantity() the
ProductLineItem will be split, creating a new
ProductLineItem. The new
ShippingOrderItem will be associated with the new
ProductLineItem, which will receive the specified
quantity.
See also createShippingOrderItem(OrderItem, Quantity, Boolean).
shippingOrderNumber
.
The quantity of the new item can be optionally specified. A quantity of
null
indicates the new item should be based on the entire order item and
is recommended for ShippingLineItems.
If the specified quantity is less than ProductLineItem.getQuantity() the
ProductLineItem will be split or not depending on splitIfPartial
parameter.
When split
is true
, the method is equivalent to
createShippingOrderItem(OrderItem, Quantity).
null
or the invoice-number.null
or the previously created invoice number.
null
if this shipping order is not yet shipped.null
null
null
.null
null