getRevRecForecastPeriodNumber API returns the revenue forecast period number for the given agreement ID.

result getRevRecForecastPeriodNumber(agreementID)

This API accepts the agreement ID  input parameter and returns the revenue forecast period for it.

Request Parameters

Request
FieldTypeRequiredDescription
agreementIDIDYesID of the Agreement.


Response Parameter

Response
FieldTypeDescription
periodNumberInteger

The forecast period number



Code Sample

ID agreementId = 'a566A000000PRh5QAG';
Apttus_Revenue2.RevRecAction.getRevRecForecastPeriodNumber(agreementId);
CODE