Payload Structure for OperationCancelled Events
OperationCancelled Event Schema Version 2
This is the original version.
JSON OperationCancelled Schema Version 2
{
"schemaVersion":"1",
"workOrderName":"ERPWOID6-CANCELLED-JSON-SNOWBIKES",
<!-- Produced LotIdentifier Name & Properties -->
"lotIdentifier":{
"name":"SERNUM1",
"properties":[
{
"propertyName":"materialLot_Integer_Property",
"propertyValue":"10"
},
{
"propertyName":"materialLot_boolean_Property",
"propertyValue":"false"
}
]
},
<!-- Route Name & Properties -->
"routeInfo":{
"name":"Route Level",
"properties":[
{
"propertyName":"Some-Integer-Property-Name",
"propertyValue":"10"
},
{
"propertyName":"Some-Boolean-Property-Name",
"propertyValue":"true"
}
]
},
"operationInfo":{
"name":"FrameAssembly",
"cancelledOnTime":"2021-02-03T12:29:28Z",
"unitName":"FrameMountingStation",
"productionLine":"Bikes_Assembly_Line",
"status":"Cancelled",
"cancelledBy":"mesadmin",
"producedMaterial":"SNOWBIKE-NONSERIALIZED",
"unitOfMeasure":"EA",
"cancelledQuantity":20,
<!-- Operation Properties -->
"properties":[
{
"propertyName":"work_order_import_prop_group_prop_2",
"propertyValue":"workorderimportgroupproperty2"
},
{
"propertyName":"work_order_import_prop_group_prop_3",
"propertyValue":"workorderimportgroupproperty3"
}
]
},
"kafkaConsumerId":"0000017767e0a822-02420a0002a40000",
"publishedDate":"2021-01-31T06:18:12Z",
"sddSchemaVersion":8
}
B2MML OperationCancelled Schema Version 2
<ProductionPerformance xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:Extended="http://www.wbf.org/xml/B2MML-V0401-AllExtensions" xmlns:inp2="http://www.wbf.org/xml/B2MML-V0401" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:erp="http://sample.data" xmlns="http://www.wbf.org/xml/B2MML-V0401">
<ID>0000017767e0a822-02420a0002a40000</ID>
<Description>ERP Export Service</Description>
<PublishedDate>2021-01-31T06:18:12Z</PublishedDate>
<ProductionResponse>
<!-- workorder name -->
<ID>ERPWOID6-CANCELLED-JSON-SNOWBIKES</ID>
<!-- route info-->
<SegmentResponse>
<ID>Route Level</ID>
<!-- Route Level Properties -->
<ProductionData>
<ID>Some-Integer-Property-Name</ID>
<Value>
<ValueString>10</ValueString>
<DataType>string</DataType>
<UnitOfMeasure/>
</Value>
</ProductionData>
<ProductionData>
<ID>Some-Boolean-Property-Name</ID>
<Value>
<ValueString>true</ValueString>
<DataType>string</DataType>
<UnitOfMeasure/>
</Value>
</ProductionData>
</SegmentResponse>
<!-- operation Info-->
<SegmentResponse>
<ID>FrameAssembly</ID>
<ProductionData>
<ID>cancelledOnTime</ID>
<Value>
<ValueString>2021-02-03T12:29:28Z</ValueString>
<DataType>string</DataType>
<UnitOfMeasure/>
</Value>
</ProductionData>
<!-- operation properties-->
<ProductionData>
<ID>work_order_import_prop_group_prop_2</ID>
<Value>
<ValueString>workorderimportgroupproperty2</ValueString>
<DataType>string</DataType>
<UnitOfMeasure/>
</Value>
</ProductionData>
<ProductionData>
<ID>work_order_import_prop_group_prop_3</ID>
<Value>
<ValueString>workorderimportgroupproperty3</ValueString>
<DataType>string</DataType>
<UnitOfMeasure/>
</Value>
</ProductionData>
<ProductionData>
<ID>status</ID>
<Value>
<ValueString>Cancelled</ValueString>
<DataType>string</DataType>
<UnitOfMeasure/>
</Value>
</ProductionData>
<ProductionData>
<ID>cancelledBy</ID>
<Value>
<ValueString>mesadmin</ValueString>
<DataType>string</DataType>
<UnitOfMeasure/>
</Value>
</ProductionData>
<!-- producedMaterial details-->
<MaterialProducedActual>
<!--producedMaterial Name -->
<MaterialDefinitionID>SNOWBIKE-NONSERIALIZED</MaterialDefinitionID>
<!--producedMaterial Lot Name -->
<MaterialLotID>SERNUM1</MaterialLotID>
<Location>
<!--production Line -->
<EquipmentID>Bikes_Assembly_Line</EquipmentID>
<EquipmentElementLevel>ProductionLine</EquipmentElementLevel>
<Location>
<EquipmentID>FrameMountingStation</EquipmentID>
<EquipmentElementLevel>Unit</EquipmentElementLevel>
</Location>
</Location>
<!--skippedQuantity -->
<Quantity>
<QuantityString>20</QuantityString>
<DataType>double</DataType>
<UnitOfMeasure>EA</UnitOfMeasure>
</Quantity>
<!-- Produced Material Lot Properties -->
<MaterialProducedActualProperty>
<ID>materialLot_Integer_Property</ID>
<Value>
<ValueString>10</ValueString>
<DataType>string</DataType>
<UnitOfMeasure/>
</Value>
</MaterialProducedActualProperty>
<MaterialProducedActualProperty>
<ID>materialLot_boolean_Property</ID>
<Value>
<ValueString>false</ValueString>
<DataType>string</DataType>
<UnitOfMeasure/>
</Value>
</MaterialProducedActualProperty>
</MaterialProducedActual>
</SegmentResponse>
<Extended:SchemaVersion>1</Extended:SchemaVersion>
<Extended:SDDSchemaVersion>8</Extended:SDDSchemaVersion>
</ProductionResponse>
</ProductionPerformance>