[
  {
    "from": "po_por_export",
    "to": "/ProcessPurchaseOrder",
    "array": [
        {
            "from": "po_dealer_id",
            "to": "ApplicationArea/Sender/LogicalID"
        },
        {
            "from": "po_company_id",
            "to": "ApplicationArea/Receiver/LogicalID"
        },
        {
            "from": "po_order_date",
            "to": "ApplicationArea/CreationDateTime"
        },
        {
            "from": "po_type_",
            "to": "DataArea/Process/ActionCriteria/ActionExpression[@actionCode\"documentType\"]"
        },
        {
            "from": "X",
            "to": "DataArea/Process/ActionCriteria/ChangeStatus/Reason"
        },
        {
            "from": "po_purchase_order_id",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentID/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Note[@type=\"passThrough\" @status=\"comment1\"]"
        },
        {
            "from": "po_your_reference",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentReference[@type=\"clientsReference2\"]/DocumentID/ID"
        },
        {
            "from": "",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentReference[@type=\"suppliersReference1\"]/DocumentID/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentReference[@type=\"suppliersReference2\"]/DocumentID/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentReference[@type=\"invoiceNumber\"]/DocumentID/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentReference[@type=\"supplierDeliverNote\"]/DocumentID/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentReference[@type=\"orderClass1\"]/DocumentID/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentReference[@type=\"orderClass1\"]/Description"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentReference[@type=\"orderClass2\"]/DocumentID/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Party[@role=\"supplier\"]/Contact/Address/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Party[@role=\"supplier\"]/Contact/Address/AttentionOfName"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Party[@role=\"supplier\"]/Contact/Address/CareOfName"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Party[@role=\"supplier\"]/Contact/Address/AddressLine[@sequence=\"1\"]"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Party[@role=\"supplier\"]/Contact/Address/CityName"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Party[@role=\"supplier\"]/Contact/Address/CountrySubDivisionCode"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Party[@role=\"supplier\"]/Contact/Address/CountryCode"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Party[@role=\"supplier\"]/Contact/Address/PostalCode"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/Party[@role=\"warehouse\"]/PartyIDs/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/CarrierParty/Contact/Address/ID"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/CarrierParty/Contact/Address/Type"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/CarrierParty/Contact/Address/Status/Code"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/TransportationTerm/FreightTermCode"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/TransportationTerm/Description[@type=\"freightTermText\"]"
        },
        {
            "from": "X",
            "to": "DataArea/PurchaseOrder/PurchaseOrderHeader/OrderDateTime"
        },
        {
            "from": "por",
            "to": "/ProcessPurchaseOrder/DataArea/PurchaseOrder/PurchaseOrderLine",
            "array": [
                {
                    "from": "por_row_number",
                    "to": "LineNumber"
                },
                {
                    "from": "X",
                    "to": "Note[@type=\"arrivalNote\"]"
                },
                {
                    "from": "X",
                    "to": "Note[@type=\"passThrough\" @status=\"comment1\"]"
                },
                {
                    "from": "por_customer_project",
                    "to": "DocumentReference[@type=\"customersReference1\"]/DocumentID/ID"
                },
                {
                    "from": "",
                    "to": "DocumentReference[@type=\"customersReference1\"]/DocumentID/ID"
                },
                {
                    "from": "X",
                    "to": "DocumentReference[@type=\"rowStatus\"]/Status/Reason"
                },
                {
                    "from": "por_project_id",
                    "to": "Item/ItemID/ID"
                },
                {
                    "from": "X",
                    "to": "Item/Description[@type=\"itemName\"]"
                },
                {
                    "from": "por_waiting_for_delivery",
                    "to": "Item/Classification[@type=\"customStatus\"]/Type"
                },
                {
                    "from": "X",
                    "to": "Item/Classification[@type=\"qualityCheckStatus\"]/Type"
                },
                {
                    "from": "X",
                    "to": "Item/Classification[@type=\"quarantineStatus\"]/Type"
                },
                {
                    "from": "X",
                    "to": "Item/CountryOfOriginCode"
                },
                {
                    "from": "X",
                    "to": "Item/Packaging/Dimensions/WeightRange/MinimumWeightMeasure"
                },
                {
                    "from": "X",
                    "to": "SerializedLot/Lot/LotIDs/ID[@sequenceName=\"supplier\"]"
                },
                {
                    "from": "X",
                    "to": "SerializedLot/Lot/LotIDs/ID[@sequenceName=\"crossDocking\"]"
                },
                {
                    "from": "X",
                    "to": "SerializedLot/Lot/EffectiveTimePeriod/EndDateTime"
                },
                {
                    "from": "X",
                    "to": "SerializedLot/Lot/Quantity[@unitCode=\"PCE\"]"
                },
                {
                    "from": "X",
                    "to": "SerializedLot/Lot/Disposition/Code"
                },
                {
                    "from": "X",
                    "to": "SerializedLot/Lot/Disposition/Description"
                },
                {
                    "from": "X",
                    "to": "SerializedLot/Lot/UserArea/DocumentReference/Quantity[@type=\"qualityCheck\"]"
                },
                {
                    "from": "X",
                    "to": "SerializedLot/Lot/UserArea/DocumentReference/Quantity[@type=\"maxAllowed\"]"
                },
                {
                    "from": "X",
                    "to": "SerializedLot/Lot/UserArea/DocumentReference[@type=\"crossDockingType\"]/DocumentID/ID"
                }
            ]
        }
    ]
  }
]
