rollbackRevenueSchedule API rollbacks revenue schedules for a given agreement ID.

result rollbackRevenueSchedule(agreementID)

This API accepts agreement ID and rollbacks the Revenue Schedules for that agreement. 

Request Parameters

Request
FieldTypeRequiredDescription
agreementIDIDYesID of the Agreement


Response Parameter

Response
FieldTypeDescription
resultBoolean

Returns true if the revenue schedules are rollbacked successfully.

Returns false if the revenue schedules are not rollbacked.

Code Sample

ID agreementID = 'a566A000000PRh5QAG';
Apttus_Revenue2.RevRecAction.rollbackRevenueSchedule(agreementID);
CODE