ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Bug]: Very old inconsistency in Exchange rate Adjustment code

Open RadekZebrowski opened this issue 9 months ago • 1 comments

Describe the issue

Currently in Codeunit 699 in SetPostingDimensions we have a line: GenJournalLine."Dimension Set ID" := DimMgt.GetDimensionSetID(TempDimSetEntry);

Expected behavior

This line should clearly be like any other lines in this procedure - using provided parameter variable - not a global one: GenJournalLine."Dimension Set ID" := DimMgt.GetDimensionSetID(DimensionSetEntry);

Steps to reproduce

N/A

Additional context

This issue has been present before introducing Codeunit 699. It was always the same: incorrect variable being used in PostGenJnlLine procedure (after refactoring the line now is in SetPostingDimensions with the same issue as it was earlier).

Image

I will provide a fix for a bug

  • [ ] I will provide a fix for a bug

Internal Work Item: AB#624237

RadekZebrowski avatar Feb 18 '26 15:02 RadekZebrowski

Internal work item created for the product group. Thanks for reporting.

JesperSchulz avatar Mar 05 '26 11:03 JesperSchulz