Download page Updating Forecast Revenue Schedules With Actuals.
Updating Forecast Revenue Schedules With Actuals
updateForecastRevenueScheduleFromActuals API updates the Agreement Forecast Amount and units of the Agreement Forecast Revenue Schedule from Revenue Forecast Schedule based on the actual amount for a given agreement ID and period date.
result updateForecastRevenueScheduleWithActuals(agreementID, periodDate)
This API accepts agreement ID and period date as input parameters. It updates the Forecast Amount and units for a given agreement ID and period.
Request Parameters
Request
Field
Type
Required
Description
agreementID
ID
Yes
ID of the Agreement.
periodDate
Date
Yes
The period date to update the forecast units and amounts.
Response Parameter
Response
Field
Type
Description
result
Boolean
Returns true if the forecast revenue schedules are updated.
Returns false if the forecast revenue schedules are not updated.
Code Sample
ID agreementId = 'a566A000000PRh5QAG';
periodDate = Date.newInstance(2018,01,31)
Apttus_Revenue2.RevRecAction.updateForecastFeeScheduleFromActuals(agreementId, periodDate);