[Bug]: Very old inconsistency in Exchange rate Adjustment code
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).
I will provide a fix for a bug
- [ ] I will provide a fix for a bug
Internal Work Item: AB#624237
Internal work item created for the product group. Thanks for reporting.