Configure Predefined Split Criteria
- Each split criterion references a field present on both the CPQ line item and the order line item (e.g., Payment Terms, Charge Type, Start Date, etc).
- Criteria can be prioritized (e.g., split first by Payment Terms, then by Charge Type, then by Start Date).
- Only active criteria can be used for splitting; if a criteria ID is not found or inactive, the split will not proceed
- Use
- Use the API endpoint:
POST: <URL of the instance>/api/order/v1/split-criteria. - Supply the following payload:
[ { "Name": "splitordercriteria_1", "Sequence": 1, "Description": "Split by start date", "Object": "OrderLineItem", "CriteriaValue": "StartDate", "Action": "Split", "Active": true } ] - The API creates a reusable split criteria that can be referenced by its ID and returns the following response:
{ "Summary": "1 records processed successfully.", "Results": [ { "Id": "decf13b9-3482-4b9e-956d-c3bd2ddd6bc4", "RecordIndex": 0, "IsSuccess": true, "Errors": [], "ErrorMessage": null } ] }
When splitting an order, the API will prompt for the criteria ID.The system checks if the criteria is active and applies the split logic as defined.
Example: There are two different payment terms, Net 30 and Net 60, associated with the order line items underneath and order.
- Criteria Name: Split by PaymentTerm
- CriteriaValue: PaymentTerm
- Object: OrderLineItem
- Action: Split
When an order is split using this criteria, all lines with "Net 30" go into one order, "Net 60" into another order.
