---
title: "Codeunit 1327 Adjust Item Inventory, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/points/
object: https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/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 1327 Adjust Item Inventory, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/points/

8 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/Item/AdjustItemInventory.Codeunit.al, in source order, read from the text, not from a run.

## PostAdjustmentToItemLedger

[Line 22](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L22).

- [31](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L31) calls `SelectItemTemplateForAdjustment`
- [32](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L32) calls `CreateItemJnlLine`
- [32](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L32) calls `CreateItemBatch`
- [33](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L33) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Insert(true)
- [35](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L35) calls `PostItemJnlLines`

## PostMultipleAdjustmentsToItemLedger

[Line 38](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L38).

- [48](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L48) calls `SelectItemTemplateForAdjustment`
- [49](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L49) calls `CreateItemBatch`
- [54](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L54) raises `OnPostMultipleAdjustmentsToItemLedgerOnAfterItemSetFilters`
- [57](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L57) calls `CreateItemJnlLine`
- [58](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L58) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Line No.`
- [59](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L59) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Location Code`
- [60](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L60) raises `OnPostMultipleAdjustmentsToItemLedgerOnBeforeInsertItemJnlLine`
- [61](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L61) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Insert(true)
- [68](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L68) calls `DeleteItemBatch`
- [72](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L72) calls `PostItemJnlLines`

## CreateItemJnlLine

[Line 75](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L75).

- [78](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L78) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Journal Template Name`
- [79](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L79) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Journal Batch Name`
- [80](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L80) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Posting Date`
- [84](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L84) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Entry Type`
- [86](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L86) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Entry Type`
- [88](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L88) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Item No.`
- [89](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L89) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Description`
- [90](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L90) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Quantity`

## PostItemJnlLines

[Line 93](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L93).

- [99](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L99) runs [Codeunit 23 Item Jnl.-Post Batch](https://jonas-paprotka.de/ref/codeunit/23-item-jnl-post-batch/)
- [101](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L101) calls `DeleteItemBatch`

## SelectItemTemplateForAdjustment

[Line 109](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L109).

- [116](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L116) calls [Codeunit 240 ItemJnlManagement](https://jonas-paprotka.de/ref/codeunit/240-itemjnlmanagement/) `TemplateSelection`

## CreateItemBatch

[Line 127](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L127), local.

- [133](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L133) calls `CreateBatchName`
- [135](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L135) writes [Table 233 Item Journal Batch](https://jonas-paprotka.de/ref/table/233-item-journal-batch/) Insert

## FindOrCreateItemBatchWithCustomNameDesc

[Line 140](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L140).

- [150](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L150) calls [Table 233 Item Journal Batch](https://jonas-paprotka.de/ref/table/233-item-journal-batch/) `SetupNewBatch`
- [151](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L151) writes [Table 233 Item Journal Batch](https://jonas-paprotka.de/ref/table/233-item-journal-batch/) Insert

## DeleteItemBatch

[Line 164](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L164), local.

- [169](https://jonas-paprotka.de/ref/codeunit/1327-adjust-item-inventory/source/#L169) writes [Table 233 Item Journal Batch](https://jonas-paprotka.de/ref/table/233-item-journal-batch/) Delete(true)

## Source

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

JOP-AL, 2026-11-20.
