> For the complete documentation index, see [llms.txt](https://docs.videc.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videc.de/june5-datatrans/ausgabeformate/b2mml-batch-ml-v0600.md).

# B2MML - Batch ML (V0600)

Die „Business To Manufacturing Markup Language“ (B2MML) ist eine XML-Implementierung. B2MML besteht aus einem Satz von Definitionen der ISA-95 Datentypen in Form von XML Schemata. (<http://www.mesa.org/en/B2MML.asp>)

Das Format wird nur begrenzt unterstützt, nur die folgenden Bereiche werden angeboten:

* B2MML BatchInformation
* B2MML BatchProductionRecord (keine Option als Ausgabeformat)

Es ist nur möglich die "B2MML BatchInformation" als Ausgabeformat zu bestimmen. Die "B2MML BatchProductionRecords" ergeben sich aus der Liste der BatchListEntry , die in der BatchInforamtion-XML-Datei aufgelistet werden. Für jeden Batcheintrag wird ein neuer Auftrag generiert mit dem Ausgabeformat "B2MML BatchProductionRecord", der den Zeitraum und die jeweiligen Messgrößen beinhaltet.

Beispielausgabe

#### BatchInformation

```xml
<?xml version="1.0" encoding="utf-8"?>
<BatchInformation xmlns:q1="http://www.mesa.org/xml/B2MML-V0600">
 <Description languageID="en-EN">Batches: 60 | JUNE5/ACRON</Description>
 <BatchList>
    <Description languageID="en-EN">Produkt\Mango</Description>
    <BatchListEntry>
      <BatchID />
      <LotID>202.440</LotID>
      <ProductID>Produkt\Mango</ProductID>
      <ActualStartTime format="yyyy-MM-ddTHH:mm:ss">2019-05-03T10:52:59</ActualStartTime>
      <ActualEndTime format="yyyy-MM-ddTHH:mm:ss">2019-05-03T10:53:59</ActualEndTime>
    </BatchListEntry>
 </BatchList>
</BatchInformation>
```

#### BatchProductionRecord

{% code lineNumbers="true" %}

```xml
<?xml version="1.0" encoding="utf-8"?>
<BatchProductionRecord xmlns:q1="http://www.mesa.org/xml/B2MML-V0600">
 <BatchID />
 <LotID>202.440</LotID>
 <DataSets>
    <DataSet>
      <ExternalReference>ASLIMDE_AC8.PL1_Produkt_1</ExternalReference>
      <Description />
      <StartTime format="yyyy-MM-ddTHH:mm:ss">2019-05-03T12:38:59</StartTime>
      <EndTime format="yyyy-MM-ddTHH:mm:ss">2019-05-03T12:39:59</EndTime>
      <OrderedData>
        <TimeValue format="yyyy-MM-ddTHH:mm:ss">2019-05-03T12:38:59</TimeValue>
        <DataValue>
          <Value>0</Value>
        </DataValue>
      </OrderedData>
      <OrderedData>
        <TimeValue format="yyyy-MM-ddTHH:mm:ss">2019-05-03T12:39:59</TimeValue>
        <DataValue>
          <Value>0</Value>
        </DataValue>
      </OrderedData>
    </DataSet>
 </DataSets>
</BatchProductionRecord>
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.videc.de/june5-datatrans/ausgabeformate/b2mml-batch-ml-v0600.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
