--- alias: stepsamplingpatterncontext-st description: "This documentation defines a context table linking steps, materials, and sampling patterns" --- # StepSamplingPatternContext ## Description The association between the Step and the SamplingPattern us established via context ## Fields The **StepSamplingPatternContext** table has the following fields: | Field | Description | Key | Mandatory | Comments | | --- | ----- | -- | -- | ---- | | **Step** | Step Name | Yes | Yes | | | **LogicalFlowPath** | The Logical Flow Path | Yes | No | | | **Product** | Product Name | Yes | No | | | **ProductGroup** | Product Group Name | 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**| | **Material** | Material Name | Yes | No | | | **MaterialType** | Material Type | Yes | No | | | **Resource** | Resource Name | Yes | No | | | **ResourceType** | Resource ResourceType | Yes | No |not to be confused with the *Type* property of the **Resource** | | **Model** | Resource Model | Yes | No | | | **SamplingPattern** | Sampling Pattern Name | No | Yes | | Table: StepSamplingPatternContext fields ## Precedence Keys The search precedence rules are the following: 1. Step, Material, LogicalFlowPath 2. Step, Material 3. Step, Product, LogicalFlowPath, MaterialType 4. Step, Product, Flow, MaterialType 5. Step, ProductGroup, LogicalFlowPath, MaterialType 6. Step, ProductGroup, Flow, MaterialType 7. Step, Product, LogicalFlowPath 8. Step, Product, Flow 9. Step, Product, MaterialType 10. Step, Product, Resource 11. Step, Product, ResourceType 12. Step, Product, Model 13. Step, Product 14. Step, ProductGroup, LogicalFlowPath 15. Step, ProductGroup, Flow 16. Step, ProductGroup, MaterialType 17. Step, ProductGroup, Resource 18. Step, ProductGroup, ResourceType 19. Step, ProductGroup, Model 20. Step, ProductGroup 21. Step, MaterialType, LogicalFlowPath 22. Step, MaterialType, Flow 23. Step, MaterialType, Resource 24. Step, MaterialType, ResourceType 25. Step, MaterialType, Model 26. Step, MaterialType 27. Step, Resource 28. Step, ResourceType 29. Step, Model 30. Step