---
title: "Codeunit 5882 Phys. Invt. Order-Reopen, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/points/
object: https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-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 5882 Phys. Invt. Order-Reopen, extension points 29

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

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

## OnRun

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

- [15](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L15) raises `OnBeforeOnRun`
- [17](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L17) calls `Code`
- [20](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L20) raises `OnAfterOnRun`

## Code

[Line 32](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L32).

- [49](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L49) calls [Table 5876 Phys. Invt. Order Line](https://jonas-paprotka.de/ref/table/5876-phys-invt-order-line/) `EmptyLine`
- [54](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L54) calls [Table 337 Reservation Entry](https://jonas-paprotka.de/ref/table/337-reservation-entry/) `SetSourceFilter`
- [56](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L56) calls [Table 337 Reservation Entry](https://jonas-paprotka.de/ref/table/337-reservation-entry/) `SetSourceFilter`
- [57](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L57) writes [Table 337 Reservation Entry](https://jonas-paprotka.de/ref/table/337-reservation-entry/) DeleteAll
- [63](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L63) raises `OnBeforePhysInvtOrderLineModify`
- [64](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L64) writes [Table 5876 Phys. Invt. Order Line](https://jonas-paprotka.de/ref/table/5876-phys-invt-order-line/) Modify
- [68](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L68) raises `OnCodeOnBeforeSetStatusToOpen`
- [70](https://jonas-paprotka.de/ref/codeunit/5882-phys-invt-order-reopen/source/#L70) writes [Table 5875 Phys. Invt. Order Header](https://jonas-paprotka.de/ref/table/5875-phys-invt-order-header/) Modify

## Source

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

JOP-AL, 2026-11-20.
