Split fulfillment lines

post

/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub/action/splitFulfillmentLine

Splits fulfillment lines across sales orders without having to revise the orders. This service sets the OverrideScheduleDateFlag attribute to true on the original and split lines when you split the fulfillment lines.

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/vnd.oracle.adf.action+json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : splitFulfillmentLineRequest
Type: array
Required attributes for Split fulfillment line request include FulfillLineId and OrderedQty for the original line; SplitFromFlineId, FulfillInstanceId, and OrderedQty for the split lines.
Show Source
Nested Schema : items
Type: object
Additional Properties Allowed
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Body ()
Root Schema : schema
Type: object
Show Source
  • result
    The RequestStatus attribute in the Split fulfillment line response contains the status of the Split fulfillment line request. It can have three values: SUCCESS or ERROR or PROCESSING. In case of an ERROR, the Message attribute contains the actual error message. In the case of PROCESSING, the Message attribute contains a message indicating that the request is being processed offline.

    In addition to the RequestStatus and Message attributes, the Split fulfillment line response also contains the HeaderId, FulfillLineId, SplitFromFlineId, FulfillInstanceId, SourceOrderNumber, SourceLineNumber, and FulfillLineNumber.
Nested Schema : result
Type: array
The RequestStatus attribute in the Split fulfillment line response contains the status of the Split fulfillment line request. It can have three values: SUCCESS or ERROR or PROCESSING. In case of an ERROR, the Message attribute contains the actual error message. In the case of PROCESSING, the Message attribute contains a message indicating that the request is being processed offline.

In addition to the RequestStatus and Message attributes, the Split fulfillment line response also contains the HeaderId, FulfillLineId, SplitFromFlineId, FulfillInstanceId, SourceOrderNumber, SourceLineNumber, and FulfillLineNumber.
Show Source
Nested Schema : items
Type: object
Additional Properties Allowed
Show Source
Back to Top

Examples

These examples describes how to split fulfillment lines.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.action+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/salesOrdersForOrderHub/action/splitFulfillmentLine"
Example Number Description
Example 1 Split a fulfillment line across two warehouses and updated scheduled dates.
Example 2 Split a fulfillment line across two suppliers and supplier sites, and updated scheduled dates.
Example 3 Split a fulfillment line into multiple lines across different scheduled dates.
Example 4 Split fulfillment lines across warehouses and scheduled dates belonging to multiple orders in a single request.
Example 5 Split a fulfillment line across two items. An item is substituted on the split line.
Example 6 Split a fulfillment line and update multiple scheduling attributes on the split line in a single request.
Example 7 Split the fulfillment lines of a model across two warehouses and updated scheduled dates.
Example 8 Split a fulfillment line that has a supplier and supplier site, and update a warehouse on the split line in a single request. The fulfillment flow of the split line changes to a standard flow.
Example 9 Split multiple fulfillment lines across warehouses and scheduled dates with the processRequestOfflineAfter attribute set to a non-default value so that the request is processed offline.
Example 10 Demonstrates an exception scenario in which the total quantity of the split lines doesn't match the quantity on the fulfillment line being split.
Example 11 Demonstrates two exception scenarios in a single request. Split a fulfillment line and substitute item on the original fulfillment line and the split line. The new item on the split line is not set up as a substitute of the original item on the line.

Example 1

This example describes how to split a fulfillment line across two warehouses and updated scheduled dates.

Example 1 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId": 300100580396282,
            "OrderedQty": "5",
            "FulfillmentOrganizationCode": "M1",
            "ScheduleArrivalDateTime": "2023-07-31T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-28T23:59:59+00:00"
        },
        {
            "SplitFromFlineId": 300100580396282,
            "FulfillInstanceId": 1,
            "OrderedQty": "5",
            "FulfillmentOrganizationCode": "M2",
            "ScheduleArrivalDateTime": "2023-07-31T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-28T23:59:59+00:00"
        }
    ]
}

Example 1 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580396276",
            "FulfillLineId": "300100580396282",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522238",
            "SourceLineNumber": "3",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580396276",
            "FulfillLineId": "300100580543726",
            "SplitFromFlineId": "300100580396282",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522238",
            "SourceLineNumber": "3",
            "FulfillLineNumber": "2"
        }
    ]
}

Example 2

This example describe how to split a fulfillment line across two suppliers and supplier sites, and updated scheduled dates.

Example 2 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId": 300100580396296,
            "OrderedQty": "3",
            "SupplierName": "DS_BVT_Supplier1",
            "SupplierSiteName": "DS_BVT1_Site1",
            "ScheduleArrivalDateTime": "2023-07-31T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-28T23:59:59+00:00"
        },
        {
            "SplitFromFlineId": 300100580396296,
            "FulfillInstanceId": 1,
            "OrderedQty": "1",
            "SupplierName": "DS_BVT_Supplier2",
            "SupplierSiteName": "DS_BVT2_Site2",
            "ScheduleArrivalDateTime": "2023-07-31T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-28T23:59:59+00:00"
        }
    ]
}

Example 2 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580396276",
            "FulfillLineId": "300100580396296",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522238",
            "SourceLineNumber": "6",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580396276",
            "FulfillLineId": "300100580548264",
            "SplitFromFlineId": "300100580396296",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522238",
            "SourceLineNumber": "6",
            "FulfillLineNumber": "2"
        }
    ]
}

Example 3

This example describe how to split a fulfillment line into multiple lines across different scheduled dates.

Example 3 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId": 300100580396284,
            "OrderedQty": "5",
            "ScheduleArrivalDateTime": "2023-07-28T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-26T23:59:59+00:00"
        },
        {
            "SplitFromFlineId": 300100580396284,
            "FulfillInstanceId": 1,
            "OrderedQty": "3",
            "ScheduleArrivalDateTime": "2023-08-02T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-31T23:59:59+00:00"
        },
        {
            "SplitFromFlineId": 300100580396284,
            "FulfillInstanceId": 2,
            "OrderedQty": "3",
            "ScheduleArrivalDateTime": "2023-08-09T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-07T23:59:59+00:00"
        }
    ]
}

Example 3 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580396276",
            "FulfillLineId": "300100580396284",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522238",
            "SourceLineNumber": "4",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580396276",
            "FulfillLineId": "300100580537397",
            "SplitFromFlineId": "300100580396284",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522238",
            "SourceLineNumber": "4",
            "FulfillLineNumber": "2"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580396276",
            "FulfillLineId": "300100580537398",
            "SplitFromFlineId": "300100580396284",
            "FulfillInstanceId": "2",
            "SourceOrderNumber": "522238",
            "SourceLineNumber": "4",
            "FulfillLineNumber": "3"
        }
    ]
}

Example 4

This example describe how to split fulfillment lines across warehouses and scheduled dates belonging to multiple orders in a single request.

Example 4 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId": 300100580542223,
            "OrderedQty": "5",
            "FulfillmentOrganizationCode": "M1"
        },
        {
            "SplitFromFlineId": 300100580542223,
            "FulfillInstanceId": 1,
            "OrderedQty": "4",
            "FulfillmentOrganizationCode": "M2"
        },
        {
            "FulfillLineId": 300100580555627,
            "OrderedQty": "7",
            "ScheduleArrivalDateTime": "2023-07-31T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-28T23:59:59+00:00"
        },
        {
            "SplitFromFlineId": 300100580555627,
            "FulfillInstanceId": 1,
            "OrderedQty": "3",
            "ScheduleArrivalDateTime": "2023-08-10T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-08T23:59:59+00:00"
        }
    ]
}

Example 4 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580542219",
            "FulfillLineId": "300100580542223",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "2",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580542219",
            "FulfillLineId": "300100580562127",
            "SplitFromFlineId": "300100580542223",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "2",
            "FulfillLineNumber": "2"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580555627",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "3",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580562137",
            "SplitFromFlineId": "300100580555627",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "3",
            "FulfillLineNumber": "2"
        }
    ]
}

Example 5

This example describe how to split a fulfillment line across two items. An item is substituted on the split line.

Example 5 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId":300100580542250,
            "OrderedQty": "7"
        },
        {
            "SplitFromFlineId":300100580542250,
            "FulfillInstanceId": 1,
            "ProductNumber": "OM-RT-Standard-Item11",
            "OrderedQty": "5"
        }
    ]
}

Example 5 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580542219",
            "FulfillLineId": "300100580558228",
            "SplitFromFlineId": "300100580542250",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "11",
            "FulfillLineNumber": "2"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580542219",
            "FulfillLineId": "300100580542250",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "11",
            "FulfillLineNumber": "1"
        }
    ]
}

Example 6

This example describe how to split a fulfillment line and update multiple scheduling attributes on the split line in a single request.

Example 6 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId": 300100580542227,
            "OrderedQty": "9",
            "SchedulingReason": "Customer Escalation"
        },
        {
            "SplitFromFlineId": 300100580542227,
            "FulfillInstanceId": 1,
            "OrderedQty": "2",
            "FulfillmentOrganizationCode": "M2",
            "ScheduleArrivalDateTime": "2023-07-31T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-28T23:59:59+00:00",
            "DemandClass": "West-GOP",
            "ShippingCarrier": "DHL",
            "ShippingMode": "Parcel",
            "ShippingServiceLevel": "Express",
            "SchedulingReason": "Customer Escalation"
        }
    ]
}

Example 6 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580542219",
            "FulfillLineId": "300100580542227",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "4",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580542219",
            "FulfillLineId": "300100580564126",
            "SplitFromFlineId": "300100580542227",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "4",
            "FulfillLineNumber": "2"
        }
    ]
}

Example 7

This example describe how to split the fulfillment lines of a model across two warehouses and updated scheduled dates.

Example 7 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId": 300100580555631,
            "OrderedQty": "2",
            "ScheduleArrivalDateTime": "2023-08-03T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-01T23:59:59+00:00"
        },
        {
            "FulfillLineId": 300100580555633,
            "OrderedQty": "2",
            "ScheduleArrivalDateTime": "2023-08-03T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-01T23:59:59+00:00"
        },
        {
            "FulfillLineId": 300100580555635,
            "OrderedQty": "2",
            "ScheduleArrivalDateTime": "2023-08-03T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-01T23:59:59+00:00"
        },
        {
            "FulfillLineId": 300100580555637,
            "OrderedQty": "2",
            "ScheduleArrivalDateTime": "2023-08-03T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-01T23:59:59+00:00"
        },
        {
            "FulfillLineId": 300100580555639,
            "OrderedQty": "2",
            "ScheduleArrivalDateTime": "2023-08-03T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-01T23:59:59+00:00"
        },
        {
            "SplitFromFlineId": 300100580555631,
            "FulfillInstanceId": 1,
            "OrderedQty": "1",
            "ScheduleArrivalDateTime": "2023-08-10T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-08T23:59:59+00:00",
            "FulfillmentOrganizationCode": "M2"
        },
        {
            "SplitFromFlineId": 300100580555633,
            "FulfillInstanceId": 1,
            "OrderedQty": "1",
            "ScheduleArrivalDateTime": "2023-08-10T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-08T23:59:59+00:00",
            "FulfillmentOrganizationCode": "M2"
        },
        {
            "SplitFromFlineId": 300100580555635,
            "FulfillInstanceId": 1,
            "OrderedQty": "1",
            "ScheduleArrivalDateTime": "2023-08-10T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-08T23:59:59+00:00",
            "FulfillmentOrganizationCode": "M2"
        },
        {
            "SplitFromFlineId": 300100580555637,
            "FulfillInstanceId": 1,
            "OrderedQty": "1",
            "ScheduleArrivalDateTime": "2023-08-10T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-08T23:59:59+00:00",
            "FulfillmentOrganizationCode": "M2"
        },
        {
            "SplitFromFlineId": 300100580555639,
            "FulfillInstanceId": 1,
            "OrderedQty": "1",
            "ScheduleArrivalDateTime": "2023-08-10T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-08T23:59:59+00:00",
            "FulfillmentOrganizationCode": "M2"
        }
    ]
}

Example 7 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580555631",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580555633",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5.1",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580555635",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5.1.1",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580555637",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5.2",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580555639",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5.3",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580683462",
            "SplitFromFlineId": "300100580555631",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5",
            "FulfillLineNumber": "2"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580683463",
            "SplitFromFlineId": "300100580555633",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5.1",
            "FulfillLineNumber": "2"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580683464",
            "SplitFromFlineId": "300100580555635",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5.1.1",
            "FulfillLineNumber": "2"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580683465",
            "SplitFromFlineId": "300100580555637",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5.2",
            "FulfillLineNumber": "2"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580683466",
            "SplitFromFlineId": "300100580555639",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "5.3",
            "FulfillLineNumber": "2"
        }
    ]
}

Example 8

This example describe how to split a fulfillment line that has a supplier and supplier site, and update a warehouse on the split line in a single request. The fulfillment flow of the split line changes to a standard flow.

Example 8 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId": 300100580431269,
             "FulfillInstanceId": 1,
            "OrderedQty": "3"
        },
        {
            "SplitFromFlineId": 300100580431269,
            "FulfillInstanceId": 2,
            "OrderedQty": "1",
            "SupplierName": null,
            "SupplierSiteName": null,
            "FulfillmentOrganizationCode": "M1"

        }
    ]
}

Example 8 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580431249",
            "FulfillLineId": "300100580431269",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522260",
            "SourceLineNumber": "6",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "SUCCESS",
            "HeaderId": "300100580431249",
            "FulfillLineId": "300100580549598",
            "SplitFromFlineId": "300100580431269",
            "FulfillInstanceId": "2",
            "SourceOrderNumber": "522260",
            "SourceLineNumber": "6",
            "FulfillLineNumber": "2"
        }
    ]
}

Example 9

This example describe how to split multiple fulfillment lines across warehouses and scheduled dates with the processRequestOfflineAfter attribute set to a non-default value so that the request is processed offline.

Example 9 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 0,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId": 300100580555625,
            "OrderedQty": "5",
            "FulfillmentOrganizationCode": "M1"
        },
        {
            "SplitFromFlineId": 300100580555625,
            "FulfillInstanceId": 1,
            "OrderedQty": "4",
            "FulfillmentOrganizationCode": "M2"
        },
        {
            "FulfillLineId": 300100580542225,
            "OrderedQty": "7",
            "ScheduleArrivalDateTime": "2023-07-31T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-28T23:59:59+00:00"
        },
        {
            "SplitFromFlineId": 300100580542225,
            "FulfillInstanceId": 1,
            "OrderedQty": "3",
            "ScheduleArrivalDateTime": "2023-08-10T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-08-08T23:59:59+00:00"
        }
    ]
}

Example 9 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "PROCESSING",
            "Message": "Order management is processing your request to split or update the fulfillment line in your order. Query for source order 522320 to monitor your request. (FOM-4515652)",
            "HeaderId": "300100580555621",
            "FulfillLineId": "300100580555625",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "2",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "PROCESSING",
            "Message": "Order management is processing your request to split or update the fulfillment line in your order. Query for source order 522320 to monitor your request. (FOM-4515652)",
            "HeaderId": "300100580555621",
            "SplitFromFlineId": "300100580555625",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522320",
            "SourceLineNumber": "2"
        },
        {
            "RequestStatus": "PROCESSING",
            "Message": "Order management is processing your request to split or update the fulfillment line in your order. Query for source order 522319 to monitor your request. (FOM-4515652)",
            "HeaderId": "300100580542219",
            "FulfillLineId": "300100580542225",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "3",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "PROCESSING",
            "Message": "Order management is processing your request to split or update the fulfillment line in your order. Query for source order 522319 to monitor your request. (FOM-4515652)",
            "HeaderId": "300100580542219",
            "SplitFromFlineId": "300100580542225",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "3"
        }
    ]
}

Example 10

This example demonstrates an exception scenario in which the total quantity of the split lines doesn't match the quantity on the fulfillment line being split.

Example 10 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId": 300100580431255,
            "OrderedQty": "2",
            "FulfillmentOrganizationCode": "M1",
            "ScheduleArrivalDateTime": "2023-07-31T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-28T23:59:59+00:00"
        },
        {
            "SplitFromFlineId": 300100580431255,
            "FulfillInstanceId": 1,
            "OrderedQty": "6",
            "FulfillmentOrganizationCode": "M2",
            "ScheduleArrivalDateTime": "2023-07-31T23:59:59+00:00",
            "ScheduleShipDateTime": "2023-07-28T23:59:59+00:00"
        }
    ]
}

Example 10 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "ERROR",
            "Message": "You can't split the order line because the total quantity of your split lines equals 8, but the quantity on the original line equals 10. (FOM-4515601) Details: Make sure the total quantity of the lines that you split equals the total quantity on the original line, then resend your request.",
            "HeaderId": "300100580431249",
            "FulfillLineId": "300100580431255",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522260",
            "SourceLineNumber": "3",
            "FulfillLineNumber": "1"
        },
        {
            "RequestStatus": "ERROR",
            "Message": "This line cannot be processed at this time because of errors in one or more groups in the same response. (DOO-2685562)",
            "HeaderId": "300100580431249",
            "SplitFromFlineId": "300100580431255",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522260",
            "SourceLineNumber": "3"
        }
    ]
}

Example 11

This example demonstrates two exception scenarios in a single request. Split a fulfillment line and substitute item on the original fulfillment line and the split line. The new item on the split line is not set up as a substitute of the original item on the line

Example 11 Request Body

The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.

{
    "processRequestOfflineAfter": 240,
    "splitFulfillmentLineRequest": [
        {
            "FulfillLineId":300100580542430,
            "ProductNumber": "SCH_STD_02",
            "OrderedQty": "7"
        },
        {
            "SplitFromFlineId":300100580542430,
            "FulfillInstanceId": 1,
            "ProductNumber": "IMT_Planned_Item1",
            "OrderedQty": "6"
        }
    ]
}

Example 11 Response Body

The following example includes the contents of the response body in JSON format:

{
    "result": [
        {
            "RequestStatus": "ERROR",
            "Message": "You can't use the IMT_Planned_Item1 item as a substitute for the AS54888 item on the order line because you haven't set up the IMT_Planned_Item1 item as a substitute. (FOM-4515630) Details: Set up the IMT_Planned_Item1 item so you can use it as a substitute for the AS54888 item. For details, see the Set Up Item Substitution in Order Management topic on Oracle Help Center.",
            "HeaderId": "300100580542219",
            "SplitFromFlineId": "300100580542430",
            "FulfillInstanceId": "1",
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "12"
        },
        {
            "RequestStatus": "ERROR",
            "Message": "You can't split the order line because you're also using the SCH_STD_02 item as a substitute for the AS54888 item. (FOM-4515632) Details: You can't use a single request to split an order line and substitute an item on the original line at the same time. Instead, create 1 request that substitutes the item on the original line, then create another request that splits the line.",
            "HeaderId": "300100580542219",
            "FulfillLineId": "300100580542430",
            "FulfillInstanceId": null,
            "SourceOrderNumber": "522319",
            "SourceLineNumber": "12",
            "FulfillLineNumber": "1"
        }
    ]
}
Back to Top