How I can update ShipmentState in Shipment/ShipmentRow in litium8?

In Litium 7, to move a Delivery on an Order from “Processing” to “Delivered”, we use SetDeliveryStatus:

This seems to work differently in Litium 8. How do you do this in Litium 8?

You can set the state of the shipment with the StateTransitionService.

_stateTransitionsService.SetState<Shipment>(shipment.SystemId, Sales.ShipmentState.Processing);

The Test project included in the Accelerator (starting with 8.3) contains some examples of how to create and update orders, payments and shipments.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.