---
id: object/table/12131-it
type: object
title: Table 12131 "Item Cost History" (IT)
summary: Table 12131 "Item Cost History" (IT) in the IT country layer (Microsoft.Inventory.Costing). 24 fields, 1 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - it layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: b7d4ae0b4b1728ee33ac5b877d9df352e3ba299a24da8d719c9731f94b3d43b8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/IT/BaseApp/Local/Inventory/Costing/ItemCostHistory.Table.al
    title: src/Layers/IT/BaseApp/Local/Inventory/Costing/ItemCostHistory.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/it
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 12131
name: Item Cost History
namespace: Microsoft.Inventory.Costing
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: IT
counts:
  fields: 24
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table 12131 "Item Cost History" (IT)

> Table 12131 "Item Cost History" (IT) in the IT country layer (Microsoft.Inventory.Costing). 24 fields, 1 public procedures. Introduced in BC29, still in BC30.

IT country layer · Microsoft.Inventory.Costing · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/IT/BaseApp/Local/Inventory/Costing/ItemCostHistory.Table.al) · facts from BC29

An object of the [IT localization](../../localizations/it.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Caption | Item Cost History |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Item No. | Code[20] | — | TableRelation Item; not editable |
| 2 | Competence Year | Date | — | not editable |
| 3 | Description | Text[100] | — | not editable |
| 4 | Base Unit of Measure | Code[10] | — | TableRelation "Item Unit of Measure".Code where("Item No." = field("Item No.")); not editable |
| 5 | Inventory Valuation | Option | — | OptionCaption: Weighted Average,Average,FIFO,LIFO,Discrete LIFO; not editable |
| 6 | Start Year Inventory | Decimal | — | not editable |
| 7 | End Year Inventory | Decimal | — | not editable |
| 8 | Year Average Cost | Decimal | — | not editable |
| 9 | Weighted Average Cost | Decimal | — | not editable |
| 10 | FIFO Cost | Decimal | — | not editable |
| 11 | LIFO Cost | Decimal | — | not editable |
| 12 | Discrete LIFO Cost | Decimal | — | not editable |
| 13 | Expected Cost Exist | Boolean | — | not editable |
| 14 | Definitive | Boolean | — | not editable |
| 15 | Purchase Quantity | Decimal | — | not editable |
| 16 | Purchase Amount | Decimal | — | not editable |
| 17 | Production Quantity | Decimal | — | not editable |
| 18 | Production Amount | Decimal | — | not editable |
| 19 | Direct Components Amount | Decimal | — | not editable |
| 21 | Direct Routing Amount | Decimal | — | not editable |
| 22 | Overhead Routing Amount | Decimal | — | not editable |
| 23 | Subcontracted Amount | Decimal | — | not editable |
| 24 | Estimated WIP Consumption | Boolean | — | not editable |
| 25 | Components Valuation | Option | — | OptionCaption: Average Cost,Weighted Average Cost; not editable |

## Keys

- Key1: Item No., Competence Year (clustered)

## Procedures

- `GetCompCost(ComponentValuation: Option "Average Cost","Weighted Average Cost"): Decimal`

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Item Cost History")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A IT country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
