---
title: "Codeunit 5876 Phys. Invt. Rec.-Finish"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/5876-phys-invt-rec-finish/
type: codeunit
id: 5876
name: "Phys. Invt. Rec.-Finish"
app: "Base Application"
namespace: Microsoft.Inventory.Counting.Recording
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/5876-phys-invt-rec-finish/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 5876 Phys. Invt. Rec.-Finish

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/5876-phys-invt-rec-finish/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Counting.Recording |
| Versions | 17-28 |
| Source file | Inventory/Counting/Recording/PhysInvtRecFinish.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Code | () | - | public | 17-28 | - | - |
| SetHideProgressWindow | (Boolean) | - | public | 20-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterOnRun | (var Record Phys. Invt. Record Header) | 17-28 | - | - |
| Integration event | OnBeforeGetSamePhysInvtOrderLine | (var Record Phys. Invt. Order Line, Record Phys. Invt. Record Line, var Integer, var Text, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforePhysInvtOrderLineModify | (var Record Phys. Invt. Order Line, Record Phys. Invt. Record Line) | 17-28 | - | - |
| Integration event | OnBeforePhysInvtOrderLineInsert | (var Record Phys. Invt. Order Line, Record Phys. Invt. Record Line) | 17-28 | - | - |
| Integration event | OnBeforeCheckLocationDirectedPutAwayAndPick | (var Record Phys. Invt. Record Line, var Boolean) | 18-28 | - | - |
| Integration event | OnBeforeCode | (var Record Phys. Invt. Record Header, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeOnRun | (var Record Phys. Invt. Record Header, var Boolean) | 20-28 | - | - |
| Integration event | OnCodeOnBeforeCheckPhysInvtRecordLine | (Record Phys. Invt. Record Line, var Boolean) | 22-28 | - | - |
| Integration event | OnAfterCode | (var Record Phys. Invt. Record Header) | 23-28 | - | - |
| Integration event | OnCodeOnBeforeSetStatusToFinished | (var Record Phys. Invt. Record Header) | 23-28 | - | - |
| Integration event | OnCodeOnBeforeNoPhysInvtRecordLineError | (var Record Phys. Invt. Record Header, var Boolean) | 24-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
