Skip to content

Move date assignment before FindPostedDocumentWithSameExternalDocNo#7033

Merged
mynjj merged 1 commit into
mainfrom
bugs/624573
Mar 10, 2026
Merged

Move date assignment before FindPostedDocumentWithSameExternalDocNo#7033
mynjj merged 1 commit into
mainfrom
bugs/624573

Conversation

@mynjj
Copy link
Copy Markdown
Contributor

@mynjj mynjj commented Mar 9, 2026

Summary

  • Move the assignment of Document Date and Due Date before the explicit call to FindPostedDocumentWithSameExternalDocNo in EDocCreatePurchaseInvoice
  • In ES localization, the date is needed to perform the duplicate invoice validation, so it must be set before that check runs

Fixes AB#624573

@mynjj mynjj requested a review from a team as a code owner March 9, 2026 09:31
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label Mar 9, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Mar 9, 2026
@mynjj mynjj requested review from a team and Groenbech96 March 9, 2026 10:25
@mynjj mynjj enabled auto-merge (squash) March 9, 2026 10:25
mynjj added a commit that referenced this pull request Mar 10, 2026
…ocNo (#7035)

Cherry-pick of #7033 to releases/28.0

Fixes
[AB#624578](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/624578)

Co-authored-by: Joshua Martínez Pineda <diegojoshuam@microsoft.com>
mynjj added a commit that referenced this pull request Mar 10, 2026
…ocNo (#7034)

Cherry-pick of #7033 to releases/28.x

Fixes
[AB#624579](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/624579)

Co-authored-by: Joshua Martínez Pineda <diegojoshuam@microsoft.com>
@mynjj mynjj merged commit edc1c1f into main Mar 10, 2026
52 checks passed
@mynjj mynjj deleted the bugs/624573 branch March 10, 2026 10:53
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants