---
id: object/table/5873
type: object
title: Table 5873 "Compare Cost Shares Buffer"
summary: Table 5873 "Compare Cost Shares Buffer" in Base Application (Microsoft.Inventory.BOM). 12 fields, 1 public procedures, 1 events. Introduced in BC27, still in BC30, changed in BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: "27"
  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: 2e7eddd44078811fa0b3ffaba2fdbec36e1d69cee2f3411dd428fa826756e9b1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/BOM/CompareCostSharesBuffer.Table.al
    title: src/Layers/W1/BaseApp/Inventory/BOM/CompareCostSharesBuffer.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: 5873
name: Compare Cost Shares Buffer
namespace: Microsoft.Inventory.BOM
app: Base Application
extends: null
first_version: "27"
last_version: "30"
present_in:
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 12
  procedures: 2
  events: 1
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 0
  extended_by: 1
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5873 "Compare Cost Shares Buffer"

> Table 5873 "Compare Cost Shares Buffer" in Base Application (Microsoft.Inventory.BOM). 12 fields, 1 public procedures, 1 events. Introduced in BC27, still in BC30, changed in BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Compare Cost Shares Buffer |
| TableType | Temporary |
| DataClassification | SystemMetadata |

## 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 | Indentation | Integer | — |  |
| 2 | Type | Enum "BOM Type" | — | enum [Enum 5870 "BOM Type"](../enum/5870.md) |
| 3 | No. | Code[20] | — | TableRelation [Table 156 "Resource"](../table/156.md), [Table 27 "Item"](../table/27.md) (if (Type = const(Item)) Item else if (Type = const(Resource)) Resource) |
| 4 | Description | Text[100] | — |  |
| 5 | Is Leaf | Boolean | — |  |
| 6 | Item 1 Qty. per Top Item | Decimal | — |  |
| 7 | Item 2 Qty. per Top Item | Decimal | — |  |
| 8 | Item 1 Unit Cost | Decimal | — |  |
| 9 | Item 2 Unit Cost | Decimal | — |  |
| 10 | Item 1 Total Cost | Decimal | — |  |
| 11 | Item 2 Total Cost | Decimal | — |  |
| 12 | Difference Cost | Decimal | — |  |

## Keys

- Key1: Indentation, Type, No. (clustered)

## Events published

- `OnTransferFromBOMBuffer(var CompareCostSharesBuffer: Record "Compare Cost Shares Buffer"; BOMBuffer: Record "BOM Buffer" temporary)` (integration)

## Procedures

- `TransferFromBOMBuffer(var TempBOMBuffer: Record "BOM Buffer" temporary; TransferToItem1: Boolean)`

## Relations

- No.: TableRelation [Table 156 "Resource"](../table/156.md) (conditional)
- No.: TableRelation [Table 27 "Item"](../table/27.md) (conditional)

## Extended by

- [Table extension 99000821 "Mfg. Compare Cost Shares Buf"](../tableextension/99000821.md)

## Across versions

- Present in: BC27-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: "Compare Cost Shares Buffer")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
