Clone Options Input

Input representation of the options to clone a sales transaction.

JSON Example 

This is a sample request to clone all line items in a ramped group within a sales transaction.

1{
2  "recordIds": ["0QLxx0000004CBYGA2"],
3  "salesTransactionId": "0Q0xx0000004CE0CAM",
4  "options": {
5    "lineScope": "AllLines"
6  }
7}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
recordTypeIdStringID of the record type related to the record to clone.Optional65.0
lineScopeStringSpecifies the scope for cloning a ramp segment. You can clone only the last ramp segment. This property determines which line items must be cloned and added to the cloned segment. Valid values are AllLines—Specifies whether all line items in a ramped group must be cloned or RampedLinesOnly—Specifies whether only the ramped line items must be cloned. A segment identifier is created for the newly cloned line items, ensuring date continuity between the existing and cloned segment.Optional65.0