generateTerminateRevenueSchedule API generates Revenue Schedules for the agreement ID and terminates the agreement by setting RevRec Active flag as false.

result generateTerminateRevenueSchedule(agreementID)

This API accepts agreement ID of an agreement and generates Revenue Schedules for that agreement. After generating revenue schedules, the agreement is terminated.

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.generateTerminateRevenueSchedule(agreementID);
CODE