---
title: "Codeunit 5849 Avg. Cost Entry Point Handler, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/points/
object: https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/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 5849 Avg. Cost Entry Point Handler, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/points/

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

## Initialize

[Line 16](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L16), local.

- [24](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L24) raises `OnBeforeInitialize`, IsHandled

## GetMaxValuationDate

[Line 31](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L31).

- [33](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L33) calls `Initialize`

## GetValuationPeriod

[Line 37](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L37).

- [39](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L39) calls `Initialize`

## LockBuffer

[Line 43](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L43).

- [45](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L45) calls `Initialize`

## UpdateValuationDate

[Line 49](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L49).

- [51](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L51) calls `Initialize`

## IsEntriesAdjusted

[Line 55](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L55).

- [57](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L57) calls `Initialize`

## DeleteBuffer

[Line 61](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L61).

- [63](https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/source/#L63) calls `Initialize`

## Source

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

JOP-AL, 2026-11-20.
