---
title: "Codeunit 5878 Phys. Invt. Rec.-Reopen, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/points/
object: https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 5878 Phys. Invt. Rec.-Reopen, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/points/

2 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/Counting/Recording/PhysInvtRecReopen.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 13](https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/#L13), trigger.

- [16](https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/#L16) calls `Code`
- [19](https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/#L19) raises `OnAfterOnRun`

## Code

[Line 28](https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/#L28).

- [34](https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/#L34) raises `OnBeforeCode`
- [60](https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/#L60) raises `OnBeforePhysInvtOrderLineModify`
- [61](https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/#L61) writes [Table 5876 Phys. Invt. Order Line](https://jonas-paprotka.de/ref/table/5876-phys-invt-order-line/) Modify
- [65](https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/#L65) writes [Table 5878 Phys. Invt. Record Line](https://jonas-paprotka.de/ref/table/5878-phys-invt-record-line/) Modify
- [70](https://jonas-paprotka.de/ref/codeunit/5878-phys-invt-rec-reopen/source/#L70) writes [Table 5877 Phys. Invt. Record Header](https://jonas-paprotka.de/ref/table/5877-phys-invt-record-header/) Modify

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
