Download page Updating Actual Percent Complete on Agreement Fee.
Updating Actual Percent Complete on Agreement Fee
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
Field
Type
Required
Description
feeID
ID
Yes
ID of the Agreement Fee
percentComplete
Decimal
Yes
The percentage complete number
Response Parameter
Response
Field
Type
Description
result
Boolean
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);