---
id: change/bcapps/9204
type: change
title: "#9204 [Master]-Vendor Order No. exceeds 20-character limit causing error in Intercompany Purchase Invoice"
summary: Fixes an error in Intercompany Purchase Invoice when the Vendor Order No. is longer than 20 characters. The fix changes the Purchase Invoice page in several localization layers, and the intercompany tests are updated.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page purchase invoice
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:13:17.083Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: fe8ce68741415b9912fec0ba5f4f674af207bcad
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9204
    title: "microsoft/BCApps#9204: [Master]-Vendor Order No. exceeds 20-character limit causing error in Intercompany Purchase Invoice"
    date: "2026-07-10"
    commit: fe8ce68741415b9912fec0ba5f4f674af207bcad
    t: null
    quote: Vendor Order No. exceeds 20-character limit causing error in Intercompany Purchase Invoice
links:
  learn: []
  objects:
    - object/page/51
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9204
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9204
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-10T14:39:05Z"
author: neeleshsinghal
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: 15
  additions: 379
  deletions: 137
  al: 11
apps:
  - Base Application
objects_touched:
  - key: page/51
    page: page/51
    type: page
    id: 51
    name: Purchase Invoice
    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/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/ES/BaseApp/Purchases/Document/PurchaseInvoice.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/NL/BaseApp/Purchases/Document/PurchaseInvoice.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Purchases/Document/PurchaseInvoice.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 641567
systems:
  - purchasing
quote: Vendor Order No. exceeds 20-character limit causing error in Intercompany Purchase Invoice
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #9204 [Master]-Vendor Order No. exceeds 20-character limit causing error in Intercompany Purchase Invoice

> Fixes an error in Intercompany Purchase Invoice when the Vendor Order No. is longer than 20 characters. The fix changes the Purchase Invoice page in several localization layers, and the intercompany tests are updated.

[Pull request](https://github.com/microsoft/BCApps/pull/9204) · merged into `main` (BC30) on 2026-07-10 by neeleshsinghal (community contribution) · 15 files (+379 -137), 11 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Addresses an error raised when Vendor Order No. exceeds 20 characters in an intercompany purchase invoice
- Changes page 51 Purchase Invoice in the APAC, BE, CH, ES, FI, IT, NA, NL, NO, RU and W1 layers
- Updates the ERM Intercompany III tests in the W1, CH, CZ and NL layers
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 51 "Purchase Invoice"](../../objects/page/51.md), Base Application: modified
- `src/Layers/APAC/BaseApp/Purchases/Document/PurchaseInvoice.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/ES/BaseApp/Purchases/Document/PurchaseInvoice.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/NL/BaseApp/Purchases/Document/PurchaseInvoice.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Purchases/Document/PurchaseInvoice.Page.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#641567
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: purchasing
- From the description: "Vendor Order No. exceeds 20-character limit causing error in Intercompany Purchase Invoice"

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).
