updateDependentsCurrency API updates the currency value of all the agreement dependents.  For a given agreement ID, it updates the currency field of the agreement fee, prepay and trueup dependent on the agreement.

updateDependentsCurrency(agreementID, currencyCode)

This API accepts agreement ID and currency code as input parameters.  For a given agreement ID, it updates the currency field of the agreement fee, prepay and trueup with the provided currency code.

Request Parameters

Request
FieldTypeRequiredDescription
agreementIDIDYesID of the Agreement
currencyCodeStringYesCurrency code to update the agreement dependents with

Code Sample

ID agreementId = 'a566A000000PRh5QAG';
String currencyCode = 'INR'
Apttus_Revenue2.RevRecAction.updateDependentsCurrency(agreementId, currencyCode);
CODE