---
title: "Table 5802 Value Entry, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/5802-value-entry/points/
object: https://jonas-paprotka.de/ref/table/5802-value-entry/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/5802-value-entry/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/"
---

# Table 5802 Value Entry, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/5802-value-entry/points/

12 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/Ledger/ValueEntry.Table.al, in source order, read from the text, not from a run.

## Dimension Set ID.OnLookup

[Line 411](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L411), trigger.

- [413](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L413) calls `ShowDimensions`

## GetNextEntryNo

[Line 628](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L628).

- [632](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L632) calls [Codeunit 9500 Sequence No. Mgt.](https://jonas-paprotka.de/ref/codeunit/9500-sequence-no-mgt/) `GetNextSeqNo`

## GetLastEntryNo

[Line 636](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L636).

- [640](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L640) calls [Codeunit 703 Find Record Management](https://jonas-paprotka.de/ref/codeunit/703-find-record-management/) `GetLastEntryIntFieldValue`

## AddCost

[Line 659](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L659).

- [661](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L661) raises `OnBeforeAddCost`

## SumCostsTillValuationDate

[Line 669](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L669).

- [680](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L680) raises `OnSumCostsTillValuationDateOnAfterGetItem`
- [682](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L682) calls `GetAvgToDate`
- [688](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L688) calls `GetAvgFromDate`
- [697](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L697) raises `OnSumCostsTillValuationDateOnAfterSetFilters`
- [698](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L698) calls `CheckApplyLocationVariantFilters`
- [704](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L704) raises `OnSumCostsTillValuationDateOnAfterCalcSums`
- [707](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L707) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`
- [709](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L709) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`
- [718](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L718) raises `OnSumCostsTillValuationDateOnAfterSetCostAmounts`

## CheckApplyLocationVariantFilters

[Line 726](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L726), local.

- [731](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L731) raises `OnBeforeCheckApplyLocationVariantFilters`, IsHandled
- [743](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L743) calls [Table 5802 Value Entry](https://jonas-paprotka.de/ref/table/5802-value-entry/) `CalcQtyFactor`

## CalcItemLedgEntryCost

[Line 746](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L746).

- [756](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L756) raises `OnBeforeCalcItemLedgEntryCost`, IsHandled

## ShowGL

[Line 815](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L815).

- [825](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L825) raises `OnShowGLOnBeforeCopyToTempGLEntry`
- [829](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L829) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) Insert

## IsAvgCostException

[Line 837](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L837).

- [859](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L859) calls [Table 339 Item Application Entry](https://jonas-paprotka.de/ref/table/339-item-application-entry/) `SetSearchedItemLedgerEntry`
- [860](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L860) calls [Table 339 Item Application Entry](https://jonas-paprotka.de/ref/table/339-item-application-entry/) `GetVisitedEntries`

## ShowDimensions

[Line 866](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L866).

- [870](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L870) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `ShowDimensionSet`

## GetAvgToDate

[Line 873](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L873).

- [879](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L879) calls [Codeunit 5849 Avg. Cost Entry Point Handler](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/) `GetValuationPeriod`

## GetAvgFromDate

[Line 883](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L883).

- [889](https://jonas-paprotka.de/ref/table/5802-value-entry/source/#L889) calls [Codeunit 360 Accounting Period Mgt.](https://jonas-paprotka.de/ref/codeunit/360-accounting-period-mgt/) `InitDefaultAccountingPeriod`

## Source

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

JOP-AL, 2026-11-20.
