---
title: "Codeunit 1327 Adjust Item Inventory"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/
type: codeunit
id: 1327
name: "Adjust Item Inventory"
app: "Base Application"
namespace: Microsoft.Inventory.Item
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/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 1327 Adjust Item Inventory

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Item |
| Versions | 17-28 |
| Source file | Inventory/Item/AdjustItemInventory.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| PostAdjustmentToItemLedger | (Record Item, Decimal) | Text | public | 17-28 | - | - |
| PostMultipleAdjustmentsToItemLedger | (var Record Item Journal Line) | Text | public | 17-28 | - | - |
| CreateItemJnlLine | (var Record Item Journal Line, var Record Item, Code[10], Code[10], Decimal) | - | public | 17-28 | - | - |
| PostItemJnlLines | (var Record Item Journal Line) | Text | public | 17-28 | - | - |
| SelectItemTemplateForAdjustment | () | Code[10] | public | 17-28 | - | - |
| FindOrCreateItemBatchWithCustomNameDesc | (Code[10], Code[10], Text[50]) | Code[10] | public | 17-28 | - | - |
| GetInventoryAdjustmentAllowed | () | Boolean | public | 23-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnPostMultipleAdjustmentsToItemLedgerOnAfterItemSetFilters | (var Record Item Journal Line, var Record Item) | 18-28 | - | - |
| Integration event | OnPostMultipleAdjustmentsToItemLedgerOnBeforeInsertItemJnlLine | (var Record Item Journal Line, var Record Item Journal Line) | 18-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.
