--- alias: materialdatacollectioncontext-st description: "This documentation details a context for resolving data collection within a material process" --- # MaterialDataCollectionContext ## Description Used to resolve the DataCollection for the specific Material context ## Fields The **MaterialDataCollectionContext** table has the following fields: | Field | Description | Key | Mandatory | Comments | | --- | ----- | -- | -- | ---- | | **Step** | Step Reference | Yes | Yes | | | **LogicalFlowPath** | The Logical Flow Path | Yes | No | | | **Product** | Product Reference | Yes | No | | | **ProductGroup** | Product Group Reference | 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 Reference | Yes | No | | | **MaterialType** | Material Type | Yes | No | | | **ProductionOrder** | Production Order | Yes | No | | | **Resource** | Resource Reference | Yes | No | | | **ResourceType** | Resource Type | Yes | No | | | **Model** | Resource Model | Yes | No | | | **Recipe** | Recipe Reference | Yes | No | | | **Operation** | Operation Name | Yes | Yes | | | **DataCollection** | DataCollection Reference | No | Yes | | | **DataCollectionLimitSet** | DataCollectionLimitSet Reference | No | No | | | **DataCollectionType** | Data Collection Type | No | Yes | | Table: MaterialDataCollectionContext fields ## Precedence Keys The search precedence rules are the following: 1. Step, Material, LogicalFlowPath, Operation 2. Step, Material, Operation 3. Step, LogicalFlowPath, ProductionOrder, Operation 4. Step, ProductionOrder, Operation 5. Step, Recipe, Operation 6. Step, Product, LogicalFlowPath, MaterialType, Operation 7. Step, Product, Flow, MaterialType, Operation 8. Step, ProductGroup, LogicalFlowPath, MaterialType, Operation 9. Step, ProductGroup, Flow, MaterialType, Operation 10. Step, Product, LogicalFlowPath, Operation 11. Step, Product, Flow, Operation 12. Step, Product, MaterialType, Operation 13. Step, Product, Resource, Operation 14. Step, Product, ResourceType, Operation 15. Step, Product, Model, Operation 16. Step, Product, Operation 17. Step, ProductGroup, LogicalFlowPath, Operation 18. Step, ProductGroup, Flow, Operation 19. Step, ProductGroup, MaterialType, Operation 20. Step, ProductGroup, Resource, Operation 21. Step, ProductGroup, ResourceType, Operation 22. Step, ProductGroup, Model, Operation 23. Step, ProductGroup, Operation 24. Step, MaterialType, LogicalFlowPath, Operation 25. Step, MaterialType, Flow, Operation 26. Step, MaterialType, Resource, Operation 27. Step, MaterialType, ResourceType, Operation 28. Step, MaterialType, Model, Operation 29. Step, MaterialType, Operation 30. Step, Resource, Operation 31. Step, ResourceType, Operation 32. Step, Model, Operation 33. Step, LogicalFlowPath, Operation 34. Step, Flow, Operation 35. Step, Operation !!! note Possible values for *Data Collection Type* are: * Immediate: data can only be collected at the specified processing point (either TrackIn or TrackOut) * LongRunning (only possible for TrackIn): data can be collected at TrackIn, at any time between TrackIn and TrackOut; and at TrackOut * LongRunningAfterTrackIn (only possible for TrackIn): data can be collected at any time between TrackIn and TrackOut; and at TrackOut; but not at TrackIn