---
title: "Codeunit 7153 Item Analysis Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/7153-item-analysis-management/
type: codeunit
id: 7153
name: "Item Analysis Management"
app: "Base Application"
namespace: Microsoft.Inventory.Analysis
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/7153-item-analysis-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 7153 Item Analysis Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/7153-item-analysis-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Analysis |
| Versions | 17-28 |
| Source file | Inventory/Analysis/ItemAnalysisManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetCommonFilters | (Option, var Record Item Statistics Buffer, Code[10], Text, Text, Text, Text, Text, Text, Text) | - | public | 17-21 | Pending 19.0 | Replaced by SetBufferFilters(). |
| AnalysisViewSelection | (Option, var Code[10], var Record Item Analysis View, var Record Item Statistics Buffer, var Code[250], var Code[250], var Code[250]) | - | public | 17-28 | - | - |
| CheckAnalysisView | (Option, Code[10], var Record Item Analysis View) | - | public | 17-28 | - | - |
| SetItemAnalysisView | (Option, Code[10], var Record Item Analysis View, var Record Item Statistics Buffer, var Code[250], var Code[250], var Code[250]) | - | public | 17-28 | - | - |
| LookupItemAnalysisView | (Option, var Code[10], var Record Item Analysis View, var Record Item Statistics Buffer, var Code[250], var Code[250], var Code[250]) | - | public | 17-28 | - | - |
| LookUpCode | (Option, Text[30], Text[30]) | - | public | 17-21 | Pending 19.0 | Replaced by LookypDimCode(). |
| LookUpDimFilter | (Code[20], var Text) | Boolean | public | 17-28 | - | - |
| DrillDown | (Option, Record Item Statistics Buffer, Code[10], Text, Text, Text, Text, Text, Text, Text, Option, Record Dimension Code Buffer, Option, Record Dimension Code Buffer, Boolean, Option, Option) | - | public | 17-21 | Pending 19.0 | Replaced by DrillDownAmount(). |
| SetLineAndColDim | (Record Item Analysis View, var Text[30], var Option, var Text[30], var Option) | - | public | 17-21 | Pending 19.0 | Replaced by SetLineAndColumnDim(). |
| GetDimSelection | (Text[30], var Record Item Analysis View) | Text[30] | public | 17-28 | - | - |
| ValidateLineDimCode | (Record Item Analysis View, var Text[30], var Option, Option, var Text, var Text, var Record Item Statistics Buffer, var Boolean) | - | public | 17-22 | Pending 20.0 | Replaced by ValidateLineDimTypeAndCode |
| ValidateColumnDimCode | (Record Item Analysis View, var Text[30], var Option, Option, var Text, var Text, var Record Item Statistics Buffer, var Boolean) | - | public | 17-21 | Pending 19.0 | Replaced by ValidateColumnDimTypeAndCode() |
| FormatAmount | (var Text[250], Option) | - | public | 17-21 | Pending 19.0 | Replaced by FormatToAmount(). |
| FindRec | (Record Item Analysis View, Option, var Record Dimension Code Buffer, Text[250], Code[250], Code[250], Option, var Text[30], var Boolean, Text[30], Code[250], Code[250], Code[250]) | Boolean | public | 17-18 | - | - |
| NextRec | (Record Item Analysis View, Option, var Record Dimension Code Buffer, Integer, Code[250], Code[250], Option, Text[30], Code[250], Code[250], Code[250]) | Integer | public | 17-18 | - | - |
| GetCaptionClass | (Integer, Record Item Analysis View) | Text[250] | public | 17-28 | - | - |
| CalcAmount | (Option, Boolean, Option, var Record Item Statistics Buffer, Code[10], Code[250], Code[250], Text[30], Code[250], Code[250], Code[250], Code[250], Option, Record Dimension Code Buffer, Option, Record Dimension Code Buffer, Option) | Decimal | public | 17-22 | Pending 20.0 | Replaced by CalculateAmount() |
| SetBufferFilters | (Enum Analysis Area Type, var Record Item Statistics Buffer, Code[10], Text, Text, Text, Text, Text, Text, Text) | - | public | 19-28 | - | - |
| LookupDimCode | (Enum Item Analysis Dimension Type, Text[30], Text[30]) | - | public | 19-28 | - | - |
| DrillDownAmount | (Enum Analysis Area Type, Record Item Statistics Buffer, Code[10], Text, Text, Text, Text, Text, Text, Text, Enum Item Analysis Dimension Type, Record Dimension Code Buffer, Enum Item Analysis Dimension Type, Record Dimension Code Buffer, Boolean, Enum Item Analysis Value Type, Enum Item Analysis Show Type) | - | public | 19-28 | - | - |
| SetLineAndColumnDim | (Record Item Analysis View, var Text[30], var Enum Item Analysis Dimension Type, var Text[30], var Enum Item Analysis Dimension Type) | - | public | 19-28 | - | - |
| ValidateLineDimTypeAndCode | (Record Item Analysis View, var Text[30], var Enum Item Analysis Dimension Type, Enum Item Analysis Dimension Type, var Text, var Text, var Record Item Statistics Buffer, var Boolean) | - | public | 19-28 | - | - |
| ValidateColumnDimTypeAndCode | (Record Item Analysis View, var Text[30], var Enum Item Analysis Dimension Type, Enum Item Analysis Dimension Type, var Text, var Text, var Record Item Statistics Buffer, var Boolean) | - | public | 19-28 | - | - |
| FormatToAmount | (var Text[250], Enum Analysis Rounding Factor) | - | public | 19-28 | - | - |
| FindRec | (Record Item Analysis View, Option, var Record Dimension Code Buffer, Text[250], Code[250], Code[250], Enum Analysis Period Type, var Text[30], var Boolean, Text[30], Code[250], Code[250], Code[250]) | Boolean | public | 19-21 | Pending 19.0 | Replaced by FindRecord() |
| FindRecord | (var Record Item Analysis View, Enum Item Analysis Dimension Type, var Record Dimension Code Buffer, Text[250], Code[250], Code[250], Enum Analysis Period Type, var Text[30], var Boolean, Text[30], Code[250], Code[250], Code[250]) | Boolean | public | 19-28 | - | - |
| NextRec | (Record Item Analysis View, Option, var Record Dimension Code Buffer, Integer, Code[250], Code[250], Enum Analysis Period Type, Text[30], Code[250], Code[250], Code[250]) | Integer | public | 19-21 | Pending 19.0 | Replaced by NextRecord() |
| NextRecord | (var Record Item Analysis View, Enum Item Analysis Dimension Type, var Record Dimension Code Buffer, Integer, Code[250], Code[250], Enum Analysis Period Type, Text[30], Code[250], Code[250], Code[250]) | Integer | public | 19-28 | - | - |
| CalculateAmount | (Enum Item Analysis Value Type, Boolean, Enum Analysis Area Type, var Record Item Statistics Buffer, Code[10], Code[250], Code[250], Text[30], Code[250], Code[250], Code[250], Code[250], Enum Item Analysis Dimension Type, Record Dimension Code Buffer, Enum Item Analysis Dimension Type, Record Dimension Code Buffer, Enum Item Analysis Show Type) | Decimal | public | 19-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCalcActualAmount | (Option, var Record Item Statistics Buffer, Code[10], var Decimal) | 17-28 | - | - |
| Integration event | OnAfterFilterItemAnalyViewEntry | (var Record Item Statistics Buffer, var Record Item Analysis View Entry) | 18-28 | - | - |
| Integration event | OnAfterFilterItemAnalyViewBudgEntry | (var Record Item Statistics Buffer, var Record Item Analysis View Budg. Entry) | 18-28 | - | - |
| Integration event | OnAfterSetLineAndColumnDim | (Record Item Analysis View, var Text[30], var Enum Item Analysis Dimension Type, var Text[30], var Enum Item Analysis Dimension Type) | 19-28 | - | - |
| Integration event | OnAfterLookupDimCode | (Enum Item Analysis Dimension Type, Text[30], Text[30]) | 19-28 | - | - |
| Integration event | OnAfterSetCommonFilters | (Enum Analysis Area Type, var Record Item Statistics Buffer) | 19 | - | - |
| Integration event | OnAfterSetDimFilters | (var Record Item Statistics Buffer, Enum Item Analysis Dimension Type, Record Dimension Code Buffer) | 19-28 | - | - |
| Integration event | OnBeforeDimCodeToType | (Text[30], Record Item Analysis View, var Enum Item Analysis Dimension Type, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeDimCodeNotAllowed | (Text[30], Record Item Analysis View, var Boolean, var Boolean) | 19-28 | - | - |
| Integration event | OnFindRecordCaseElse | (Record Item Analysis View, Enum Item Analysis Dimension Type, var Record Dimension Code Buffer, Text[250], Code[250], var Boolean) | 19-28 | - | - |
| Integration event | OnGetDimSelectionOnBeforeDimSelectionRunModal | (var Page Dimension Selection, var Record Item Analysis View) | 19-28 | - | - |
| Integration event | OnNextRecordOnCaseElse | (Record Item Analysis View, Enum Item Analysis Dimension Type, var Record Dimension Code Buffer, Integer, Code[250], var Integer) | 19-28 | - | - |
| Integration event | OnAfterSetItemAnalysisView | (Option, var Record Item Statistics Buffer, Code[10]) | 20-28 | - | - |
| Integration event | OnAfterSetCommonFilters | (Enum Analysis Area Type, var Record Item Statistics Buffer, Code[10]) | 20-28 | - | - |
| Integration event | OnBeforeFindRecord | (Enum Item Analysis Dimension Type, var Record Dimension Value) | 20-28 | - | - |
| Integration event | OnBeforeNextRecord | (Enum Item Analysis Dimension Type, var Record Dimension Value) | 20-28 | - | - |
| Integration event | OnBeforeSetLineAndColumnDim | (Record Item Analysis View, var Text[30], var Enum Item Analysis Dimension Type, var Text[30], var Enum Item Analysis Dimension Type) | 24-28 | - | - |
| Integration event | OnAfterCopyPeriodToBuf | (var Record Date, var Record Dimension Code Buffer, Text[30]) | 24-28 | - | - |
| Integration event | OnAfterDrillDownAmount | (var Record Item Analysis View Entry, Record Item Statistics Buffer, Enum Item Analysis Value Type, Enum Item Analysis Show Type) | 25-28 | - | - |
| Integration event | OnCalcBudgetAmountOnValueTypeCaseElse | (Enum Item Analysis Value Type, var Record Item Statistics Buffer, Code[10], var Decimal) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
