Outside Processing Master Import Document

A JSON material lot import document (MLID) contains all the details of the Outside Processing (OSP), including route and revision or segment definition. The MLID constitutes the body of the HTTP POST request of the ERP Import service, which posts the OSP to Plant Applications.

The example MLID is of schema version 2.

{
  "schemaVersion": 2,
  "materialLot": [
    {
      "lotIdentifier": "",
      "productName": "Prod11",
      "quantity": 4,
      "unitOfMeasure": "",
      "status": "",
      "description": "",
      "propertyValues": [
        {
          "propertyName": "WorkOrder",
          "propertyValue": "WO-OSP-Non-Ser1"
        },
        {
          "propertyName": "WorkOrder",
          "propertyValue": "WO-OSP-Non-Ser1"
        },
        {
          "propertyName": "Operation",
          "propertyValue": "10"
        }
      ],
      "materialSubLots": [
        {
          "lotIdentifier": "JO-3",
          "quantity": 2
        },
        {
          "lotIdentifier": "JO-4",
          "quantity": 2
        }
      ]
    },
    {
      "lotIdentifier": "RECEIVEROSP",
      "productName": "",
      "quantity": 5,
      "unitOfMeasure": "",
      "status": "",
      "description": "Receiver",
      "propertyValues": [
        {
          "propertyName": "TestStringProp",
          "propertyValue": "WOProperty"
        },
        {
          "propertyName": "TestIntProp",
          "propertyValue": "[\"1\", \"2\"]"
        }
      ]
    }
  ]
}

The example MLID is of schema version 3.

{
  "schemaVersion": 3,
  "materialLot": [
    {
      "lotIdentifier": "",
      "materialSubLots": [
        {
          "lotIdentifier": "lots1",
          "quantity": 1
        },
        {
          "lotIdentifier": "lots2",
          "quantity": 1
        }
      ],
      "productName": "8.2 Reg Nonser Prod",
      "quantity": 2,
      "unitOfMeasure": "",
      "description": "",
      "propertyValues": [
        {
          "propertyName": "WorkOrder",
          "propertyValue": "SHARMILA OSP Wo"
        },
        {
          "propertyName": "Operation",
          "propertyValue": "op2"
        }
      ]
    },
    {
      "lotIdentifier": "Receiver-osp-002",
      "productName": "",
      "quantity": 1,
      "unitOfMeasure": "",
      "status": "",
      "description": "receiver",
      "propertyValues": [
        {
          "propertyName": "STORAGELOCATION",
          "propertyValue": "true"
        }
      ]
    }
  ]
}}