createForecastRevenueSnapshot  API creates a snapshot of the Revenue Forecast for the given Agreement ID.

result createForecastRevenueSnapshot(agreementID, snapshotName)

This API accepts agreement ID and name of the snapshot as input parameters. It creates a forecast revenue snapshot for the agreement ID.

Request Parameters

Request
FieldTypeRequiredDescription
agreementIDIDYesID of the Agreement.
snapshotNameStringYesName of the snapshot. Revenue Snapshot is created with this name.


Response Parameter

Response
FieldTypeDescription
resultBoolean

Returns true if the forecast revenue snapshot is created.

Returns false if the forecast revenue snapshot is not created.



Code Sample

ID agreementId = 'a566A000000PRh5QAG';
String snapshotName = 'JanuarySnapshot'
Apttus_Revenue2.RevRecAction.updateForecastFeeScheduleFromActuals(agreementId, snapshotName);
CODE