---
id: change/bcapps/14200
type: change
title: "#14200 Refresh the purchase order match warnings of a draft line as soon as it is edited"
summary: Purchase order match warnings now refresh immediately when a draft line is edited, eliminating stale warning messages after the user corrects values like unit cost.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page e-doc. purchase draft subform
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-11-19T00:57:46.867Z"
  flags: []
generated:
  at: "2026-12-01T00:17:57.990Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 87cfc0a2f3b5c80929c586e7d06705b7e792512f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14200
    title: "microsoft/BCApps#14200: Refresh the purchase order match warnings of a draft line as soon as it is edited"
    date: "2026-11-18"
    commit: 87cfc0a2f3b5c80929c586e7d06705b7e792512f
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/6183
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/match-purchase-invoice-drafts-to-orders
      title: Match Purchase Invoice Drafts to Purchase Orders
      label: possibly related
      why: Documents matching purchase invoice drafts to purchase orders with validation warnings.
      by: model
number: 14200
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14200
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-18T09:11:44Z"
author: Explorer986
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 57
  deletions: 0
  al: 1
apps:
  - EDocument
objects_touched:
  - key: page/6183
    page: page/6183
    type: page
    id: 6183
    name: E-Doc. Purchase Draft Subform
    app: EDocument
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 649802
systems:
  - integration
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #14200 Refresh the purchase order match warnings of a draft line as soon as it is edited

> Purchase order match warnings now refresh immediately when a draft line is edited, eliminating stale warning messages after the user corrects values like unit cost.

[Pull request](https://github.com/microsoft/BCApps/pull/14200) · merged into `main` (BC30) on 2026-11-18 by Explorer986 · 2 files (+57 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Editing Quantity, Direct Unit Cost, Line Discount, Line Type, No. or Unit of Measure saves the line and recalculates the warnings before the page refreshes
- A corrected line shows No warnings right away instead of the old warnings
- The Warnings column goes away once no line has a warning
- Works like the purchase order subform, which saves the line before recalculating totals
- Page-only change: warnings are recalculated once more per edit
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 6183 "E-Doc. Purchase Draft Subform"](../../objects/page/6183.md), EDocument: modified

## Context

- Work items: AB#649802
- Labels: AL: Apps (W1), Team: SCM
- Systems: integration

## Possibly related

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

- [Match Purchase Invoice Drafts to Purchase Orders](https://learn.microsoft.com/dynamics365/business-central/match-purchase-invoice-drafts-to-orders) — possibly related: Documents matching purchase invoice drafts to purchase orders with validation warnings. (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).
