---
title: "Codeunit 5894 Inventory Adjustment Handler"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/5894-inventory-adjustment-handler/
type: codeunit
id: 5894
name: "Inventory Adjustment Handler"
app: "Base Application"
namespace: Microsoft.Inventory.Costing
versions: "19-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/5894-inventory-adjustment-handler/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 5894 Inventory Adjustment Handler

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/5894-inventory-adjustment-handler/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Costing |
| Versions | 19-28 |
| Source file | Inventory/Costing/InventoryAdjustmentHandler.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| MakeInventoryAdjustment | (Boolean, Boolean) | - | public | 19-28 | - | - |
| SetJobUpdateProperties | (Boolean) | - | public | 19-28 | - | - |
| SetFilterItem | (var Record Item) | - | public | 19-28 | - | - |
| MakeInventoryAdjustment | (var Codeunit Cost Adjustment Params Mgt.) | - | public | 26-28 | - | - |
| MakeAutomaticInventoryAdjustment | (var List) | - | public | 26-28 | - | - |
| MakeAutomaticInventoryAdjustment | (var List, var Record Inventory Adjmt. Entry (Order)) | - | public | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeMakeInventoryAdjustment | (var Interface Inventory Adjustment, var Boolean) | 19-28 | - | - |
| Internal event | OnAfterMakeInventoryAdjustment | (var Codeunit Cost Adjustment Params Mgt.) | 26-28 | - | - |
| Integration event | OnMakeInventoryAdjustmentOnBeforeSetParameters | (var Record Cost Adjustment Parameter) | 26-28 | - | - |
| Integration event | OnMakeInventoryAdjustmentOnAfterSetParameters | (var Codeunit Cost Adjustment Params Mgt.) | 26-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.
