--- alias: user-guide-post-data-to-data-collection tags: - data collection description: "Submit data to a data collection instance for analysis and reporting purposes" --- # Post Data to Data Collection Instance :lock: DataCollectionInstance.**Post** :lock: DataCollectionInstance.**PostDataForInspection** ## Overview This operation is used to post data to an existing long-running **Data Collection Instance**. Data can be posted multiple times until the **Data Collection Instance** is Closed. !!! info A Data Point (the smallest unit which can be posted) represents a complete Sample. ## Setup No special setup is required other than to meet the preconditions of the transaction. ## Preconditions * The **Data Collection Instance** is Open. ## Sequence of Steps 1. From a **Material** associated to the **Data Collection** or directly on the **Data Collection** instance, select **Post** on the top ribbon. 2. Provide the data as described by the **Data Collection** definition. It is important to understand that: * If samples have default values, the **Post Data Collection Instance** wizard displays mandatory readings of mandatory samples of mandatory **Parameters** pre-filled with the default values. * The cells with the red asterisk refer to mandatory values. * If the Data Collection Parameter has **Hide Limits** enabled, only users in the configured **Override Hidden Limits Role** can see the limits. Limit validation remains active even when limits stay hidden. * If your role matches the role configured in **Override Hidden Limits Role**, you can see the sample limits in the top-right corner of the **Post Data Collection Instance** wizard. * The **Post Data Collection Instance** wizard displays sample limits in colored cells according to its values. * If the parameter defines multiple sample limits, the **Post Data Collection Instance** displays them according to the Sample ID. * Depending on the type of user interface you have selected, entering the data can be done in separate text areas corresponding to different fields or they can be entered in grid form. For more information, see [[create-data-collection#user-interfaces-classic-vs-modern|User Interfaces: Classic vs Modern]]. 3. Select **Post** to complete the operation. !!! info The **Data Collection** parameters may have validation ranges that have to be followed in order for the values to be accepted. === "Modern" ![modern](../images/post_data_to_data_collection_modern.png)| === "Classic" ![classic](../images/post_data_to_data_collection.png) A **Data Collection** may be configured to send data to SPC, in which case one or more SPC Charts will appear. The context exchanged with SPC may include the parameters in the table below. | Parameter | Description | |-----------------------|----------------------------------------------------------------------------------------------------------------------------| | **Facility** | **Facility** associated with the selected **Material** | | **Material** | The selected **Material** | | **MaterialType** | Type of **Material** | | **Step** | Current Step associated with the selected **Material** | | **Resource** | Resource associated with the **Material** | | **Product** | Product related to the selected **Material** | | **ProductType** | Type of Product related to the **Material** | | **ProductGroup** | ProductGroup of the Product of the selected **Material** | | **Flow** | Flow of the selected the **Material** | | **FlowPath** | Flow path of the selected the **Material** | | **LogicalFlowPath** | Logical flow path associated with the **Material** | | **ProcessStep** | Process Step of the **Material** (determined by the Track In of the last **Step** with a Processing Type of `Process`) | | **ProcessResource** | Process Resource for the **Material** (determined by the Track In of the last **Step** with a Processing Type of `Process`)| | **SampleId** | Id of the **Material** | Table - Possible SPC parameters !!! note When the **Data Collection** is configured to be used in the context of an **Inspection Plan**, the DataCollectionInstance.**PostDataForInspection** security feature is used.