CLOAVE (PEL)
This function returns the difference between the closing exchange rate and the average exchange rate. That is, this function returns (closing rate - average rate). The exchange rates are the rates of conversion between the source currency and the currency to which it is being converted.
The exchange rates are associated with a specified time period and a specified scenario. Optionally, you can override the exchange rate by entity.
Remarks
This function may only be used as part of a Currency Rule Set. In addition, you must create a model-to-model association between the financial model of interest and the Exchange Rate assumption model.
The PEL compiler cannot generate SQL code for this function.