--- alias: tutorials-weigh-and-dispense-multi-step tags: - "11.3" description: "Weigh and dispense partial quantities of ingredients across two Steps and consume them into the target material" --- # Weigh and Dispense Across Multiple Steps In this scenario, you will learn how to: - Apply a single **BOM** across multiple **Steps**. - Dispense an ingredient in partial quantities. - Consume the dispensed ingredients into the target **Material**. !!! info Complete [[tutorials-weigh-and-dispense-scenario-configure]] first. This scenario uses `BOM W&D Compound G` with the Consume mode in the `Chemicals Preparation` and `Chemicals Preparation and Mixing` Steps. For more information, see: - [[user-guide-weigh-and-dispense-material]] - [[tutorials-howto-settargetquantityformaterial]] ## Sequence of Steps ### 1. Set the Configuration Entries 1. In the left side menu, select **Administration**. 2. From the Administration panel, select **Configuration**. 3. Set the entries in the following table. They are under `/Cmf/System/Configuration/WeighAndDispense/`. | Entry | Value | | --- | --- | | `PrecisionQuantum` | `2` | | `ForceVerification` | `false` | | `DefaultPartialDispenseButton` | `DispenseAndReset` | | `AccuracyQuantum` | `1` | | `HideContainerFields` | `false` | Table: Configuration entries of the scenario The [master data file](master_data/weight-dispense-masterdata.xlsx) provides the remaining configuration. !!! warning Set the Primary Quantity of `Green Compound#01` to zero, and define the Target Material Quantity, before you start. In this scenario, the target quantity is `25 Kg`. Each Weigh and Dispense operation adds the dispensed quantity to the Primary Quantity. ### 2. Track-In the Material 1. Open the `Chemicals Preparation` **Step**. 2. In **Materials**, select `Green Compound#01`. 3. Track-In the **Material**. 4. Select **Weigh & Dispense** on the top ribbon. ![Step page that lists Green Compound#01 and shows the Weigh and Dispense button on the top ribbon.](images/multi_step_select_material.png) 5. Review the safety information that the **Product** defines, and select **Proceed to W&D**. ### 3. Dispense the First Ingredient in Partial Quantities 1. Select the scale that matches the Instrument Type of the **BOM** item and that the Measurement Capabilities allow for the quantity to weigh. 2. In **Source**, select the source **Material**. For example, `Powdered chemical Green#04`. 3. Optionally, select the source **Container**. 4. Optionally, select the target **Container**. 5. Optionally, select **Show all steps** to see the **BOM** items of the current and the later **Steps**. If you assigned documents to the **Product**, they also appear in the wizard. ![Weigh and Dispense page with the Show all steps option, the source, the target, and the scale.](images/multi_step_execution_wizard.png) 6. Select **Set Tare & Begin** to acknowledge the tare and start weighing. 7. Weigh a partial quantity of the ingredient, or insert the weight. For example, select **Insert Weight**, enter `1.5`, and select **OK**. The **Required Quantity** is `2.2727 Kg (2.2273 - 2.2955)`. ![Insert Weight Manually dialog with the value 1.5 Kg.](images/multi_step_partial_weight.png) Because the weight is lower than the required quantity, the **Dispense & Reset** and **Dispense & Continue** options are available. ![Weigh and Dispense page with a weight of 1.5 Kg, below the required quantity, and the partial dispense options.](images/multi_step_partial_dispense.png) | Option | Behavior | | --- | --- | | **Dispense & Reset** | Resets the dispensed quantity to zero and adjusts the target quantity accordingly. This is the default, because `DefaultPartialDispenseButton` is `DispenseAndReset`. | | **Dispense & Continue** | Keeps the dispensed quantity, and the target quantity stays the same. | 8. Select **Dispense & Reset**. 9. Select **Set Tare & Begin** again to start weighing the remaining quantity. 10. Weigh the remaining quantity of the ingredient, or insert it, and select **Dispense**. ### 4. Dispense the Second Ingredient 1. Select the next ingredient, `Phthalates`. 2. Select the scale and the source **Material**. For example, `Phthalates#04`. 3. Select **Set Tare & Begin** to acknowledge the tare and start weighing. 4. Weigh the ingredient, or insert the weight `13.64`. The **Required Quantity** is `13.6364 Kg (12.7273 - 14.3182)`. 5. Select **Dispense**. ![Weigh and Dispense page with 13.64 Kg of Phthalates within the tolerance limits.](images/multi_step_second_ingredient.png) ### 5. Complete the First Step 1. Select **Complete W&D**. 2. Open `Green Compound#01` and verify the **Primary Quantity**. It increases by the dispensed quantities of the ingredients, to `15.9127 Kg`. ![Details of Green Compound#01 with a Primary Quantity of 15.9127 Kg and a Target Quantity of 25 Kg.](images/multi_step_first_step_result.png) The **Material** has no **Sub-Materials**, because the **BOM Context** defines the Consume mode. ### 6. Dispense the Remaining Ingredient in the Next Step 1. Track-Out `Green Compound#01` and move it to the next assembly **Step**, `Chemicals Preparation and Mixing`. 2. Track-In the **Material**, and select **Weigh & Dispense**. 3. Select the `Secret Chemical Recipe` ingredient, the scale, and the source **Material**. 4. Select **Set Tare & Begin** to acknowledge the tare and start weighing. 5. Weigh the ingredient, or insert the weight `9.09`. The **Required Quantity** is `9.0909 Kg (9.0455 - 9.1136)`. 6. Select **Dispense**. 7. Select **Complete W&D**. ![Weigh and Dispense page of the second Step with 9.09 Kg of Secret Chemical Recipe and the Complete W&D option.](images/multi_step_second_step_execution.png) ### 7. Verify the Result 1. Open `Green Compound#01` and verify the **Primary Quantity**. It is now `25.0027 Kg`. ![Details of Green Compound#01 with a Primary Quantity of 25.0027 Kg and a Target Quantity of 25 Kg.](images/multi_step_final_result.png) 2. Check the information on the following pages: - [[user-guide-material-history-index|Material History]] - Traceability view - [[user-guide-material-genealogy|Genealogy]] !!! note After all the partial Weigh and Dispense operations are complete, remove the Target Material Quantity and the Target Material Units of the Material. Otherwise, the system restricts several operations for the Material. ## Expected Result After the operations in all the **Steps**, the Primary Quantity of `Green Compound#01` matches the target quantity or is within the tolerances that the **BOM** defines. In this scenario, `25.0027 Kg` is within the tolerances for a target quantity of `25 Kg`. ## Next Scenario Continue with [[tutorials-weigh-and-dispense-scale-integration]].