Describe the issue
The function GetCurrencyCodeFromHeader in table 298 "Issued Reminder Line" and table 296 "Reminder Line" gets the Currency Code from the header.
But the statement in line 351 is never true, because the locale variable is always empty and it reads for every Amount field and line the header new.
https://github.com/microsoft/BusinessCentralApps/issues/1875
Expected behavior
Only read once the Header.
Steps to reproduce
Set a breakpoint at the line in the code and open a Issued Reminder or Reminder.
Additional context
The local variable should be deleted.
I will provide a fix for a bug
Describe the issue
The function GetCurrencyCodeFromHeader in table 298 "Issued Reminder Line" and table 296 "Reminder Line" gets the Currency Code from the header.
But the statement in line 351 is never true, because the locale variable is always empty and it reads for every Amount field and line the header new.
https://github.com/microsoft/BusinessCentralApps/issues/1875
Expected behavior
Only read once the Header.
Steps to reproduce
Set a breakpoint at the line in the code and open a Issued Reminder or Reminder.
Additional context
The local variable should be deleted.
I will provide a fix for a bug