Code changes / this week
56 code changes in the 7 days up to 2026-12-06
Change pages of Microsoft's Business Central repositories merged in the 7 days up to 2026-12-06, the same week as the galaxy's this-week lens. Pull requests without a page (bots, backports, no source change) are counted in the weekly digest. All changes: Code changes.
Breaking 1
- #14470 [Master Data Management] Bug bash fixes for cross-environment synchronizationMaster Data Management cross-environment synchronization received security fixes addressing URL handling, audit logging with client credentials, indirect read permissions via source API, and preventing system table synchronization.
Features 8
- #14884 [Expense Agent] Replace the receipt of a corporate card expenseThe Expense Agent now supports replacing receipts on corporate card expenses that already have one through an API-only feature, allowing users to swap receipts without removing the expense from reports or losing line edits.
- #13208 [E-Documents] XRechnung: Events to override buyer, delivery and order reference valuesNew integration events allow partners to override buyer, delivery, and order reference values in XRechnung export before XML elements are created, eliminating the need to patch finished XML documents.
- #14695 Support Markdown files in Business Skills importBusiness Skills import now supports Markdown files alongside XML through the same import action, with YAML frontmatter parsing for metadata and batch file processing capabilities.
- #11156 Allow controlled changes to item tracking codesItem tracking codes can now be changed after posting history exists, provided the item is in a safe state with zero inventory and no open ledger entries.
- #14739 Opting in for Data query tools in Agent metadata for PAThe Payables Agent now supports data query tools and benefits from refined prompt instructions based on initial testing to improve agent behavior.
- #14060 [Shopify] Automatically move negative exchange linesShopify shop configurations now offer an option to automatically move negative exchange lines from return orders into separate sales documents (orders or invoices) before release, with rollback protection and enhanced warning handling.
- #14388 [IRS Forms] Prepare IRIS for tax year 2026IRS 1099 IRIS reporting has been enhanced to support tax year 2026 while keeping support for 2025, including schema-specific implementations, supplemental MISC/NEC document handling, updated configuration workflows and improved transmission diagnostics.
- #14540 Add read-only troubleshooting session pagesNew read-only troubleshooting session pages in System Application let users search and review saved AI troubleshooting sessions filtered by status, with the ability to show all sessions or return to active ones.
Fixes 35
- #10063 Fix the shadowed header cache in reminder line GetCurrencyCodeFromHeaderFixed a variable shadowing bug in GetCurrencyCodeFromHeader() on reminder and issued reminder line tables that caused the header to be re-read from the database on every single call instead of using the cache. Table 298 uses a simple deletion of the shadowing local, while table 296 adds a dedicated global to avoid breaking an existing cache contract.
- #14830 Initialize NoOfDetailedCustomerEntries in OnFindRecord - Fixes #13621The Customer Ledger Entry FactBox now correctly clears the detailed ledger entries count when the linked customer ledger entry is cleared.
- #14192 Changed misleading logic of onedrive file creation to not always fallback to file already existsOneDrive file creation logic was corrected to avoid always falling back to assuming the file already exists when creation attempts fail.
- #14738 [Main][All-E] Vendor Bank Account Approval Workflow: Approve/Reject/Delegate events cannot be re-added after deletionFixed a bug where the Approve, Reject, and Delegate events in Vendor Bank Account Approval Workflow could not be re-added after deletion by establishing missing predecessor relationships in the workflow event library.
- #14771 [Master]-Purchase Invoice Statistics Does Not Display Tax Jurisdictions When First Opened - CopyIn the NA localization, Purchase Invoice Statistics now shows tax jurisdictions when it is first opened from the Purchase Invoice page. A test covers the scenario.
- #14810 Deliverable 660642: Handle Receipt number required vs. no receiptExpense Agent now allows missing receipt numbers for expenses below the category limit when 'no receipt' option is enabled, even if receipt numbers are generally required.
- #14839 Bug 660990: [29x][NAV] Track Translation update (AUTODETECTED)The Create Expense GL Account codeunit in the Expense Agent app now applies safer filtering on the account name when it does a wildcard search.
- #14844 Subcontracting: Skip subcontracting price calculation for routing lines without a work centerSubcontracting price calculation now skips routing lines without a work center, preventing errors when setting Standard Task Code on blank work center operations.
- #14845 Inventory: Transfer Routes matrix shows a configured in-transit code for direct routesThe Transfer Routes Matrix now correctly displays a configured in-transit code for direct routes instead of always showing 'Direct', allowing visibility of the code without opening the route details.
- #14847 Subcontracting: Don't offer WIP transfer receipt lines for item chargesItem Charge Assignment in subcontracting no longer offers WIP transfer receipt lines for assignment, preventing posting failures caused by division by zero when charges are split between component and WIP lines.
- #14848 Payables Agent V2: make Item References read-only for the agentThe Payables Agent V2 profile now shows Item References as read-only, preventing the agent from opening an editable copy that it cannot close and causing task loops.
- #14879 Purchases: Restore order quantities when posting a corrective credit memo from the listPosting a corrective purchase credit memo from the Purchase Credit Memos list now properly restores order quantities when that setting is enabled, matching the behavior of posting from the card.
- #14498 Return the saved description for accessible Agent Builder agentsAgent Builder now returns the saved description for accessible agents after verifying use and company access permissions.
- #14539 [Master]- Onward WIP shipment records the destination work center on the source operation's ledger entryFixes a subcontracting issue where posting an onward WIP shipment recorded the destination work center on the source operation's ledger entry. The posting logic in Subc. Transfer WIP Posting is corrected and new tests are added.
- #14613 Receipt on Invoice: posting an invoice matched to only some lines of a purchase order failsFixed purchase invoice posting when matched to only some lines of a purchase order with Receipt on Invoice. The fix ensures that only matched order lines are received during invoice posting, while unmatched lines retain their quantity to receive for later invoicing.
- #14687 [Main] [All-e]Correct/Cancel on Posted Purchase Invoice fails with "External Document No. must have a value" when Ext. Doc. No. Mandatory and Calc. Inv. Discount are enabled and Credit Memo Nos. and Posted Credit Memo Nos. has the same codeCorrect and Cancel on a posted purchase invoice no longer fail with External Document No. must have a value when Ext. Doc. No. Mandatory and Calc. Inv. Discount are on and credit memo series match. The corrective credit memo header is now saved right after its vendor reference is set.
- #14774 [29x]Track failed BCApps validationFixes a bug in the Purchase Alloc. Acc. Mgt. codeunit (W1 and ES layers) for purchase allocation accounts on BC29, and adds end-to-end allocation account purchase tests in the IT, NL, NO and W1 layers.
- #14812 Fix report filename pattern identity metadata (AB#661303)Table 8125 Report Filename Pattern now includes identity metadata with DataCaptionFields and FieldGroups to provide descriptive display for metadata-driven consumers like Copilot Change Log.
- #14840 Bug 660990: [29x][NAV] Track Translation update (AUTODETECTED)String field filtering in the Create Expense GL Account codeunit was updated to use safer filtering methods to fix a known issue.
- #14526 Warn when the Payables Agent setup is opened for another company's agentThe Payables Agent setup page now displays a warning when opened for another company's agent, explaining that changes won't be saved and directing users to open the setup in the agent's own company.
- #14829 [SOA] Respect review settings and remove Business Skills setup notificationSales Order Agent now respects review settings and removes Business Skills activation notification. Quote and order review policies are explicitly scoped to prevent incorrect review inference, and the setup notification is removed while preserving configuration updates.
- #13103 Main [All-E] Vendor-supplied component purchase lines use incorrect requirement and Order DatesInitial commitVendor-supplied component purchase lines in subcontracting now use correct requirement and order dates, matching production order component due dates while preserving routing operation ending dates for service lines.
- #14282 [Shopify] Check staff access independently of plan detectionShopify connector now checks staff member access independently through API queries instead of relying solely on plan detection, preventing import failures when Shopify denies access despite showing Advanced plan status.
- #14537 [Main][all-e]Subscription Billing: posting or previewing a contract renewal Sales Order fails with "International Standard Code" error when e-invoicing (PEPPOL / XRechnung) is active in the German version. - CopyFixed a unit code resolution error in PEPPOL e-invoicing when posting subscription contract renewal sales orders with extension-defined line types.
- #14575 [Main][All-e]Sales Invoice created from Customer Subscription Contract adds VAT/GST on top of the Contract Amount if Customer has Prices Incl. VAT selected in versionFixed a bug where sales invoices created from customer subscription contracts incorrectly added VAT on top of the contract amount when the customer had prices including VAT enabled. The fix ensures VAT conversion is only applied to subscriptions originating from sales orders, not manually entered contract prices.
- #14676 [29.x][All-e]Sales Invoice created from Customer Subscription Contract adds VAT/GST on top of the Contract Amount if Customer has Prices Incl. VAT selected in version 29 - Regression.Fixed billing calculations for subscription invoices when customers have prices including VAT enabled. The fix ensures manually entered contract prices remain VAT-inclusive instead of adding VAT on top.
- #14685 Bug 660019: [SOA] Email configuration change is not saved if Monitor emails is not activeSales Order Agent now saves email configuration changes even when email monitoring is disabled, ensuring folder and account selections persist regardless of the monitoring flag state.
- #13479 [29.x][ALL-E] Canceling a posted purchase invoice fails or misallocates item charges assigned to posted document types other than Purchase ReceiptsFixed a bug where canceling a posted purchase invoice could fail or reverse item charges incorrectly when charges were assigned to documents other than Purchase Receipts. The fix now handles all supported document types and uses the correct cost amount field for each.
- #14358 [29.x]- Edit in Excel insert fails on Price List Lines (Page 7001) — Unit of Measure Code validated before Product No. is set causing NavTestFieldException on Price Asset (Table 7003)Inserting price list lines through Edit in Excel no longer fails with a Product No. error when the row includes a Unit of Measure Code. The CopyRecTo procedures in the Price List Line table now use the current record, not the outdated xRec, for new lines or OData clients. The web client is unchanged.
- #14427 [main] Bug 660065 Direct transfer with "Shipment and Receipt" posting can't be posted when an In-Transit Code is specifiedDirect transfers with 'Shipment and Receipt' posting now succeed when an In-Transit Code is specified, by allowing the shipment leg to post to a real in-transit location instead of requiring a blank location.
- #14508 [29.x]-Warehouse Picks Creating Incorrect Line Splitting final pick.Fixed warehouse pick creation when FEFO and no breakbulk are configured by ensuring lot availability is calculated only from bins with the requested unit of measure, preventing incorrect line splitting and shipment shortages.
- #14574 [Main]ERM Purchase Payables.UnreliazedGainLossEntrieAreClearWhenUsingMultiplePostingGroups fails (G/L account not balanced)- #13241Fixes the failing UnreliazedGainLossEntrieAreClearWhenUsingMultiplePostingGroups test, which hit an unbalanced G/L account when a payment used a different vendor posting group than the invoice. The test setup now maps alternate vendor posting groups in both directions, and Gen. Jnl.-Post Line is also modified across localization layers.
- #14614 Honor subscriber-provided vendor email body report selectionsGetEmailBodyForVend now honors a report selection supplied by a subscriber to OnGetEmailBodyVendorTextOnAfterNotFindEmailBodyUsage when no vendor email body is configured. Previously it returned false even when the subscriber set EmailBodyUsageFound to true, so the layout never rendered.
- #14638 [29.x]-Adjust Cost Creates an Output Value Entry with Entry Type = Variance and Expected Cost = Yes After Reversing a Finished Production Order.Fixed a bug where Adjust Cost incorrectly created variance value entries with Expected Cost set to Yes instead of No for reopened and reversed production orders, which caused G/L posting failures.
- #14645 [29.x][Subcontracting] Create Return includes components and WIP from unrelated purchase orders- #14502Return transfer orders in subcontracting now correctly filter by purchase order number to prevent including lines from unrelated orders.
Other 5
- #14780 [Performance] In Vendor - Balance to Date report, avoid rescanning the vendor's full application historyReport 321 'Vendor - Balance to Date' now skips rescanning the vendor's full application history when calculating totals, using marked entries instead to significantly improve performance for vendors with lengthy transaction histories.
- #12958 Enable Cloud targets for Automatic Account Codes and FA Reports FR testsAutomatic Account Codes and FA Reports FR tests are converted to target Cloud environments while maintaining existing test coverage, with test helpers refactored to use qualified record references and internal methods introduced for FA report parameter setters.
- #14783 [Performance] In Customer - Balance to Date report, avoid unnecessary checks of every closed entry in the customer's historyThe Customer - Balance to Date report now skips unnecessary checks on closed ledger entries by only examining those with application details after the ending date, significantly reducing run time for customers with large transaction histories.
- #14665 Group Business Skill content actions under ActionsBusiness Skill Content Part page now groups View history and Download content actions under an Actions menu, keeping them available without appearing as separate prominent actions.
- #14706 [main] Clarify Expense Agent evaluation wordingThe Expense Agent setup wizard now clarifies that the evaluation is experimental and subject to change, with a shared allowance across the environment and no automatic posting.
Tooling (AL-Go, BCQuality) 7
- #2465 De-duplicate library app dependencies when delivering app source apps.AL-Go now removes duplicate library app dependencies when delivering app source apps, keeping only the highest version when the same dependency appears multiple times.
- #292 Refactor review fixtures into article-local registrationsReview fixtures can now be registered in article-local JSON files next to the central manifest, so independent pairs and deployment contexts no longer need edits to one shared array. One existing workflow pair moves to the new format, and all 345 cases, IDs, contexts and scoring stay the same.
- #2479 Harden PR file validation and refresh E2E coverageTightens AL-Go's PR file validation in the VerifyPRChanges action, adds regression tests for it, and makes E2E upgrade testing start at v9.0.
- #279 knowledge(testing): a changed permission set needs a test that runs an allowed operation under itPermission set testing guidance now requires tests that verify allowed operations work under the modified set, catching missing or incomplete grants that only surface at customer sites.
- #289 workflow-library-registrationAdds a knowledge article with good and bad AL examples explaining that custom workflow events, responses and table relations should be registered through the workflow library extension points. Entries registered only during installation can disappear when Business Central rebuilds the libraries during an upgrade.
- #290 Attachment cleanup by document typeQuality guidance added for Business Central 29 on scoping attachment cleanup by document type in sales headers, since quotes and orders can share the same number.
- #291 Document external business event transaction behaviorDocumentation and skill examples added to clarify that external business event notifications are sent only after commit and are lost on rollback, with new examples for the events review skill covering BC 22.