This section shows the messages that edinn send requesting stock information (ISA-95 compliant, for more information please read the B2MML document).

GetMaterialInformation is the message to ask the subscriber the amount of material available to be consume in a order.

  • Location: Defines where to search the material information.
  • MaterialDefinition: Identifies the result its information are asking for.
    • Id: Identifier of the result.
    • MaterialDefinitionProperty: If informed, ask for the amount of material in a especific unit of measure.

{

       "GetMaterialInformation": {

               "ApplicationArea": {

                       "Sender": {

                               "LogicalID": "20200526172352AABCENTRAL",

                               "ComponentID": "EDINNM2",

                               "ConfirmationCode": "Always"

                       },

                       "CreationDateTime": "2013-05-27T12:46:44"

               },

               "DataArea": {

                       "Get": [],

                       "MaterialInformation": {

                               "Location": {

                                       "EquipmentID": "ESP1",

                                       "EquipmentElementLevel": "Site"

                               },

                               "MaterialDefinition": {

                                       "ID": "34003198",

                                       "MaterialDefinitionProperty": {

                                               "ID": "UnitOfMeasure",

                                               "Description": "UnitOfMeasure",

                                               "Value": {

                                                       "ValueString": "KG",

                                                       "DataType": [],

                                                       "UnitOfMeasure": []

                                               }

                                       }

                               }

                       }

               }

       }

}

ShowMaterialInformation returns the stock of the requested result by lot and location.

MaterialDefinition: Returns the list of material lots.

MaterialLot: Returns the location and stock of each lot.

  • ID: Lot identifier
  • MaterialDefinitionID: Identifier of the result that the lot belongs to.
  • Location: storage location of the lot.
  • Quantity: amount of material present in each location.

{

       "ShowMaterialInformation": {

               "ApplicationArea": {

                       "Sender": {

                               "LogicalID": "20200526172352AABCENTRAL",

                               "ComponentID": "ERP",

                               "ConfirmationCode": "Always"

                       },

                       "CreationDateTime": "2013-05-27T12:46:45"

               },

               "DataArea": {

                       "Show": [],

                       "MaterialInformation": {

                               "Location": {

                                       "EquipmentID": "ESP1",

                                       "EquipmentElementLevel": "Site"

                               },

                               "MaterialDefinition": {

                                       "ID": "34003198",

                                       "MaterialLotID": [

                                               "201133R018",

                                               "201138R033"

                                       ]

                               },

                               "MaterialLot": [

                                       {

                                               "ID": "201133R018",

                                               "MaterialDefinitionID": "34003198",

                                               "Location": {

                                                       "EquipmentID": "ESP1",

                                                       "EquipmentElementLevel": "Site",

                                                       "Location": {

                                                               "EquipmentID": "C523",

                                                               "EquipmentElementLevel": "StorageZone"

                                                       }

                                               },

                                               "StorageLocation": [],

                                               "Quantity": {

                                                       "QuantityString": "0.37",

                                                       "DataType": "double",

                                                       "UnitOfMeasure": "KG"

                                               }

                                       },

                                       {

                                               "ID": "201138R033",

                                               "MaterialDefinitionID": "34003198",

                                               "Location": {

                                                       "EquipmentID": "ESP1",

                                                       "EquipmentElementLevel": "Site",

                                                       "Location": {

                                                               "EquipmentID": "C529",

                                                               "EquipmentElementLevel": "StorageZone"

                                                       }

                                               },

                                               "StorageLocation": [],

                                               "Quantity": {

                                                       "QuantityString": "14315.724",

                                                       "DataType": "double",

                                                       "UnitOfMeasure": "KG"

                                               }

                                       }

                               ]

                       }

               }

       }

}