---
id: change/bcapps/13358
type: change
title: "#13358 [main] bug 656582 Add Maintenance Code field on purchase order subpage and purchase invoice subpage"
summary: Adds the Maintenance Code field to the Purchase Order Subform and Purch. Invoice Subform line pages. The invoice subform changed in W1, APAC, BE, ES, FR, IT, NA, NL and RU; the order subform changed in W1, APAC, ES, FR, IT, NA and RU.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - page purch. invoice subform
  - page purchase order subform
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-10-31T01:04:09.038Z"
  flags: []
generated:
  at: "2026-11-01T00:17:21.384Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: beca4a8f9a51bff190703a2a67996b8485a0f3a3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13358
    title: "microsoft/BCApps#13358: [main] bug 656582 Add Maintenance Code field on purchase order subpage and purchase invoice subpage"
    date: "2026-10-30"
    commit: beca4a8f9a51bff190703a2a67996b8485a0f3a3
    t: null
    quote: Add Maintenance Code field on purchase order subpage and purchase invoice subpage
links:
  learn: []
  objects:
    - object/page/55
    - object/page/54
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/purchasing-how-record-purchases
      title: Record purchases with purchase invoices
      label: possibly related
      why: Describes purchase invoice and order creation and posting, the pages being modified.
      by: model
number: 13358
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13358
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-30T08:36:50Z"
author: MSNehaNawal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 16
  additions: 166
  deletions: 8
  al: 16
apps:
  - Base Application
objects_touched:
  - key: page/55
    page: page/55
    type: page
    id: 55
    name: Purch. Invoice Subform
    app: Base Application
    status: modified
  - key: page/54
    page: page/54
    type: page
    id: 54
    name: Purchase Order Subform
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/APAC/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/APAC/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/BE/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FR/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FR/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NL/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/RU/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/RU/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 656582
systems:
  - purchasing
quote: Add Maintenance Code field on purchase order subpage and purchase invoice subpage
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13358 [main] bug 656582 Add Maintenance Code field on purchase order subpage and purchase invoice subpage

> Adds the Maintenance Code field to the Purchase Order Subform and Purch. Invoice Subform line pages. The invoice subform changed in W1, APAC, BE, ES, FR, IT, NA, NL and RU; the order subform changed in W1, APAC, ES, FR, IT, NA and RU.

[Pull request](https://github.com/microsoft/BCApps/pull/13358) · merged into `main` (BC30) on 2026-10-30 by MSNehaNawal · 16 files (+166 -8), 16 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Maintenance Code field added to the Purchase Order Subform page (page 54)
- Maintenance Code field added to the Purch. Invoice Subform page (page 55)
- Order subform updated in the W1, APAC, ES, FR, IT, NA and RU layers
- Invoice subform updated in the W1, APAC, BE, ES, FR, IT, NA, NL and RU layers
- Tracked as bug 656582
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 55 "Purch. Invoice Subform"](../../objects/page/55.md), Base Application: modified
- [Page 54 "Purchase Order Subform"](../../objects/page/54.md), Base Application: modified
- `src/Layers/APAC/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/APAC/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/BE/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/FR/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/FR/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NL/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/RU/BaseApp/Purchases/Document/PurchInvoiceSubform.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/RU/BaseApp/Purchases/Document/PurchaseOrderSubform.Page.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#656582
- Labels: Team: SCM
- Systems: purchasing
- From the description: "Add Maintenance Code field on purchase order subpage and purchase invoice subpage"

## Possibly related

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

- [Record purchases with purchase invoices](https://learn.microsoft.com/dynamics365/business-central/purchasing-how-record-purchases) — possibly related: Describes purchase invoice and order creation and posting, the pages being modified. (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).
