Skip to content

[Bug]: Issued/Reminder Line GetCurrencyCodeFromHeader() #8850

Description

@FSchneiderYav

Describe the issue

The function GetCurrencyCodeFromHeader in table 298 "Issued Reminder Line" and table 296 "Reminder Line" gets the Currency Code from the header.

Image

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

  • I will provide a fix for a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    FinanceGitHub request for Finance area

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions