---
title: "Codeunit 5883 Phys. Invt. Order-Post (Y/N), extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/points/
object: https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/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 5883 Phys. Invt. Order-Post (Y/N), extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/points/

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

## OnRun

[Line 14](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L14), trigger.

- [22](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L22) raises `OnPhysInvtOrderPostOnAfterCopyBeforeConfirm`, IsHandled
- [28](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L28) raises `OnRunOnBeforeRunPhysInvPost`, IsHandled
- [30](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L30) runs [Codeunit 5884 Phys. Invt. Order-Post](https://jonas-paprotka.de/ref/codeunit/5884-phys-invt-order-post/)

## Preview

[Line 38](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L38), internal.

- [44](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L44) calls [Codeunit 19 Gen. Jnl.-Post Preview](https://jonas-paprotka.de/ref/codeunit/19-gen-jnl-post-preview/) `Preview`

## OnRunPreview

[Line 48](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L48), local.

- [55](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L55) raises `OnBeforeRunPreview`, IsHandled
- [60](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L60) calls [Codeunit 5884 Phys. Invt. Order-Post](https://jonas-paprotka.de/ref/codeunit/5884-phys-invt-order-post/) `SetPreviewMode`
- [61](https://jonas-paprotka.de/ref/codeunit/5883-phys-invt-order-post-y-n/source/#L61) runs [Codeunit 5884 Phys. Invt. Order-Post](https://jonas-paprotka.de/ref/codeunit/5884-phys-invt-order-post/)

## Source

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

JOP-AL, 2026-11-20.
