---
title: "Mapping to B2MML Structures"
id: "mapping-to-b2mml-structures"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/mapping-to-b2mml-structures"
updated: 2026-07-31T14:57:08Z
---

# Mapping to B2MML Structures

**Sepasoft MES Module Suite**
 ### Mapping to B2MML Structures

ISA-95 supported B2MML structures are available for mapping in several Business Connector blocks. There are several built-in B2MML and MES (non-B2MML) structures that users can select in the mapper, as well as a more complete set that can be created in the Start Block as Chart Parameters.

* [Mapping to B2MML Structures](/articles/user-manual/mapping-to-b2mml-structures/a/h2_1373228893)
* [B2MML Chart Parameters](/articles/user-manual/mapping-to-b2mml-structures/a/h2_1489386488)
* [Built-in B2MML Structures](/articles/user-manual/mapping-to-b2mml-structures/a/h2_1238862558)
* [B2MML](/articles/user-manual/mapping-to-b2mml-structures/a/h3__1605017496)
* [MES](/articles/user-manual/mapping-to-b2mml-structures/a/h3_1596707867)
* [OperationsSchedule](/articles/user-manual/mapping-to-b2mml-structures/a/h3__57961097)
* [Material](/articles/user-manual/mapping-to-b2mml-structures/a/h3__1227715037)
* [WorkOrder](/articles/user-manual/mapping-to-b2mml-structures/a/h3_601004007)

Save MES Object Block

| ![Information](/resources/Storage/user-manual/user-manual/Info.png) | Although all of the supported B2MML structures can be mapped in the mapper, the Save MES Object Block can only save the following five structures as MES Objects:<br><ul><li>B2MML-compliant:&#160;<em><strong>Material</strong></em>, <em><strong>OperationsSchedule</strong></em>, <em><strong>ProcessSegment</strong>, and</em>&#160;<em><strong>OperationsDefinition</strong></em>&#160;</li><li>MES (not B2MML-compliant):&#160;<em><strong>WorkOrder</strong></em></li></ul> |
| --- | --- |
 * * *
 #### B2MML Chart Parameters

Users can create B2MML structures as Chart Parameters in the Start Block that can be mapped to for use within Business Connector charts. The images to the right and the list below show the types of B2MML and MES structures available. The ones in ***bold*** below can be saved as **MES Objects** using the Save MES Object Block (the first four are B2MML-compliant and the fifth is an MES-specific structure):

* ***OperationsSchedule***
* ***OperationsDefinition***
* **ProcessSegment**
* ***Material***
* ***WorkOrder***
* Equipment
* Personnel
* OperationsPerformance
* OperationsCapability
* ProductDefinition
* ProductionSchedule
* ProductionPerformance
* ProductionCapability
* WorkDefinition
* WorkSchedule
* WorkPerformance
* WorkCapability
* WorkAlert
* PhysicalAsset

![](/resources/Storage/user-manual/mapping-to-b2mml-structures/Start%20Block%20-%20Edit%20Parameters%20-%20B2MML.PNG)

![](/resources/Storage/user-manual/mapping-to-b2mml-structures/Start%20Block%20-%20Edit%20Parameters%20-%20MES.PNG)
 * * *
 ### Built-in B2MML Structures

Several of the supported B2MML and MES structures can be directly mapped by the mapper, without requiring being created as a Chart Parameter in the Start Block. They will appear in the mapper's **Parameter Values** drop-down list:

#### B2MML

* OperationsSchedule
* OperationsDefinition
* ProcessSegment
* Material

### MES

* WorkOrder

The minimum required properties for the [Save MES Object Block](/docs/display/BC/Save-MES-Object-Block) to successfully save the structure as an MES Object are listed below.

![](/resources/Storage/user-manual/mapping-to-b2mml-structures/Mapping%20-%20Parameter%20Values%20Drop-down%20List.PNG)
 * * *
 ### OperationsSchedule

The minimum required mapping for an Operations Schedule:

**Must have these two:**

* OperationsSchedule / ***ID***
* OperationsRequest / ***OperationsDefinitionID***

**Also must include some combination of date(s) and/or quantity:**

* OperationsSchedule / ***StartTime*** and 
OperationsSchedule / ***EndTime***
* OperationsSchedule / ***StartTime*** and 
OperationsSchedule / ***Quantity***
* OperationsRequest / ***StartTime*** and 
OperationsRequest / ***EndTime***
* SegmentRequirement / ***StartTime*** and 
SegmentRequirement / ***EndTime***
* SegmentRequirement / ***StartTime*** and 
SegmentRequirement / ***Quantity***
* OperationsSchedule / ***StartTime*** and 
OperationsRequest / ***EndTime***

    | ![Information](/resources/Storage/user-manual/user-manual/Info.png) | The module will look for the earliest **StartTime** and latest **EndTime** between all the current **OperationsSchedule**, **OperationsRequest**, and **SegmentRequirement** and use them to mark the bounds of the schedule. |
    | --- | --- |

![](/resources/Storage/user-manual/mapping-to-b2mml-structures/B2MML%20-%20OperationsSchedule.PNG)
 * * *
 ### Material

The minimum required mapping for a Material Object:

**Material Class**

* Requires at least the **Material Class ID** (***MaterialClassID***).
* In order to assign a **Material Class** with one or more **Material Definition** objects, one or more **Material Definition ID**s must be mapped in to the **MaterialDefinition[]** section of the **Material Class**.

![](/resources/Storage/user-manual/mapping-to-b2mml-structures/Material%20mapping%20-%20MaterialClassID.PNG)

**Material Definition**

* Requires at least the **Material Definition ID** (***MaterialDefinitionID***).
* In order to assign a **Material Definition** to one or more **Material Class** objects, one or more **Material Class ID**s must be mapped in to the **MaterialClass[]** section of the **Material Definition**.

![](/resources/Storage/user-manual/mapping-to-b2mml-structures/Material%20mapping%20-%20MaterialDefinitionID.PNG)

![](/resources/Storage/user-manual/mapping-to-b2mml-structures/B2MML%20-%20Material.PNG)
 * * *
 ### WorkOrder

The minimum required mapping for an MES Work Order:

* WorkOrderInformation / WorkOrder / ***Name*** and
* WorkOrderInformation / WorkOrder / ***MaterialDefinitionID*** and
* WorkOrderInformation / WorkOrder / ***Quantity***and
* WorkOrderInformation / WorkOrder / ***DueDate***

![](/resources/Storage/user-manual/mapping-to-b2mml-structures/B2MML%20-%20WorkOrder.PNG)
 
**Sepasoft MES Module Suite**