--- alias: stepsplittrackoutcontext-st description: "This documentation details a context object for managing split and track-out operations within a system" --- # StepSplitTrackOutContext ## Description Used to resolve some information for the split and track-out operation. ## Fields The **StepSplitTrackOutContext** table has the following fields: | Field | Description | Key | Mandatory | Comments | | --- | ----- | -- | -- | ---- | | **Step** | Reference to a Step | Yes | Yes | | | **Product** | Reference to a Product | Yes | No | | | **ProductGroup** | Reference to a ProductGroup | Yes | No | | | **Flow** | Flow Name | Yes | No | Applies to the immediate parent **Flow** of the **Step** where the **Material** is currently, and not to the Top-Level **Flow**| | **Resource** | Reference to a Resource | Yes | No | | | **ResourceType** | Resource Type | Yes | No | | | **Model** | Resource Model | Yes | No | | | **DefaultQuantity** | The default quantity to track-out | No | No | | | **EnableQuantityOverride** | Whether the default quantity can be overridden | No | Yes | If set as `false`, you can still override the quantity unless the feature`Material.TrackOutQuantityManual` is disable for your user's role. | | **TrackOutMaterialMode** | Whether the Material to be Tracked-Out is the Parent Material or the Child | No | Yes | Possible options:
- `Child` - the Child is tracked-out and a split is required for the last **Material**. The Parent **Material** is terminated.
- `ChildExceptLast` - The Child **Material** is tracked-out except for the last **Material**, where no split is required and the Parent **Material** will be tracked-out instead. | | **MaterialLossesMode** | Whether losses are incurred on the Material that is tracked-out or the one that stays | No | Yes | The Track-Out Losses Mode property of the **Step** must be different to None. Possible options:
- `InProcessMaterialExceptLast`
- `TrackedOutMaterial` | Table: StepSplitTrackOutContext fields ## Precedence Keys The search precedence rules are the following: 1. Step, Product, Flow 2. Step, Product, Resource 3. Step, Product, ResourceType 4. Step, Product, Model 5. Step, Product 6. Step, ProductGroup, Flow 7. Step, ProductGroup, Resource 8. Step, ProductGroup, ResourceType 9. Step, ProductGroup, Model 10. Step, ProductGroup 11. Step, Resource 12. Step, ResourceType 13. Step, Model 14. Step, Flow 15. Step