---
id: object/table/5816
type: object
title: Table 5816 "Cost Adjustment Trace Log"
summary: Table 5816 "Cost Adjustment Trace Log" in Base Application (Microsoft.Inventory.Costing). 15 fields, 1 public procedures. Introduced in BC26, still in BC30, changed in BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: "26"
  last_changed: "28"
  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: e51b1cfcb97e90266a268c268077e9678303935ef68081775d472af2e9606a89
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Costing/CostAdjustmentTraceLog.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Costing/CostAdjustmentTraceLog.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5816
name: Cost Adjustment Trace Log
namespace: Microsoft.Inventory.Costing
app: Base Application
extends: null
first_version: "26"
last_version: "30"
present_in:
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 15
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 4
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5816 "Cost Adjustment Trace Log"

> Table 5816 "Cost Adjustment Trace Log" in Base Application (Microsoft.Inventory.Costing). 15 fields, 1 public procedures. Introduced in BC26, still in BC30, changed in BC28.

Base Application · Microsoft.Inventory.Costing · BC26-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Costing/CostAdjustmentTraceLog.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Cost Adjustment Trace Log |
| DataClassification | CustomerContent |
| LookupPageId | Cost Adjustment Trace Logs |

## 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 | Entry No. | Integer | Specifies the entry number of the cost adjustment trace log entry. |  |
| 2 | Cost Adjustment Run Guid | Guid | Specifies the unique identifier of the cost adjustment run. |  |
| 3 | Event Name | Text[250] | Specifies the name of the event that is traced. |  |
| 4 | Traced Table ID | Integer | Specifies the table ID of the traced entry. |  |
| 5 | Traced Entry No. | Integer | Specifies the traced entry number. |  |
| 6 | Item Cost Source/Recipient | Enum "Item Cost Source/Recipient" | Specifies if the traced entry acts as a cost source or recipient. | enum [Enum 5802 "Item Cost Source/Recipient"](../enum/5802.md) |
| 11 | Item No. | Code[20] | Specifies the item number of the traced entry. | TableRelation [Table 27 "Item"](../table/27.md) |
| 12 | Location Code | Code[10] | Specifies the location code of the traced entry. | TableRelation [Table 14 "Location"](../table/14.md) |
| 13 | Variant Code | Code[10] | Specifies the variant code of the traced entry. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) ("Item Variant".Code where("Item No." = field("Item No."))) |
| 14 | Valuation Date | Date | Specifies the valuation date of the traced entry. |  |
| 15 | Posting Date | Date | Specifies the posting date of the traced entry. |  |
| 21 | Order Type | Enum "Inventory Order Type" | Specifies the order type of the traced entry. | enum [Enum 90 "Inventory Order Type"](../enum/90.md) |
| 22 | Order No. | Code[20] | Specifies the order number of the traced entry. |  |
| 23 | Order Line No. | Integer | Specifies the order line number of the traced entry. |  |
| 100 | Custom Dimensions | Text[2048] | Specifies additional information about the traced entry. |  |

## Keys

- PK: Entry No. (clustered)

## Procedures

- `DrillDownEntryNo()` (internal)

## Relations

- lookup page [Page 5810 "Cost Adjustment Trace Logs"](../page/5810.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Item No.: TableRelation [Table 27 "Item"](../table/27.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)

## Pages and codeunits on this table

- [Page 5810 "Cost Adjustment Trace Logs"](../page/5810.md) (source table)

## Across versions

- Present in: BC26-30
- Changed (declaration) in: BC28

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: "Cost Adjustment Trace Log")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
