---
title: "Codeunit 7380 Phys. Invt. Count.-Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/7380-phys-invt-count-management/
type: codeunit
id: 7380
name: "Phys. Invt. Count.-Management"
app: "Base Application"
namespace: Microsoft.Inventory.Counting.Journal
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/7380-phys-invt-count-management/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 7380 Phys. Invt. Count.-Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/7380-phys-invt-count-management/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CalcPeriod | (Date, var Date, var Date, Integer) | - | public | 17-28 | - | - |
| InitFromItemJnl | (Record Item Journal Line) | - | public | 17-28 | - | - |
| InitFromWhseJnl | (Record Warehouse Journal Line) | - | public | 17-28 | - | - |
| InitFromCustomJnl | () | - | public | 17-28 | - | - |
| GetSortingMethod | (var Option) | - | public | 17-28 | - | - |
| UpdateSKUPhysInvtCount | (var Record Stockkeeping Unit) | - | public | 17-28 | - | - |
| UpdateItemPhysInvtCount | (var Record Item) | - | public | 17-28 | - | - |
| UpdateItemSKUListPhysInvtCount | () | - | public | 17-28 | - | - |
| AddToTempItemSKUList | (Code[20], Code[10], Code[10], Option) | - | public | 17-28 | - | - |
| InitTempItemSKUList | () | - | public | 17-28 | - | - |
| SetHideValidationDialog | (Boolean) | - | public | 17-28 | - | - |
| InitFromPhysInvtOrder | (Record Phys. Invt. Order Header) | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeCalcInvtQtyOnHand | (Code[20], Date, Boolean, var Record Phys. Invt. Item Selection, var Boolean, var Record Item Journal Line) | 17 | - | - |
| Integration event | OnBeforeCalcWhseQtyOnHand | (Code[20], Date, Boolean, var Record Phys. Invt. Item Selection, var Boolean) | 17-18 | - | - |
| Integration event | OnBeforeCreatePhysInvtItemJnl | (var Record Item Journal Line, var Record Phys. Invt. Item Selection, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforePrintPhysInvtList | (var Record Item Journal Batch, Boolean, var Record Phys. Invt. Item Selection, var Boolean) | 17 | - | - |
| Integration event | OnBeforePrintWhseInvtList | (var Record Warehouse Journal Batch, Boolean, var Record Phys. Invt. Item Selection, var Boolean) | 17-28 | - | - |
| Integration event | OnCreateCustomPhysInvtJournal | (var Record Phys. Invt. Item Selection, Option, Boolean) | 17-28 | - | - |
| Integration event | OnRunOnAfterSetItemFilters | (var Record Item, Option) | 17-28 | - | - |
| Integration event | OnRunOnAfterSetSKUFilters | (var Record Stockkeeping Unit, Option) | 17-28 | - | - |
| Integration event | OnBeforeRun | (var Record Warehouse Journal Line, var Option) | 17-28 | - | - |
| Integration event | OnRunOnSKUOnBeforeInsertTempPhysCountBuffer | (var Record Item, Record Stockkeeping Unit, var Boolean) | 17-28 | - | - |
| Integration event | OnRunOnBeforeRunModalPhysInvtItemSelection | (var Record Phys. Invt. Item Selection, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterInsertTempPhysCountBuffer | (var Record Phys. Invt. Item Selection, Code[10]) | 17-28 | - | - |
| Integration event | OnCreatePhysInvtWhseJnlOnBeforeCalculatePhysInvtCountingRunModal | (var Report Calculate Phys. Invt. Counting, Option, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeUpdateSKUPhysInvtCount | (var Record Stockkeeping Unit) | 17-28 | - | - |
| Integration event | OnAfterUpdateSKUPhysInvtCount | (var Record Stockkeeping Unit) | 17-28 | - | - |
| Integration event | OnBeforeCalcInvtQtyOnHand | (Code[20], Date, Boolean, var Record Phys. Invt. Item Selection, var Boolean, var Record Item Journal Line, var Record Item) | 18-28 | - | - |
| Integration event | OnBeforePrintPhysInvtList | (var Record Item Journal Batch, Boolean, var Record Phys. Invt. Item Selection, var Boolean, var Boolean) | 18 | - | - |
| Integration event | OnBeforeCalcWhseQtyOnHand | (Code[20], Date, Boolean, var Record Phys. Invt. Item Selection, var Boolean, var Record Warehouse Journal Line) | 19-28 | - | - |
| Integration event | OnBeforePrintPhysInvtList | (var Record Item Journal Batch, Boolean, var Record Phys. Invt. Item Selection, var Boolean, var Boolean, var Record Item Journal Line) | 19-28 | - | - |
| Integration event | OnBeforeCreatePhysInvtOrderLines | (Record Phys. Invt. Item Selection, Record Phys. Invt. Order Header, var Boolean) | 20-28 | - | - |
| Integration event | OnCreatePhysInvtOrderLinesOnBeforeCalcPhysInvtOrderLinesRunModal | (var Report Calc. Phys. Invt. Order Count, Boolean, Boolean, var Record Item, var Report Calc. Phys. Invt. Order Lines) | 22-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.
