---
title: "Codeunit 7154 ItemStatisticsCache, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/points/
object: https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/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 7154 ItemStatisticsCache, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/points/

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

## OnRun

[Line 15](https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/source/#L15), trigger.

- [25](https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/source/#L25) calls `GetCurrentDate`
- [26](https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/source/#L26) calls `GetItemDateFilters`
- [27](https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/source/#L27) calls `GetPriorPeriodItemDateFilters`
- [33](https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/source/#L33) writes [Table 5310 Item Statistics Cache](https://jonas-paprotka.de/ref/table/5310-item-statistics-cache/) Insert
- [35](https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/source/#L35) calls [Table 5310 Item Statistics Cache](https://jonas-paprotka.de/ref/table/5310-item-statistics-cache/) `UpdateIfNeeded`
- [37](https://jonas-paprotka.de/ref/codeunit/7154-itemstatisticscache/source/#L37) calls `SetResults`

## Source

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

JOP-AL, 2026-11-20.
