Right now, the currency revaluation record follows the posting date and posting period of the related bill/invoice record.
How to make it follow the payment record posting date/posting period instead?
Or, instead of creating a currency revaluation record, the exchange loss/gain is recorded as well in the payment record and not in a separate transaction like the currency revaluation record?