Production

An Production represents the process of the creation of an item. For example, a "gift basket" item might need to be assembly by a staff member from other products rather than sit pre-packaged on a storage shelf.

Productions are created automatically by the system based on the configuration of the products and organization, they are not configurable via the sales order draft like fulfillments.

A production is always performed at a specific location and covers one or multiple items. Whether two items end up in the same production or not depends on the location as well as organization settings.

A production follows a simple state machine:

State diagram: Production

The meaning of the states is as follows:

StateMeaning
PENDINGNothing has been producted yet. This is the initial state.
PARTLY_COMPLETEDSome, but not all, of the items have been produced already.
COMPLETEDAll items have been produced. This is a final state.
CANCELEDThe production has been canceled. Items may or may not have been produced before the production was canceled. This is a final state.

Note that a production's status cannot be modified directly. Instead, the status updates automatically when the status of a production item changes (from PENDING to COMPLETED or back) or when the sales order that the production belongs to gets canceled.