---
id: change/bcapps/12762
type: change
title: "#12762 [29.X]-Dispute Status code is not retained in some scenarios within the Vendor/Purchase Side, but works well in Customer/Sales side"
summary: Dispute status is now retained when editing vendor ledger entries and purchase invoices, matching the behavior that already works correctly on the sales side.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - page vendor ledger entries
  - codeunit vend. entry-edit
  - codeunit purch. inv. header - edit
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-11-01T00:44:15.702Z"
  flags: []
generated:
  at: "2026-11-23T00:15:10.597Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6e19b01b8cd1c412fefb4137277654bf77b41a94
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12762
    title: "microsoft/BCApps#12762: [29.X]-Dispute Status code is not retained in some scenarios within the Vendor/Purchase Side, but works well in Customer/Sales side"
    date: "2026-10-30"
    commit: 6e19b01b8cd1c412fefb4137277654bf77b41a94
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/29
    - object/codeunit/113
    - object/codeunit/1405
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/payables-how-handling-payment-disputes
      title: Handle Vendor Payment Disputes
      label: possibly related
      why: Documents handling vendor payment disputes and managing vendor ledger entries on hold.
      by: model
number: 12762
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12762
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-10-30T10:50:25Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 27
  additions: 1386
  deletions: 19
  al: 19
apps:
  - Base Application
objects_touched:
  - key: page/29
    page: page/29
    type: page
    id: 29
    name: Vendor Ledger Entries
    app: Base Application
    status: modified
  - key: codeunit/113
    page: codeunit/113
    type: codeunit
    id: 113
    name: Vend. Entry-Edit
    app: Base Application
    status: modified
  - key: codeunit/1405
    page: codeunit/1405
    type: codeunit
    id: 1405
    name: Purch. Inv. Header - Edit
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/APAC/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/CH/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/CH/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Purchases/History/PurchInvHeaderEdit.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NL/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NL/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 654000
systems:
  - purchasing
quote: null
joined_against:
  major: "29"
  commit: 6a9588a817c12a5d35d3e6c4ad40e29ecca88acf
---

# #12762 [29.X]-Dispute Status code is not retained in some scenarios within the Vendor/Purchase Side, but works well in Customer/Sales side

> Dispute status is now retained when editing vendor ledger entries and purchase invoices, matching the behavior that already works correctly on the sales side.

[Pull request](https://github.com/microsoft/BCApps/pull/12762) · merged into `releases/29.x` (BC29) on 2026-10-30 by neeleshsinghal · 27 files (+1386 -19), 19 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Dispute status preservation logic added to vendor entry editing workflows
- Changes applied across multiple localization layers (W1, NA, APAC, CH, ES, IT, NL, NO, RU)
- Both vendor ledger entry page and purchase invoice header edit codeunits updated
- Test coverage added for dispute status retention during document edits
- Fixes behavior inconsistency between vendor and customer ledger entry editing
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 29 "Vendor Ledger Entries"](../../objects/page/29.md), Base Application: modified
- [Codeunit 113 "Vend. Entry-Edit"](../../objects/codeunit/113.md), Base Application: modified
- [Codeunit 1405 "Purch. Inv. Header - Edit"](../../objects/codeunit/1405.md), Base Application: modified
- `src/Layers/APAC/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC29 snapshot
- `src/Layers/CH/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC29 snapshot
- `src/Layers/CH/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC29 snapshot
- `src/Layers/ES/BaseApp/Purchases/History/PurchInvHeaderEdit.Codeunit.al`: modified, not in the BC29 snapshot
- `src/Layers/ES/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC29 snapshot
- `src/Layers/IT/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC29 snapshot
- `src/Layers/IT/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC29 snapshot
- `src/Layers/NA/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC29 snapshot
- `src/Layers/NA/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC29 snapshot
- `src/Layers/NL/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC29 snapshot
- `src/Layers/NL/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC29 snapshot
- `src/Layers/NO/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC29 snapshot
- `src/Layers/NO/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC29 snapshot

## Context

- Work items: AB#654000
- Labels: Team: Finance
- Systems: purchasing

## Possibly related

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

- [Handle Vendor Payment Disputes](https://learn.microsoft.com/dynamics365/business-central/payables-how-handling-payment-disputes) — possibly related: Documents handling vendor payment disputes and managing vendor ledger entries on hold. (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).
