generateFeeSchedule API generates Revenue Schedules for a given agreement ID. This API also updates the Agreement, Agreement Fee, Agreement Prepay, Agreement Trueup and Revenue Summary records. Revenue Snapshots are also created. 

result generateRevenueSchedule(agreementID)

This API accepts agreement ID and generates Revenue Schedules for that agreement. 

Request Parameters

Request
FieldTypeRequiredDescription
agreementIDIDYesID of the Agreement


Response Parameter

Response
FieldTypeDescription
resultBoolean

Returns true if the revenue schedules are generated successfully.

Returns false if the revenue schedules are not generated.


Code Sample

ID agreementID = 'a566A000000PRh5QAG';
Apttus_Revenue2.RevRecAction.generateRevenueSchedule(agreementID);
CODE