JSON Process Order Import Document (POID)

A JSON process order import document (POID) contains all the details of a process order. The POID constitutes the body of the HTTP POST request of the ERP Import service, which posts the process order to Plant Applications.

Schema versions 1 and 2 are supported in a POID.

JSON POID Schema Version 2

Using schema version 2, you can override values of the process order properties. In addition, providing the production line is not mandatory, and you can include production lines with multiple execution paths. When a production line has multiple execution paths, the process order becomes an unbound process order. You can associate a production line with an execution path using Plant Applications Administrator or Plant Applications Web Client; or you can leave it as is.
{
  "schemaVersion": 2,
  "processOrderName": "POIDXML-100-2020",
  "producedMaterialName": "PulpyJuice",
  "plannedLineName": "",
  "plannedQuantity": 234.89,
  "plannedStartDate": "2020-12-08T09:22:17.017Z",
  "plannedEndDate": "2020-12-09T09:22:17.017Z",
  "bomFormulation": "REG_JUICE_FORMULA",
  "propertyValues": [
    {
      "propertyName": "Process_Prop_Int",
      "propertyValue": "123"
    },
    {
      "propertyName": "Process_Prop_String",
      "propertyValue": "someliteral"
    }
  ]
}

JSON POID Schema Version 1

Using schema version 1, you can import process orders containing information about the planned quantity, material, production line, and planned start and end dates.
{
  "schemaVersion": 1,
  "processOrderName": "POIDXML-105-2020",
  "producedMaterialName": "PulpyJuice",
  "plannedLineName": "JuiceLine",
  "plannedQuantity": 10.5,
  "plannedStartDate": "2020-12-08T09:22:17.017Z",
  "plannedEndDate": "2020-12-09T09:22:17.017Z",
  "bomFormulation": "REG_JUICE_FORMULA"
}