---
title: "Codeunit 5899 Calc. Inventory Value-Check, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/points/
object: https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/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 5899 Calc. Inventory Value-Check, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/points/

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

## SetParameters

[Line 47](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L47).

- [49](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L49) writes [Table 5890 Error Buffer](https://jonas-paprotka.de/ref/table/5890-error-buffer/) DeleteAll

## RunCheck

[Line 62](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L62).

- [70](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L70) calls `CheckCalculatePer`
- [80](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L80) raises `OnBeforeFindOpenOutboundEntry`, IsHandled
- [82](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L82) calls `FindOpenOutboundEntry`
- [85](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L85) calls `CheckAdjusted`
- [86](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L86) calls `AddError`
- [98](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L98) writes [Table 5890 Error Buffer](https://jonas-paprotka.de/ref/table/5890-error-buffer/) Insert

## CheckAdjusted

[Line 102](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L102), local.

- [109](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L109) raises `OnBeforeCheckAdjusted`, IsHandled
- [114](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L114) calls [Codeunit 5849 Avg. Cost Entry Point Handler](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/) `IsEntriesAdjusted`

## CheckCalculatePer

[Line 119](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L119), local.

- [129](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L129) raises `OnCheckCalculatePerOnAfterSetFilters`
- [134](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L134) calls `AddError`
- [139](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L139) calls `AddError`
- [144](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L144) calls `AddError`
- [149](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L149) calls `AddError`
- [154](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L154) calls `AddError`
- [159](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L159) calls `CheckItemLocationVariantFilters`
- [162](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L162) raises `OnAfterCheckCalculatePer`

## FindOpenOutboundEntry

[Line 165](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L165), local.

- [171](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L171) raises `OnBeforeFindOpenOutboundEntry2`, IsHandled
- [187](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L187) calls `AddError`

## AddError

[Line 197](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L197), local.

- [207](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L207) writes [Table 5890 Error Buffer](https://jonas-paprotka.de/ref/table/5890-error-buffer/) Insert

## CheckItemLocationVariantFilters

[Line 212](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L212), local.

- [217](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L217) raises `OnBeforeCheckItemLocationVariantFilters`, IsHandled
- [224](https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/#L224) calls `AddError`

## Source

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

JOP-AL, 2026-11-20.
