Overview
The Sales Order represents what has been sold to a particular consumer. It is meant to be immutable and to include the contact information and other metadata necessary to support creating the returns from portals.
Lifecycle
The lifecycle of the Sales Order entity begins and concludes with its creation. This entity serves as the foundation for the transaction, encapsulating all the items that will be sold. Once created, the Sales Order does not undergo any further changes or updates; it remains static as a record of the transaction at the moment of sale.
Following the creation of the Sales Order, individual Sales Items are generated. These items represent the specific products purchased within the order. Each Sales Item is then linked to the Sales Order, establishing a direct relationship that allows for detailed tracking and management of the sold items.