Hello Dynamics Developers/ consultants.
I am aware, that when we post receipt journal (in Accounts Receivable) in some other currency other than the default currency of the current company, there are vouchers posted for Exchange rate gain / Exchange rate loss.
In this example, I have posted the journal for AUD, but the default currency is NZD and the highlighted lines have been posted for Exchange rate gain.
The lines for the Exchange rate gain are posted without any financial dimensions. I know that the financial dimensions for the accounts can be fixed on the setup.
But, I have a requirement where I have to change the financial dimensions dynamically by picking default dimensions of the customer account.
But, I am unable to find the class and method which actually creates and posts the Exchange rate gain / loss where I can explicitly customize the code to update the financial dimensions according to my requirement.
Any help on this would be highly appreciated.
Thanks in advance.