updateFeeSchedulewithPercentage API fetches current period agreement fee schedule for a given agreement fee id and updates the Percent value for that Agreement Fee.

result updateFeeScheduleWithPercentage(feeID, percentComplete)

This API accepts agreement feeID and percentComplete as input parameters and fetches current period agreement fee schedule for a given agreement fee id and updates the Percent value.

Ensure that you set the RevRec Rule as Percent Complete.

Request Parameters

Request
FieldTypeRequiredDescription
feeIDIDYesID of the Agreement Fee
percentCompleteDecimalYesThe percentage complete number


Response Parameter

Response
FieldTypeDescription
resultBoolean

Returns true if the Revenue Period is closed successfully.

Returns false if the revenue period is not closed.

Code Sample

ID feeId = 'a566A000000PRh5QAG';
Decimal percentComplete = 25.00;
Apttus_Revenue2.RevRecAction.updateFeeScheduleWithPercentage(feeId,percentComplete);
CODE