Extension points - sales orders
We want to enable custom workflows to be injected into the regular order processing flows. For this, it is not sufficient to have a single extension point as the lifecycle of a line item contains various state transitions that should be customizable.
The following diagram shows a simplified line item lifecycle with the extension points for custom workflows:
The above diagram shows the four possible extension points for custom workflows:
- Creation of line item(s) -
ConfigureLineItem
- Custom assembly for a line item -
AssembleProduct
- Canceling an unpaid line item -
CancelLineItem
- Refunding a paid line item -
RefundLineItem