---
title: "Page 5872 BOM Cost Shares, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/points/
object: https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/
checked: 2026-11-20
changed: 2026-10-21
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Page 5872 BOM Cost Shares, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/points/

10 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/BOM/BOMCostShares.Page.al, in source order, read from the text, not from a run.

## ItemFilter.OnValidate

[Line 49](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L49), trigger.

- [51](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L51) calls `UpdatePage`

## HasWarning.OnDrillDown

[Line 88](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L88), trigger.

- [91](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L91) calls `ShowWarnings`

## Show Warnings.OnAction

[Line 274](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L274), trigger.

- [276](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L276) calls `ShowWarningsForAllLines`

## BOM Cost Share Distribution.OnAction

[Line 289](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L289), trigger.

- [291](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L291) calls `ShowBOMCostShareDistribution`

## Category_Process.OnAfterGetRecord

[Line 311](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L311), trigger.

- [317](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L317) calls [Table 5870 BOM Buffer](https://jonas-paprotka.de/ref/table/5870-bom-buffer/) `IsLineOk`

## OnOpenPage

[Line 320](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L320), trigger.

- [322](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L322) calls `UpdatePage`

## UpdatePage

[Line 383](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L383), local.

- [405](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L405) raises `OnBeforeRefreshPage`, IsHandled
- [408](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L408) raises `OnBeforeUpdatePage`, IsHandled
- [414](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L414) calls [Codeunit 5870 Calculate BOM Tree](https://jonas-paprotka.de/ref/codeunit/5870-calculate-bom-tree/) `SetItemFilter`
- [421](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L421) calls [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `HasBOM`
- [421](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L421) calls [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `HasRoutingNo`
- [426](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L426) calls [Codeunit 5870 Calculate BOM Tree](https://jonas-paprotka.de/ref/codeunit/5870-calculate-bom-tree/) `GenerateTreeForManyItems`
- [429](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L429) calls [Codeunit 5870 Calculate BOM Tree](https://jonas-paprotka.de/ref/codeunit/5870-calculate-bom-tree/) `GenerateTreeForSource`

## ShowBOMCostShareDistribution

[Line 435](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L435), local.

- [447](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L447) runs [Report 5872 BOM Cost Share Distribution](https://jonas-paprotka.de/ref/report/5872-bom-cost-share-distribution/)

## ShowWarnings

[Line 450](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L450), local.

- [454](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L454) calls [Table 5870 BOM Buffer](https://jonas-paprotka.de/ref/table/5870-bom-buffer/) `IsLineOk`
- [457](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L457) runs [Page 5874 BOM Warning Log](https://jonas-paprotka.de/ref/page/5874-bom-warning-log/)

## ShowWarningsForAllLines

[Line 460](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L460), local.

- [464](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L464) calls [Table 5870 BOM Buffer](https://jonas-paprotka.de/ref/table/5870-bom-buffer/) `AreAllLinesOk`
- [467](https://jonas-paprotka.de/ref/page/5872-bom-cost-shares/source/#L467) runs [Page 5874 BOM Warning Log](https://jonas-paprotka.de/ref/page/5874-bom-warning-log/)

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
