---
title: "Table 5847 Average Cost Calc. Overview"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/5847-average-cost-calc-overview/
type: table
id: 5847
name: "Average Cost Calc. Overview"
app: "Base Application"
namespace: Microsoft.Inventory.Costing
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/5847-average-cost-calc-overview/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 5847 Average Cost Calc. Overview

Jonas Paprotka, https://jonas-paprotka.de/ref/table/5847-average-cost-calc-overview/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Costing |
| Versions | 17-28 |
| Source file | Inventory/Costing/AverageCostCalcOverview.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Entry No. | Integer | 17-28 | - | - |
| 2 | Type | Option | 17-28 | - | - |
| 3 | Valuation Date | Date | 17-28 | - | - |
| 4 | Item No. | Code[20] | 17-28 | - | - |
| 5 | Location Code | Code[10] | 17-28 | - | - |
| 6 | Variant Code | Code[10] | 17-28 | - | - |
| 7 | Cost is Adjusted | Boolean | 17-28 | - | - |
| 11 | Attached to Entry No. | Integer | 17-28 | - | - |
| 12 | Attached to Valuation Date | Date | 17-28 | - | - |
| 13 | Level | Integer | 17-28 | - | - |
| 21 | Item Ledger Entry No. | Integer | 17-28 | - | - |
| 22 | Posting Date | Date | 17-28 | - | - |
| 23 | Entry Type | Enum Item Ledger Entry Type | 17-28 | - | - |
| 24 | Document Type | Option | 17-28 | - | - |
| 25 | Document No. | Code[20] | 17-28 | - | - |
| 26 | Document Line No. | Integer | 17-28 | - | - |
| 27 | Description | Text[100] | 17-28 | - | - |
| 31 | Quantity | Decimal | 17-28 | - | - |
| 32 | Applied Quantity | Integer | 17-28 | - | - |
| 33 | Cost Amount (Expected) | Decimal | 17-28 | - | - |
| 34 | Cost Amount (Actual) | Decimal | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Entry No. | 17-28 |
| Key2 | Attached to Valuation Date, Attached to Entry No., Type | 17-28 |
| Key3 | Item Ledger Entry No. | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CalculateAverageCost | () | Decimal | public | 17-28 | - | - |
| CalculateRemainingQty | () | Decimal | public | 17-28 | - | - |
| CalculateCostAmt | (Boolean) | Decimal | public | 17-28 | - | - |
| SetItemFilters | () | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterSetItemFilters | (var Record Value Entry, Record Average Cost Calc. Overview) | 17-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.
