Removes all line items from a specified CLIC (Quote,Agreements & Promotions (Contract), Rebate Agreement, Compensation Plan) object.
This action can be performed only on doucments in the DRAFT
status.
If 'Recalculate after line item modification' option is set then the document is recalculated.
OK
{ }
{- "response": {
- "node": "pricefx-cluster-app-frontend-657c8dd448-5w72q",
- "data": [
- {
- "version": 8,
- "typedId": "2147494437.Q",
- "uniqueName": "P-2147494437",
- "label": "New Quote",
- "targetDate": "2024-05-13",
- "workflowStatus": "DRAFT",
- "inputs": null,
- "viewState": null,
- "outputs": null,
- "lastUpdateByName": "admin",
- "createdByName": "admin",
- "submittedByName": null,
- "calculationStatus": 2,
- "dirty": false,
- "refreshInputs": false,
- "nodeId": 0,
- "userGroupEdit": null,
- "userGroupViewDetails": null,
- "serverMessages": [
- "3 items have been removed"
], - "additionalInfo1": null,
- "additionalInfo2": null,
- "additionalInfo3": null,
- "additionalInfo4": null,
- "numberOfAttachments": 0,
- "creationWorkflowStatus": "DRAFT",
- "creationWorkflowCurrentStep": null,
- "creationWorkflowStepCount": null,
- "creationWorkflowStepLabel": null,
- "originDeleted": null,
- "originLabel": null,
- "originUniqueName": null,
- "expiryDate": "2024-05-13",
- "externalRef": null,
- "locked": false,
- "customerId": null,
- "customerName": null,
- "originClicId": null,
- "lostReason": null,
- "lostReasonComment": null,
- "customerGroup": null,
- "quoteStatus": "DRAFT",
- "approvedByName": null,
- "deniedByName": null,
- "hasWorkflowHistory": false,
- "serverMessagesExtended": [
- {
- "key": "REMOVAL",
- "message": "3 items have been removed",
- "source": "ITEMS"
}
], - "renderInfo": null,
- "approvalRequiredEmailAttachmentsJson": null,
- "createDate": "2024-05-13T14:05:43",
- "createdBy": 2147490696,
- "lastUpdateDate": "2024-05-13T14:06:28",
- "lastUpdateBy": 2147490696,
- "supersededBy": null,
- "prevRev": null,
- "rootUniqueName": "P-2147494437",
- "lastCalculationDate": "2024-05-13T14:05:53",
- "quoteType": "default",
- "status": "DRAFT"
}, - {
- "": [
- "W1bqKR9TMbKNMZz",
- "C2t0HFsJFnRn4gq",
- "1p2fN8CZkvTwTYh"
]
}
], - "status": 0
}
}