Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

Test ExportXml_PEPPOL_BIS3_SalesInvoice_CheckTaxTotalWhenUnitPriceZero failed when Czech localization validated VAT periods for test dates that don't exist in the test environment.

Changes

  • Disable VAT Reporting Date Usage in GL Setup during test initialization to prevent localization-specific VAT period validation
GLSetup.GetRecordOnce();
GLSetup."VAT Reporting Date Usage" := GLSetup."VAT Reporting Date Usage"::Disabled;
GLSetup.Modify(false);

This aligns with the existing pattern in PEPPOL30ManagementTests.Codeunit.al.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Groenbech96 <17690329+Groenbech96@users.noreply.github.com>
Copilot AI changed the title [WIP] Add PEPPOL tests Fix VAT Period validation error in PEPPOL tests Jan 28, 2026
Copilot AI requested a review from Groenbech96 January 28, 2026 18:34
@Groenbech96 Groenbech96 marked this pull request as ready for review January 28, 2026 18:37
@Groenbech96 Groenbech96 requested a review from a team as a code owner January 28, 2026 18:37
@Groenbech96 Groenbech96 merged commit 5d7a7b7 into private/magnushar/morepeppol Jan 28, 2026
1 check passed
@Groenbech96 Groenbech96 deleted the copilot/sub-pr-6267-another-one branch January 28, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants