---
id: change/bcapps/12320
type: change
title: "#12320 Fix 409 conflict in APIV2 Company Info E2E description test"
summary: 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.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit environment information impl.
system: administration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:06.528Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 29212ba86b17197aac8212e646562afc9d4bcb39
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12320
    title: "microsoft/BCApps#12320: Fix 409 conflict in APIV2 Company Info E2E description test"
    date: "2026-10-06"
    commit: 29212ba86b17197aac8212e646562afc9d4bcb39
    t: null
    quote: The GET then fails with 409 ("record in table 'Company Information' is being updated in a transaction done by another session").
links:
  learn: []
  objects:
    - object/codeunit/3702
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12320
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12320
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-06T12:11:15Z"
author: darjoo
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "AL: System Application"
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 15
  deletions: 1
  al: 1
apps:
  - System Application
objects_touched:
  - key: codeunit/3702
    page: codeunit/3702
    type: codeunit
    id: 3702
    name: Environment Information Impl.
    app: System Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 646383
  - 652692
systems:
  - administration
quote: The GET then fails with 409 ("record in table 'Company Information' is being updated in a transaction done by another session").
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #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](https://github.com/microsoft/BCApps/pull/12320) · 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

- [Codeunit 3702 "Environment Information Impl."](../../objects/codeunit/3702.md), System Application: modified

## 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).
