generateForecastRevenueSchedule API generates Forecast Revenue Schedules for a given agreement ID. This API also updates the Agreement, Agreement Fee, Agreement Prepay, Agreement Trueup and Forecast Revenue Summary records. Forecast Revenue Snapshots are also created.
result generateForecastRevenueSchedule(agreementID)
This API accepts agreement ID and generates 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 generated successfully.
Returns false if the forecast revenue schedules are not generated.
Code Sample
ID agreementID = 'a566A000000PRh5QAG';
Apttus_Revenue2.RevRecAction.generateForecastRevenueSchedule(agreementID);