Clones an existing master quote or order. It copies all groups and their members. It doesn’t copy Sub Quote/Order.
Input Parameters
|
Parameter |
Required |
Description |
|---|---|---|
|
parentId |
Opportunity ID. |
|
|
masterQuoteId |
Master quote or order ID (the ID of the record that need to be cloned). |
|
|
name |
Name of the cloned master quote or order. Name shouldn’t be duplicated within the opportunity. |
Output Parameters
|
Parameter |
Description |
|---|---|
|
masterCartId |
Master quote or order ID of cloned record. |
|
message |
In case of any error. |