---
id: change/bcapps/12532
type: change
title: "#12532 [Master]-Dispute Status code is not retained in some scenarios within the Vendor/Purchase Side, but works well in Customer/Sales side"
summary: Fixes cases where the Dispute Status code was not kept on the vendor/purchase side, while the customer/sales side already worked. The changes touch Vend. Entry-Edit, Purch. Inv. Header - Edit and the Vendor Ledger Entries page across W1 and several country layers.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page vendor ledger entries
  - codeunit vend. entry-edit
  - codeunit purch. inv. header - edit
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-10-24T00:37:49.985Z"
  flags: []
generated:
  at: "2026-11-18T00:16:36.082Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 9f40655f161b2cf73694e2332daa42ebc5b417f0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12532
    title: "microsoft/BCApps#12532: [Master]-Dispute Status code is not retained in some scenarios within the Vendor/Purchase Side, but works well in Customer/Sales side"
    date: "2026-10-22"
    commit: 9f40655f161b2cf73694e2332daa42ebc5b417f0
    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: Covers handling vendor payment disputes and marking vendor ledger entries
      by: model
number: 12532
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12532
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-22T09:15:30Z"
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: 33
  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:
  - 651172
systems:
  - purchasing
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

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

> Fixes cases where the Dispute Status code was not kept on the vendor/purchase side, while the customer/sales side already worked. The changes touch Vend. Entry-Edit, Purch. Inv. Header - Edit and the Vendor Ledger Entries page across W1 and several country layers.

[Pull request](https://github.com/microsoft/BCApps/pull/12532) · merged into `main` (BC30) on 2026-10-22 by neeleshsinghal · 27 files (+1386 -33), 19 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Dispute Status is now retained in scenarios on the vendor side where it was lost
- Vend. Entry-Edit updated in W1 and several country layers
- Purch. Inv. Header - Edit adjusted in W1 and ES, with a one-line change to the Vendor Ledger Entries page
- Brings vendor behaviour in line with the customer/sales side
- Edit Posted Documents tests added across multiple layers
- 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 BC30 snapshot
- `src/Layers/CH/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/CH/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Purchases/History/PurchInvHeaderEdit.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NL/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/NL/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Purchases/Payables/VendorLedgerEntries.Page.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#651172
- 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: Covers handling vendor payment disputes and marking vendor ledger entries (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).
