--- alias: stepinspectionplancontext-st description: "This table defines relationships between steps, inspection plans, and associated production data" --- # StepInspectionPlanContext ## Description The association between the Step and the Inspection Plan is established via context ## Fields The **StepInspectionPlanContext** table has the following fields: | Field | Description | Key | Mandatory | Comments | | --- | ----- | -- | -- | ---- | | **Step** | Step Name | Yes | Yes | | | **LogicalFlowPath** | The Logical Flow Path | Yes | No | | | **InspectionSeverity** | The Inspection Severity | 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 | | | **ProductionOrder** | Production Order | Yes | No | | | **Resource** | Resource Name | Yes | No | | | **ResourceType** | Resource ResourceType | Yes | No | | | **Model** | Resource Model | Yes | No | | | **InspectionPlan** | Inspection Plan Name | No | Yes | | | **InspectionPlanConfiguration** | Inspection Plan Configuration | No | Yes | | Table: StepInspectionPlanContext fields !!! info Each **Step** is associated with a set of *Inspection Plan Contexts*. The *Step Inspection Plan Context* is used for resolving **Inspection Plans** for a given **Material** at a specific **Step**. ## Precedence Keys The search precedence rules are the following: 1. Step, Material, LogicalFlowPath 2. Step, Material 3. Step, ProductionOrder, LogicalFlowPath 4. Step, ProductionOrder 5. Step, InspectionSeverity, Product, LogicalFlowPath, MaterialType 6. Step, InspectionSeverity, Product, Flow, MaterialType 7. Step, InspectionSeverity, ProductGroup, Flow, MaterialType 8. Step, InspectionSeverity, Product, LogicalFlowPath 9. Step, InspectionSeverity, Product, Flow 10. Step, InspectionSeverity, Product, MaterialType 11. Step, InspectionSeverity, Product 12. Step, InspectionSeverity, ProductGroup, LogicalFlowPath 13. Step, InspectionSeverity, ProductGroup, Flow 14. Step, InspectionSeverity, ProductGroup, MaterialType 15. Step, InspectionSeverity, ProductGroup 16. Step, InspectionSeverity, MaterialType, LogicalFlowPath 17. Step, InspectionSeverity, MaterialType, Flow 18. Step, InspectionSeverity, MaterialType, Resource 19. Step, InspectionSeverity, MaterialType, ResourceType 20. Step, InspectionSeverity, MaterialType, Model 21. Step, InspectionSeverity, MaterialType 22. Step, InspectionSeverity, Resource 23. Step, InspectionSeverity, ResourceType 24. Step, InspectionSeverity, Model 25. Step, Product, LogicalFlowPath, MaterialType 26. Step, Product, Flow, MaterialType 27. Step, ProductGroup, Flow, MaterialType 28. Step, Product, LogicalFlowPath 29. Step, Product, Flow 30. Step, Product, MaterialType 31. Step, Product 32. Step, ProductGroup, LogicalFlowPath 33. Step, ProductGroup, Flow 34. Step, ProductGroup, MaterialType 35. Step, ProductGroup, Resource 36. Step, ProductGroup, ResourceType 37. Step, ProductGroup, Model 38. Step, ProductGroup 39. Step, MaterialType, LogicalFlowPath 40. Step, MaterialType, Flow 41. Step, MaterialType, Resource 42. Step, MaterialType, ResourceType 43. Step, MaterialType, Model 44. Step, MaterialType 45. Step, Resource 46. Step, ResourceType 47. Step, Model 48. Step