CLOAVEPRIOR (PEL)
This function returns the difference between the closing exchange rate and the prior period average exchange rate. That is, the function returns (closing rate - prior period average rate). The exchange rates apply 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 rules. 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.