---
id: change/bcapps/10151
type: change
title: "#10151 Fix vendor contact relation read permission"
summary: Vendor changes made through indirect permissions no longer fail when the contact update check reads Contact Business Relation. VendCont-Update now elevates read permission on that table, and CustCont-Update and BankCont-Update get the same small edit.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit bankcont-update
  - codeunit custcont-update
  - codeunit vendcont-update
system: crm
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:12.655Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 21030cd8011505778c956dea22d47ae27c82bd91
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10151
    title: "microsoft/BCApps#10151: Fix vendor contact relation read permission"
    date: "2026-08-13"
    commit: 21030cd8011505778c956dea22d47ae27c82bd91
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/5058
    - object/codeunit/5056
    - object/codeunit/5057
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10151
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10151
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-13T08:37:28Z"
author: PredragMaricic
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 6
  deletions: 3
  al: 3
apps:
  - Base Application
objects_touched:
  - key: codeunit/5058
    page: codeunit/5058
    type: codeunit
    id: 5058
    name: BankCont-Update
    app: Base Application
    status: modified
  - key: codeunit/5056
    page: codeunit/5056
    type: codeunit
    id: 5056
    name: CustCont-Update
    app: Base Application
    status: modified
  - key: codeunit/5057
    page: codeunit/5057
    type: codeunit
    id: 5057
    name: VendCont-Update
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 617469
systems:
  - crm
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10151 Fix vendor contact relation read permission

> Vendor changes made through indirect permissions no longer fail when the contact update check reads Contact Business Relation. VendCont-Update now elevates read permission on that table, and CustCont-Update and BankCont-Update get the same small edit.

[Pull request](https://github.com/microsoft/BCApps/pull/10151) · merged into `main` (BC30) on 2026-08-13 by PredragMaricic · 3 files (+6 -3), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- VendCont-Update now has read permission on Contact Business Relation
- Fixes vendor modification failing for users with only indirect Vendor permissions
- CustCont-Update and BankCont-Update are also modified with the same small edit
- Users need no extra direct permissions; the contact synchronization logic itself is unchanged
- No automated test added; modeled on the existing CustVendBank-Update permission pattern
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 5058 "BankCont-Update"](../../objects/codeunit/5058.md), Base Application: modified
- [Codeunit 5056 "CustCont-Update"](../../objects/codeunit/5056.md), Base Application: modified
- [Codeunit 5057 "VendCont-Update"](../../objects/codeunit/5057.md), Base Application: modified

## Context

- Work items: AB#617469
- Labels: Team: SCM
- Systems: crm

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