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
Field
Type
Required
Description
agreementID
ID
Yes
ID of the Agreement
Response Parameter
Response
Field
Type
Description
result
Boolean
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);