Send Quantity Notifications
This section shows the messages that edinn send with the quantity information, both for prduction, scrap, reword and consumption (ISA-95 compliant, for more information please read the B2MML document).
Sends production and labour time information on shift change or order status change or in a manual production:
ProductionPerformance: Section where the data to be processed is:
- ProcutionResponse: The response for each order.
- ProductionRequestID: Identifier of the order.
- SegmenetResponse: The information about each operation inside the order.
- ID: Identifier of the operation.
- ProcessSegmentId: Identifier of the message in edinn. Unsed for audit purposes.
- ActualStartTime: time where the period notified started.
- ActualEndTime: time where the period notified ended.
- EquipmentAcutal: Process where the operatio was performed.
- Quantity: amount of processes employed.
- MaterialActual: Result to be notified to the subcriber.
- MaterialDefinitionID: Identifier of the result.
- MaterialLotID: Lot number.
- MaterialSubLotID: For "Consumed" and "Output" results, the identifier of the production related with.
- Location: Information about where, in the intallation the material was produced (plant, area, production line) and/or has to be stored (storage zone, storage unit).
- MaterialUse: One of the three possible uses of the result: "Produced" is the main result of the order, "Consumed" is the raw material used in the process, "Output" is a secoundary result obtained in the process.
- Quantity: Amount of result to be notified to the subscriber.
- PersonnelActual: Labour time employed in the operation performance.
- PersonID: Recourse identifier.
- Quantity: Amount of time employed by the recourse.
{ "SyncProductionPerformance": { "ApplicationArea": { "Sender": { "LogicalID": "20200526172352AABCENTRAL", "ComponentID": "EDINNM2", "ConfirmationCode": "Always" }, "CreationDateTime": "2020-05-15T11:27:20" }, "DataArea": { "Sync": { "ActionCriteria": { "ActionExpression": { "@actionCode": "Add" } } }, "ProductionPerformance": { "ProductionResponse": { "ProductionRequestID": "2020040101", "SegmentResponse": { "ID": "10", "ProcessSegmentId": "TSPR20200515112720PKTCENTRAL", "ActualStartTime": "2020-05-15T11:18:31", "ActualEndTime": "2020-05-15T11:27:10", "EquipmentActual": { "EquipmentID": "7101", "Quantity": { "QuantityString": "1.000", "DataType": "integer", "UnitOfMeasure": "UN" } }, "MaterialActual": { "MaterialDefinitionID": "BB0932428102-4351", "MaterialLotID": [], "MaterialSubLotID": [], "Location": { "EquipmentID": "PBPACKAGING", "EquipmentElementLevel": "Enterprise" }, "MaterialUse": "Produced", "Quantity": { "QuantityString": "21.000", "DataType": "double", "UnitOfMeasure": "MI" } }, "PersonnelActual": { "PersonID": "0703", "Quantity": { "QuantityString": "14.000", "DataType": "double", "UnitOfMeasure": "HUR" } } } } } } } } |
Sending scrap information:
{ "SyncProductionPerformance": { "ApplicationArea": { "Sender": { "LogicalID": "20200526172352AABCENTRAL", "ComponentID": "EDINNM2", "ConfirmationCode": "Always" }, "CreationDateTime": "2020-05-15T11:27:20" }, "DataArea": { "Sync": { "ActionCriteria": { "ActionExpression": { "@actionCode": "Add" } } }, "ProductionPerformance": { "ProductionResponse": { "ProductionRequestID": "2020040101", "SegmentResponse": { "ID": "10", "ProcessSegmentId": "TSPR20200515112720PKUCENTRAL", "ActualStartTime": "2020-05-15T11:18:31", "ActualEndTime": "2020-05-15T11:27:11", "EquipmentActual": { "EquipmentID": "7101", "Quantity": { "QuantityString": "1.000", "DataType": "integer", "UnitOfMeasure": "UN" } }, "MaterialActual": { "MaterialDefinitionID": "BB0932428102-4351.S", "MaterialLotID": [], "MaterialSubLotID": [], "Location": { "EquipmentID": "PBPACKAGING", "EquipmentElementLevel": "Enterprise" }, "MaterialUse": "Produced", "Quantity": { "QuantityString": "1.000", "DataType": "double", "UnitOfMeasure": "MI" } } } } } } } } |
Send consumption of raw materials:
{ "SyncProductionPerformance": { "ApplicationArea": { "Sender": { "LogicalID": "20191210194048QQTCENTRAL", "ComponentID": "EDINNM2", "ConfirmationCode": "Always" }, "CreationDateTime": "2019-12-10T19:40:48" }, "DataArea": { "Sync": { "ActionCriteria": { "ActionExpression": { "@actionCode": "Add" } } }, "ProductionPerformance": { "ProductionResponse": { "ProductionRequestID": "19018632", "SegmentResponse": { "ID": "10", "ProcessSegmentId": "TSIO20191210194048IHPCENTRAL", "ActualStartTime": "2019-12-10T16:37:11", "ActualEndTime": "2019-12-10T19:39:42", "MaterialActual": { "MaterialDefinitionID": "BO01032050", "MaterialLotID": "2019022272", "MaterialSubLotID": "20191210194048IHPCENTRAL", "Location": { "EquipmentID": "IMCOVEL", "EquipmentElementLevel": "Enterprise" }, "MaterialUse": "Consumed", "Quantity": { "QuantityString": "6693,813", "DataType": "double", "UnitOfMeasure": "ML" }, "MaterialProperty": { "ID": "TERMINADA", "Value": { "ValueString": "No", "DataType": [], "UnitOfMeasure": [] } } } } } } } } } |
Send output of materials:
Output materials are coproducts obtained in the production process different than the main result of the order.
{ "SyncProductionPerformance": { "ApplicationArea": { "Sender": { "LogicalID": "20191210194048QQTCENTRAL", "ComponentID": "EDINNM2", "ConfirmationCode": "Always" }, "CreationDateTime": "2019-12-10T19:40:48" }, "DataArea": { "Sync": { "ActionCriteria": { "ActionExpression": { "@actionCode": "Add" } } }, "ProductionPerformance": { "ProductionResponse": { "ProductionRequestID": "19018632", "SegmentResponse": { "ID": "10", "ProcessSegmentId": "TSIO20191210194048IHPCENTRAL", "ActualStartTime": "2019-12-10T16:37:11", "ActualEndTime": "2019-12-10T19:39:42", "MaterialActual": { "MaterialDefinitionID": "BO01032050", "MaterialLotID": "2019022272", "MaterialSubLotID": "20191210194048IHPCENTRAL", "Location": { "EquipmentID": "IMCOVEL", "EquipmentElementLevel": "Enterprise" }, "MaterialUse": "Output", "Quantity": { "QuantityString": "6693,813", "DataType": "double", "UnitOfMeasure": "ML" }, "MaterialProperty": { "ID": "TERMINADA", "Value": { "ValueString": "No", "DataType": [], "UnitOfMeasure": [] } } } } } } } } } |
Responses to a quantity notification:
The respose to the quantity notifications have a extra section after the Note tag called UserArea.
Notified: It is used for quantity notifications of the result sent as "Produced" in MaterialUse. Note that the response to a consumed material must be "Consumed" instead of "Notified", and in case of output material must be "Output".
- ID: Identifier fo the notification or the stock movement in the subscriber.
- SubLotId: Used to identify the record in edinn for "Consumed" and "Output" notifications. For "Produced" material is empty.
{ "ConfirmBOD": { "ApplicationArea": { "Sender": { "LogicalID": "20200526172352AABCENTRAL", "ComponentID": "ERP", "ConfirmationCode": "Always" }, "CreationDateTime": "2016-12-01T17:44:41" }, "DataArea": { "Confirm": { "ResponseCriteria": { "ResponseExpression": { "@actionCode": "Accepted" } } }, "BOD": { "Description": "Accepted 20161130114849AADCENTRAL", "Note": "The segment 20161130114849AADCENTRAL has finished successful.", "UserArea": { "Notified": { "ID": "439289", "SubLotID": [] }, "Consumed": { "ID": [], "SubLotID": [] }, "Output": { "ID": [], "SubLotID": [] } } } } } } |