Populate Sell-to E-Mail in PEPPOL test sales helpers#8113
Conversation
DE PEPPOL 3.0 validation adds a TestField on "Sell-to E-Mail" that the W1 PEPPOL test fixtures don't satisfy. Set the field in the central sales-doc helpers so shared tests pass when a DE localization layer is installed on top of W1: - PEPPOLBISBillingTests.CreateSalesHeader - PEPPOL30ManagementTests.CreatePostSalesDoc - PEPPOL30ManagementTests.CreatePostSalesDocWithShipToAddress - PEPPOL30ManagementTests.CreatePostSalesInvoiceFCY Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
AL Documentation Audit
Documentation gaps were detected in the following apps:
- PEPPOL-Tests: 0% documentation coverage
To generate documentation, run /al-docs init or /al-docs update using GitHub Copilot CLI or Claude Code.
This review is for awareness to help keep documentation in sync with code changes. It is okay to dismiss this request.
These tests fail because the test environment is missing a default Agent Model record, and (for the Dataverse Table Builder tests) for unrelated reasons. Tracked in AB#634925 for re-enablement. Related to AB#634925 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
c147d30
Bug 635039 (split from 634925): TestGenerateTableExtension and TestCommitGenerationWithoutStarting passed on the first run in PR #8113's failed build (run 25719999510); they only failed on the rerun triggered by the unrelated Agent Task Test failures, with errors AL0155: ...mockfield5 is already defined...by 'CRM Sync Designer by Designer (1.3.0.0)' and An error was expected inside an ASSERTERROR statement - both consistent with leftover server-side state from the first run that Initialize()'s UninstallExtension/ClearGeneration cannot reverse on rerun. These are not real failures, so they should not be disabled. Drop both Dataverse entries from DisabledFailingTests.json; the unrelated Agent test entries (bug 634925) stay disabled. Fixes AB#635039 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| @@ -0,0 +1,38 @@ | |||
| [ | |||
There was a problem hiding this comment.
Six agent tests disabled with no remediation date
Six tests across Agent Task Test and Agent Test codeunits are disabled referencing bug 634925 with no timeline for re-enabling them. Disabling tests to bypass failures rather than fixing them permanently reduces confidence in agent task and model-ID functionality correctness.
Recommendation:
- Track the re-enablement of these tests as an explicit acceptance criterion for bug 634925. Add a comment or linked work item to the JSON entries, and set a target milestone so the tests are not silently forgotten.
| [ | |
| { | |
| "bug": "634925", | |
| "targetVersion": "30.0", | |
| "codeunitId": 133960, | |
| "codeunitName": "Agent Task Test", | |
| "method": "CreateTaskWithModelIdAndVerify" | |
| } |
👍 useful · ❤️ especially valuable · 👎 wrong - reply with why
Summary
Sell-to E-Mailon the Sales Header before export. The shared W1 PEPPOL tests don't populate it, so they fail when a DE localization layer is installed on top of W1.PEPPOLBISBillingTestsandPEPPOL30ManagementTestsso the W1 fixtures remain compatible with localizations that add stricter validation.CRM Sync Designerextension state leaks between runs), so they are kept enabled and tracked separately by AB#635039.AB#634871
Fixes AB#635039
Test plan
ExportXml_PEPPOL_BIS3_SalesInvoice_CheckTaxTotalWhenUnitPriceZeroand other PEPPOL export tests pass with a DE-style validation layer installed.