Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[E-Document Core] - Skip duplicated E-Documents when receiving from service #27953

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
change assert to use helper function
  • Loading branch information
petemchlk committed Jan 13, 2025
commit 5290d81547b4d70a8889feebb83b329687995c33
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ codeunit 139628 "E-Doc. Receive Test"
EDocument2.SetRange("Incoming E-Document No.", EDocument."Incoming E-Document No.");
EDocument2.SetRange("Document Date", EDocument."Document Date");
EDocument2.SetFilter("Entry No", '<>%1', EDocument."Entry No");
Assert.IsTrue(EDocument2.IsEmpty(), 'Duplicate E-Document created.');
Assert.RecordIsEmpty(EDocument2);
end;

[ModalPageHandler]
Expand Down