rollbackForecastRevenueSchedule API rollbacks forecast revenue schedules for a given agreement ID. The values of Agreement Trueup, Agreement Fee, and Agreement records are updated. It also deletes Forecast Revenue Schedules, Prepay, Revenue Summary, Forecast Snapshot, and task history records. 

result rollbackForecastRevenueSchedule(agreementID)

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

Request Parameters

Request
FieldTypeRequiredDescription
agreementIDIDYesID of the Agreement


Response Parameter

Response
FieldTypeDescription
resultBoolean

Returns true if the Forecast revenue schedules are rollbacked successfully.

Returns false if the Forecast revenue schedules are not rollbacked.

Code Sample

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