FX_OVERRIDE_RATE(%ovr_rate_acc%,
%ovr_acc%,
%fx_diff_acc%,
%CURR%)
This formula is similar to FX_OVERRIDE, but the first parameter is the name of an account where the translation rate is entered in place of the translated amount. See FX_OVERRIDE.
Parameters:
% ovr_rate_acc% The account from which to read the overriding rate
%to_ovr_acc% The account to override
%fx_diff_acc% The account used to post the difference from default
%CURR% The reporting currency of the overriding rate
General remarks:
This formula does not require a lookup.
It can be invoked multiple times before a commit.
It MUST be executed AFTER the default translation.
The section MUST NOT contain any clear_destination instruction.
To use this formula, enter one or more lines in the logic that call this formula with the appropriate parameter values, as in the following example:
Example
FX_OVERRIDE_RATE(OVR_ACC3_USD_RATE, ACC3, FXDIF_ACC3_USD, USD)
FX_OVERRIDE_RATE(OVR_ACC4_USD_RATE, ACC4, FXDIF_ACC4_USD, USD)
*COMMIT