---
id: change/bcapps/9180
type: change
title: "#9180 Copy record links to posted Phys. Invt. Order and Recording headers"
summary: Record links attached to physical inventory order and recording headers are now copied to their posted documents, matching the behavior of sales, purchase, and warehouse posting flows.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit phys. invt. order-post
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:02:21.329Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4edb2b182deddfaa6559f69da922b74df82e1882
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9180
    title: "microsoft/BCApps#9180: Copy record links to posted Phys. Invt. Order and Recording headers"
    date: "2026-10-05"
    commit: 4edb2b182deddfaa6559f69da922b74df82e1882
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/5884
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9180
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9180
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-05T12:39:41Z"
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: 2
  additions: 76
  deletions: 2
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/5884
    page: codeunit/5884
    type: codeunit
    id: 5884
    name: Phys. Invt. Order-Post
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues:
  - 9099
work_items:
  - 647958
systems:
  - inventory
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9180 Copy record links to posted Phys. Invt. Order and Recording headers

> Record links attached to physical inventory order and recording headers are now copied to their posted documents, matching the behavior of sales, purchase, and warehouse posting flows.

[Pull request](https://github.com/microsoft/BCApps/pull/9180) · merged into `main` (BC30) on 2026-10-05 by Franco111000 (community contribution) · 2 files (+76 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Record links (Notes and Links factboxes) on physical inventory order and recording headers now carry over to the posted documents
- CopyLinks calls added in InsertPostedHeader and InsertPostedRecordings after the posted header inserts
- The copy runs inside the existing IsHandled blocks, so subscribers replacing the insert keep control
- Regression test posts an order with notes on order and recording and checks the posted headers
- No schema, permission or signature changes; purely additive
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 5884 "Phys. Invt. Order-Post"](../../objects/codeunit/5884.md), Base Application: modified

## Context

- Fixes: [#9099 [Bug]: Record links are not copied to posted Phys. Invt. Order and Recording on posting](https://github.com/microsoft/BCApps/issues/9099) (closed)
- Work items: AB#647958
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: inventory

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