--- alias: user-guide-manage-material-dependencies description: "Manage material relationships between components, steps, and flows within a production workflow" --- # Manage Material Dependencies :lock: Material.**ManageDependencies** ## Overview This operation allows you to manage the **Material Dependencies** entities for a certain **Material**. The **Material Dependency** is an entity that translates the relation between a certain **Material** and its predecessors (components), in the sense that the successor cannot begin processing at a certain **Step** without the required predecessors (components) being themselves present at a certain point in their **Flows** (typically at the last **Step**; in other words, the components should have been completely processed at the moment of their attachment to the main **Material**). The system implements this restriction in two ways: 1. If the system is working with a **Schedule**, a restriction that the successor **Step** (To Step) of the successor **Material** (To Material), can only be planned for a time after all the predecessors **Steps** (From Step) of all the predecessor **Materials** (From Material) have been planned. 2. During Track-in of the successor **Material** (To Material) at the chosen **Step** (To Step), the system checks if there any **Material Dependencies** referencing the pair (To Material, To Step); if so, an error is thrown. Therefore, to remove this obstacle, all the predecessor **Materials** (From Material) must have previously been Tracked-Out of the predecessor **Step** (From Step), which automatically closes any **Material Dependencies** containing that pair (From Material, From Step). This validation is exemplified in the following picture. ![Material Dependencies Validation](../../images/materialDependencies.png) !!! info When Scheduling in the Planning Mode, if there are Production Orders with the properties Include In Planning and Include In BOM Explosion activated and there are BOM of Scope Material involved in the Flow of the Product, the system will, for Planning purposes, work like if there were a Material Dependency between a Virtual Material and its components, applying the restriction described previously in 1. !!! info When Starting a Production Order with the property Include In BOM Explosion activated, the system will, besides creating all Materials referring to its Product and to components defined in BOMs of Scope Material involved in the Flow of the Product, also create the adequate Material Dependencies between them. ## Preconditions * The From Material and the To Material exist in the system and are Active. * The From Step and the To Step exist in the system, are Active, and are not Pass-Through Steps. * The combination of From Material, From Step, To Material, and To Step must be unique. ## Sequence of Steps The Manage Dependencies Section is accessible from the **Material** details page. 1. Select the **Manage Material Dependencies** button. 2. To manage the successor dependencies, that is, dependencies From the current **Material** go to the **FROM** tab. To manage predecessor dependencies, that is, To the current **Material**, go to the **TO** tab. 3. Add or remove as many dependencies providing for each dependency: * The From Material (filled in automatically in the **From** tab). * The From Step. * The From Flow Path. * The To Material (filled in automatically in the **TO** tab). * The To Step. * The To Flow Path. * Optionally, define a From Quantity. * Optionally, define a From Units applicable to the From Quantity. * Optionally, define a To Quantity. * Optionally, define a To Units applicable to the To Quantity. * Optionally, define a System State - Open or Closed. * Optionally, enter a Comment. 4. Select **Update** to finish the operation. ![Manage Material Dependencies](images/Manage_Material_Dependencies_Step1.png) !!! info Either all the following properties are filled or none are: * From Quantity * From Units * To Quantity * To Units