---
id: change/bcapps/9182
type: change
title: "#9182 Align Pay-to Name 2 editability with the other pay-to address fields on purchase documents"
summary: Pay-to Name 2 field on purchase documents is now editable under the same conditions as other pay-to address fields when custom address is selected or vendor differs from buy-from vendor.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page purchase invoice
  - page purchase order
  - page purchase quote
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-10-19T01:10:58.407Z"
  flags: []
generated:
  at: "2026-11-11T00:15:47.902Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 7d96b3ad903fdff233ded226c05f644d9f6d8eb2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9182
    title: "microsoft/BCApps#9182: Align Pay-to Name 2 editability with the other pay-to address fields on purchase documents"
    date: "2026-10-08"
    commit: 7d96b3ad903fdff233ded226c05f644d9f6d8eb2
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/51
    - object/page/50
    - object/page/49
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/across-how-to-archive-documents
      title: Archive Documents
      label: possibly related
      why: touches Page 49 "Purchase Quote"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/purchasing-how-request-quotes
      title: Create a purchase quote to request an offer
      label: possibly related
      why: touches Page 49 "Purchase Quote"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/purchasing-ext-doc-no
      title: External Document Numbers on Purchase Documents
      label: possibly related
      why: Covers pay-to address fields on purchase documents, which this change aligns for consistent editability.
      by: model
number: 9182
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9182
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-08T10:43:23Z"
author: Franco111000
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 33
  additions: 106
  deletions: 61
  al: 29
apps:
  - Base Application
objects_touched:
  - key: page/51
    page: page/51
    type: page
    id: 51
    name: Purchase Invoice
    app: Base Application
    status: modified
  - key: page/50
    page: page/50
    type: page
    id: 50
    name: Purchase Order
    app: Base Application
    status: modified
  - key: page/49
    page: page/49
    type: page
    id: 49
    name: Purchase Quote
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/APAC/BaseApp/Purchases/Document/PurchaseInvoice.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/APAC/BaseApp/Purchases/Document/PurchaseOrder.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/BE/BaseApp/Purchases/Document/PurchaseInvoice.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/CH/BaseApp/Purchases/Document/PurchaseInvoice.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/CH/BaseApp/Purchases/Document/PurchaseQuote.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/PurchaseInvoice.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/ES/BaseApp/Purchases/Document/PurchaseQuote.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FI/BaseApp/Purchases/Document/PurchaseInvoice.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/NA/BaseApp/Purchases/Document/PurchaseQuote.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NL/BaseApp/Purchases/Document/PurchaseInvoice.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/PurchaseInvoice.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
  - path: src/Layers/RU/BaseApp/Purchases/Document/PurchaseQuote.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues:
  - 9097
work_items:
  - 647959
systems:
  - purchasing
quote: null
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #9182 Align Pay-to Name 2 editability with the other pay-to address fields on purchase documents

> Pay-to Name 2 field on purchase documents is now editable under the same conditions as other pay-to address fields when custom address is selected or vendor differs from buy-from vendor.

[Pull request](https://github.com/microsoft/BCApps/pull/9182) · merged into `main` (BC30) on 2026-10-08 by Franco111000 (community contribution) · 33 files (+106 -61), 29 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Pay-to Name 2 editability aligned with other pay-to address fields on three purchase pages
- Field now editable when Custom Address is selected or pay-to vendor differs from buy-from vendor
- Previously editable only when Another Vendor option was selected
- Identical two-property change applied across all localization layers (APAC, BE, CH, DACH, ES, FI, IT, NA, NL, NO, RU)
- Extended test coverage verifies editability alongside sibling address fields
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 51 "Purchase Invoice"](../../objects/page/51.md), Base Application: modified
- [Page 50 "Purchase Order"](../../objects/page/50.md), Base Application: modified
- [Page 49 "Purchase Quote"](../../objects/page/49.md), Base Application: modified
- `src/Layers/APAC/BaseApp/Purchases/Document/PurchaseInvoice.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/APAC/BaseApp/Purchases/Document/PurchaseOrder.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/BE/BaseApp/Purchases/Document/PurchaseInvoice.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/CH/BaseApp/Purchases/Document/PurchaseInvoice.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/CH/BaseApp/Purchases/Document/PurchaseQuote.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/PurchaseInvoice.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/ES/BaseApp/Purchases/Document/PurchaseQuote.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/FI/BaseApp/Purchases/Document/PurchaseInvoice.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/NA/BaseApp/Purchases/Document/PurchaseQuote.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NL/BaseApp/Purchases/Document/PurchaseInvoice.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/PurchaseInvoice.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
- `src/Layers/RU/BaseApp/Purchases/Document/PurchaseQuote.Page.al`: modified, not in the BC30 snapshot

## Context

- Fixes: [#9097 [Bug]: Pay-to Name 2 is editable on other conditions than all other Pay-to fields](https://github.com/microsoft/BCApps/issues/9097) (closed)
- Work items: AB#647959
- Labels: ADO: Sync, From Fork, 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.

- [Archive Documents](https://learn.microsoft.com/dynamics365/business-central/across-how-to-archive-documents) — possibly related: touches Page 49 "Purchase Quote"
- [Create a purchase quote to request an offer](https://learn.microsoft.com/dynamics365/business-central/purchasing-how-request-quotes) — possibly related: touches Page 49 "Purchase Quote"
- [External Document Numbers on Purchase Documents](https://learn.microsoft.com/dynamics365/business-central/purchasing-ext-doc-no) — possibly related: Covers pay-to address fields on purchase documents, which this change aligns for consistent editability. (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).
