--- alias: user-guide-service-index description: "Services link materials and resources within a manufacturing process for execution" --- # Service :lock: Service.**Show** In the Critical Manufacturing MES model, a **Material** in a **Step** and context requires a **Service**. The context can be made of optional **Material**, **Flow** and **Product** combinations. Services are, on the one hand, required by **Material**, and on the other, provided by **Resources**. Once a **Material** and **Resource** are both dispatchable and there is a match between the **Service** required and the **Service** provided, the **Material** can be dispatched to the **Resource**. A **Resource** provides a **Service** that is requested via a **Step**, and a **Resource** may execute a variety of services. For example, an oven, which is a **Resource**, can bake, cook or grill, and at different temperatures, and these are different types of services. A **Service** can also be an activity like painting, provided by a painting machine, which is a **Resource**. Additionally, if the machine has the ability to paint using different colors, these may be considered as different services, which may be used at different steps. Additionally, when creating a **Service** the Processing Type field always refers to a **Resource**, so it is not possible to use a **Service** if you do not have a **Resource** that provides it. !!! info Resource and Steps are associated through Services. A **Service** can be enabled or disabled globally or at a particular **Resource**. When the **Service** is disabled, it cannot be used for dispatching purposes. A **Service** has a **Service Context** view that provides you with the service resolution to be applied for a given **Material** at a **Step**. ## Tying Everything Together ```mermaid graph LR A1[Material] ---|Required Service| Main[Service] C1[Service Context] --- Main Main === L1[Compatible Service] Main --- N1[Resource Service] --- A2[Resource] Main --- N2[Setup Matrix Transition] --- A3[Setup Matrix] 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,A13,A14 mermaid_businessdata class L1,L2,L3,L4,L5,L6,L7 mermaid_entitylinked class C1,C2,C3,C4,C5,C6 mermaid_context class N1,N2,N3,N4,N5,N6 mermaid_nonbusinessdata click Main "../../business-data/service" click A1 "../../business-data/material" click A2 "../../business-data/resource" click A3 "../../business-data/setup-matrix" click C1 "../../administration/tables/smart-tables/servicecontext" ``` ## Sequence Of Steps The necessary steps for correctly using a **Service** are the following: 1. Create the Service. {{ generate_index() }}