--- alias: user-guide-container-index description: "A container manages material placement within a defined space and unit system" --- # Container :lock: Container.**Show** ## Overview A **Container** is an object which holds **Material** at a given position within the **Container**. A **Container** has a capacity of positions available of a given **Material** unit. A **Container** can hold multiple **Materials**, but only one **Material** at each position. Each position is identified by an unique number and has a capacity defined in terms of some specified units. ![Container Schematic][containerSchematic] A **Container** can be associated to a **Resource** in case that the **Resource** has the position units types defined in a particular **Container** type. ## State Model The **Container** has a system defined state model as shown in the next picture ```mermaid graph TD Start -->|Create Container| A1 A1[Available] -->|Make Container Unavailable| A2[Unavailable] A2 -->|Make Container Available| A1 A1 -->|Ship Material| L1[In Transit] L1 --->|Unship Material
Receive Material| A1 classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden; classDef mermaid_entitylinked color:#000, fill:#FCD5B5, stroke:#FCD5B5, stroke-width:0px, font-size:100%; classDef mermaid_state color:#000, fill:#d7e4bd, stroke:#000, stroke-width:1px, font-size:100%, font-weight:300; classDef mermaid_initial_state fill:#d7e4bd,stroke:#92d050,stroke-width:3px,color:#000; classDef mermaid_final_state fill:#a7e2f2,stroke:#65CDE8,stroke-width:3px,color:#000; class Start mermaid_start class A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 mermaid_initial_state class L1,L2,L3,L4,L5,L6 mermaid_entitylinked ``` ## Tying Everything Together ```mermaid graph TD L1[Sub Container] === Main[Container] Main --- A3[Facility] Main --- N1[Material Container] N1 --- A1[Material] Main --- N2[Container Resource] N2 --- A2[Resource] classDef mermaid_title color:#000, fill:#fafafa, stroke:#fafafa, stroke-width:0x, font-size:100%, font-weight:200; classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden; classDef mermaid_businessdata color:#000, fill:#65CDE8, stroke:#65CDE8, stroke-width:0px, font-size:100%; classDef mermaid_nonbusinessdata color:#000, fill:#B7DEE8, stroke:#B7DEE8, stroke-width:0px, font-size:100%; classDef mermaid_entity color:#000, fill:#FB9F53, stroke:#FB9F53, stroke-width:0px, font-size:100%; classDef mermaid_entitylinked color:#000, fill:#FCD5B5, stroke:#FCD5B5, stroke-width:0px, font-size:100%; classDef mermaid_context color:#000, fill:#B9CDE5, stroke:#B9CDE5, stroke-width:0px, font-size:100%; classDef mermaid_optional color:#000, fill:#B7DEE8, stroke:#65CDE8, stroke-width:1px, font-size:100%, stroke-dasharray: 5 5; class Main mermaid_entity class A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 mermaid_businessdata class L1,L2,L3,L4,L5,L6,L7,L8,L9 mermaid_entitylinked class C1,C2,C3,C4,C5,C6 mermaid_context class N1,N2,N3,N4,N5,N6 mermaid_nonbusinessdata click Main "../../business-data/container" click A1 "../../business-data/material" click A2 "../../business-data/resource" click A3 "../../business-data/facility" click L1 "../../business-data/container" ``` ## Sequence Of Steps The necessary steps for correctly using a **Container** are the following: 1. Create a **Facility**. 2. Create the **Container**. !!! info May also be useful to look at the [Remote Shipping](../../../tutorials/modules/materials-and-containers/remoteshipping.md) tutorial. [containerSchematic]: ../../images/container_schematic.png {{ generate_index() }}