code change · fixAdministration & Setupofficial - Microsoftreviewed - checked by Opus

#12320 Fix 409 conflict in APIV2 Company Info E2E description test

Fixed 409 conflict errors in APIV2 Company Info E2E tests by disabling test isolation to allow commits to take effect, and changed Environment Information reads to no longer write the singleton record.

Pull request · merged into main (BC30) on 2026-10-06 by darjoo · 2 files (+15 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Test isolation disabled on the APIV2 Company Info E2E codeunit so Commit() takes effect before web-service calls
  • GetEnvironmentDescription now uses Get() and no longer inserts the Environment Information record on read
  • TestGetCompanyAndEnvironmentDescriptions restores the original company and environment descriptions after the GET
  • Environment Information row is now created on first write instead of first read
  • Fix still has to be validated in NAV, where both test methods are currently disabled
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#646383, AB#652692
  • Labels: AL: Apps (W1), AL: System Application, Team: Integrations
  • Systems: administration
  • From the description: “The GET then fails with 409 (“record in table ‘Company Information’ is being updated in a transaction done by another session”).”

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).