---
id: change/bcapps/12083
type: change
title: '#12083 Fix-Bug 652112 Public Preview: If a field such as "Email" is updated programmatically on the customer record, the change is not automatically transferred to the associated contact.'
summary: Changing a customer field such as Email programmatically with Modify(true) now updates the linked contact. The contact update check compares against the stored customer record instead of xRec. The Vendor and Bank Account tables were also changed in all country layers.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - table bank account
  - table vendor
  - table customer
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-11-01T00:44:15.702Z"
  flags: []
generated:
  at: "2026-11-02T00:19:12.546Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: fb8544e7fcc622a2ce8e7c26ccb7454c0c918461
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12083
    title: 'microsoft/BCApps#12083: Fix-Bug 652112 Public Preview: If a field such as "Email" is updated programmatically on the customer record, the change is not automatically transferred to the associated contact.'
    date: "2026-10-29"
    commit: fb8544e7fcc622a2ce8e7c26ccb7454c0c918461
    t: null
    quote: Programmatic customer updates, such as changing the email with Modify(true), were not synchronized to the associated contact.
links:
  learn: []
  objects:
    - object/table/270
    - object/table/23
    - object/table/18
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Denmark/compliance-denmark
      title: Compliance with the bookkeeping act in Denmark
      label: possibly related
      why: touches Table 270 "Bank Account"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/across-field-mapping-when-exporting-payment-files-using-bank-data-conversion-service
      title: Field mapping for exporting bank payment files | Microsoft Docs
      label: possibly related
      why: touches Table 270 "Bank Account"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/sales-how-merge-duplicate-records
      title: Merge Duplicate Customers, Vendors, or Contacts
      label: possibly related
      why: Documents merging duplicate customer and contact records, relating to customer data synchronization.
      by: model
number: 12083
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12083
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-29T15:03:10Z"
author: v-praghav
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 42
  additions: 1370
  deletions: 916
  al: 35
apps:
  - Base Application
objects_touched:
  - key: table/270
    page: table/270
    type: table
    id: 270
    name: Bank Account
    app: Base Application
    status: modified
  - key: table/23
    page: table/23
    type: table
    id: 23
    name: Vendor
    app: Base Application
    status: modified
  - key: table/18
    page: table/18
    type: table
    id: 18
    name: Customer
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/FI/BaseApp/Bank/BankAccount/BankAccount.Table.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652112
systems:
  - purchasing
  - sales
  - finance
quote: Programmatic customer updates, such as changing the email with Modify(true), were not synchronized to the associated contact.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #12083 Fix-Bug 652112 Public Preview: If a field such as "Email" is updated programmatically on the customer record, the change is not automatically transferred to the associated contact.

> Changing a customer field such as Email programmatically with Modify(true) now updates the linked contact. The contact update check compares against the stored customer record instead of xRec. The Vendor and Bank Account tables were also changed in all country layers.

[Pull request](https://github.com/microsoft/BCApps/pull/12083) · merged into `main` (BC30) on 2026-10-29 by v-praghav · 42 files (+1370 -916), 35 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Programmatic customer changes such as Email now reach the linked contact
- Cause: the contact update check compared against xRec, which did not always hold the stored values
- Fix: read the stored record before modifying and compare against it
- Customer, Vendor and Bank Account tables changed across the country layers
- Customer and contact table tests added or updated
- Behaviour changes for users or extensions.

## AL objects touched

- [Table 270 "Bank Account"](../../objects/table/270.md), Base Application: modified
- [Table 23 "Vendor"](../../objects/table/23.md), Base Application: modified
- [Table 18 "Customer"](../../objects/table/18.md), Base Application: modified
- `src/Layers/FI/BaseApp/Bank/BankAccount/BankAccount.Table.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#652112
- Labels: Team: Finance
- Systems: purchasing, sales, finance
- From the description: "Programmatic customer updates, such as changing the email with Modify(true), were not synchronized to the associated contact."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Compliance with the bookkeeping act in Denmark](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Denmark/compliance-denmark) — possibly related: touches Table 270 "Bank Account"
- [Field mapping for exporting bank payment files | Microsoft Docs](https://learn.microsoft.com/dynamics365/business-central/across-field-mapping-when-exporting-payment-files-using-bank-data-conversion-service) — possibly related: touches Table 270 "Bank Account"
- [Merge Duplicate Customers, Vendors, or Contacts](https://learn.microsoft.com/dynamics365/business-central/sales-how-merge-duplicate-records) — possibly related: Documents merging duplicate customer and contact records, relating to customer data synchronization. (model-linked)

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