Skip to content

Bug 602230: Fix exchange-rate dates in Dimension-Must-Be-Same test setup#9076

Draft
alexei-dobriansky wants to merge 1 commit into
mainfrom
bugs/602230-EASY-ErrorMessagesTestExchangeRateDates
Draft

Bug 602230: Fix exchange-rate dates in Dimension-Must-Be-Same test setup#9076
alexei-dobriansky wants to merge 1 commit into
mainfrom
bugs/602230-EASY-ErrorMessagesTestExchangeRateDates

Conversation

@alexei-dobriansky

@alexei-dobriansky alexei-dobriansky commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Fixes AB#602230

Test-fixture fix. SetupForDimensionMustBeSameError anchored exchange rates on Today(), but the sales document is created on WorkDate(). When the pipeline WorkDate precedes the earliest rate, Currency Factor resolved to 0 and the Sales Line insert failed. Anchor the rates on WorkDate()-1 / WorkDate()+5 to match the document date. Product code unchanged; covered by existing CU 139621.

SetupForDimensionMustBeSameError anchored exchange rates on Today(), but the
sales document is created on WorkDate(). When the pipeline WorkDate precedes the
earliest rate the Currency Factor resolved to 0 and the Sales Line insert failed.
Anchor the rates on WorkDate()-1 / WorkDate()+5 to match the document date.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label Jul 3, 2026
@alexei-dobriansky alexei-dobriansky added the SCM GitHub request for SCM area label Jul 3, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 3, 2026
@alexei-dobriansky alexei-dobriansky self-assigned this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 SCM GitHub request for SCM area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant