computeActualAmountForFreeSchedules API computes the Actual Amount of the Agreement Revenue Schedules.

feeSchedules computeActualAmountForFeeSchedules(feeID, schedules)

This API computes the Actual Amount and Forecast Amount for Agreement Fee Schedules based on the RevRec Rule set on the Agreement Fee. It returns the list of Agreement Fee Schedules.  It also updates the Actual Amount and Forecast Amount in the Agreement Fee Schedules.

Request Parameters

Request

Field

Type

Required?

Description

feeID

ID

Yes

ID of the Agreement Fee

schedulesList <ID>YesThe list of Agreement Fee Schedule IDs

Response Parameter

Response

Field

Type

Required?

Description

schedulesList <ID>YesThe list of Agreement Fee Schedule IDs

Code Sample

ID feeId = 'a566A000000PRh5QAG';
List<Id> feeScheduleIds = new List<Id>();
feeScheduleIds.add('a566A000000PRh5QAG');
Apttus_Revenue2.RevenueWebService.computeActualAmountForFeeSchedules(feeId, feeScheduleIds); 
CODE


feeSchedules computeActualAmountForFeeSchedules2(feeID, schedules)

This API computes the Actual Amount and Forecast Amount for Agreement Fee Schedules based on the RevRec Rule set on the Agreement Fee. It returns the list of Agreement Fee Schedules. 

Request Parameters

Request

Field

Type

Required?

Description

feeID

ID

Yes

ID of the Agreement Fee

schedulesList < Agreement Fee Schedule Object>YesThe list of Agreement Fee Schedule object

Response Parameter

Response

Field

Type

Required?

Description

schedulesList <ID>YesThe list of Agreement Fee Schedule IDs


Code Sample

ID feeId = 'a566A000000PRh5QAG';
List<Apttus_Revenue2__Agreement_Fee_Schedule> feeSchedules = new List<Apttus_Revenue2__Agreement_Fee_Schedule>();
feeSchedules.add(new  Apttus_Revenue2__Agreement_Fee_Schedule (Id = '', Name ='', Other Data....));
Apttus_Revenue2.RevenueWebService.computeActualAmountForFeeSchedules2(feeId, feeSchedules); 
CODE