---
id: change/bcapps/12809
type: change
title: "#12809 Bugs/bug 654102  main]purch order vendor change automatically applied to next order"
summary: Fixes the Purchase Order page so that a vendor change on one order is no longer automatically applied to the next order after navigating. A regression test was added to TestVendorLookup.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page purchase order
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-10-18T00:55:29.182Z"
  flags: []
generated:
  at: "2026-11-17T00:16:35.786Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4f32f09f5d8bbee8ac35422925ed15d20a934b11
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12809
    title: "microsoft/BCApps#12809: Bugs/bug 654102  main]purch order vendor change automatically applied to next order"
    date: "2026-10-16"
    commit: 4f32f09f5d8bbee8ac35422925ed15d20a934b11
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/50
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/reports/report-308
      title: Vendor - Order Detail (Report)
      label: possibly related
      why: Purchase order vendor details align with vendor order reporting and purchase order line information.
      by: model
number: 12809
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12809
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-16T05:37:13Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 12
  additions: 55
  deletions: 12
  al: 11
apps:
  - Base Application
objects_touched:
  - key: page/50
    page: page/50
    type: page
    id: 50
    name: Purchase Order
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/APAC/BaseApp/Purchases/Document/PurchaseOrder.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/CH/BaseApp/Purchases/Document/PurchaseOrder.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/DACH/BaseApp/Purchases/Document/PurchaseOrder.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Purchases/Document/PurchaseOrder.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FI/BaseApp/Purchases/Document/PurchaseOrder.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NL/BaseApp/Purchases/Document/PurchaseOrder.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Purchases/Document/PurchaseOrder.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/RU/BaseApp/Purchases/Document/PurchaseOrder.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 654102
systems:
  - purchasing
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #12809 Bugs/bug 654102  main]purch order vendor change automatically applied to next order

> Fixes the Purchase Order page so that a vendor change on one order is no longer automatically applied to the next order after navigating. A regression test was added to TestVendorLookup.

[Pull request](https://github.com/microsoft/BCApps/pull/12809) · merged into `main` (BC30) on 2026-10-16 by Shikhverma · 12 files (+55 -12), 11 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Vendor change on a purchase order no longer carries over to the next order after navigation
- One-line change to the Purchase Order page in 11 layers including W1, NA and APAC
- Regression test added in TestVendorLookup
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 50 "Purchase Order"](../../objects/page/50.md), Base Application: modified
- `src/Layers/APAC/BaseApp/Purchases/Document/PurchaseOrder.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/CH/BaseApp/Purchases/Document/PurchaseOrder.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/DACH/BaseApp/Purchases/Document/PurchaseOrder.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Purchases/Document/PurchaseOrder.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/FI/BaseApp/Purchases/Document/PurchaseOrder.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NL/BaseApp/Purchases/Document/PurchaseOrder.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Purchases/Document/PurchaseOrder.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/RU/BaseApp/Purchases/Document/PurchaseOrder.Page.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#654102
- Labels: Team: SCM
- Systems: purchasing

## Possibly related

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

- [Vendor - Order Detail (Report)](https://learn.microsoft.com/dynamics365/business-central/reports/report-308) — possibly related: Purchase order vendor details align with vendor order reporting and purchase order line information. (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).
