---
id: change/bcapps/10927
type: change
title: "#10927 [Change Log] Preserve SystemId for unloaded record modifications"
summary: Change Log Management now preserves the SystemId from persisted records when modifications are recorded without the record being loaded first, fixing incorrect null SystemId values in change entries.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit change log management
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:51.095Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4590d8813eab4205c0eb82ee30fdecf927f6c626
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10927
    title: "microsoft/BCApps#10927: [Change Log] Preserve SystemId for unloaded record modifications"
    date: "2026-09-08"
    commit: 4590d8813eab4205c0eb82ee30fdecf927f6c626
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/423
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10927
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10927
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-08T12:53:14Z"
author: onbuyuka
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 45
  deletions: 1
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/423
    page: codeunit/423
    type: codeunit
    id: 423
    name: Change Log Management
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 648652
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10927 [Change Log] Preserve SystemId for unloaded record modifications

> Change Log Management now preserves the SystemId from persisted records when modifications are recorded without the record being loaded first, fixing incorrect null SystemId values in change entries.

[Pull request](https://github.com/microsoft/BCApps/pull/10927) · merged into `main` (BC30) on 2026-09-08 by onbuyuka · 2 files (+45 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- When an incoming modification has a null SystemId, Change Log uses the persisted record it already loaded
- No extra database read; the populated-SystemId path and public signatures stay unchanged
- Fixes Changed Record SystemId on modification entries
- Change Log entries for failed inserts are a separate platform issue and are not addressed
- Adds a regression test for modifying a record by primary key without loading it first
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 423 "Change Log Management"](../../objects/codeunit/423.md), Base Application: modified

## Context

- Work items: AB#648652
- Labels: Team: Integrations
- Systems: development

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