---
title: "Report 99000794 Compare Production Cost Shares, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/points/
object: https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/
checked: 2026-11-20
changed: 2026-10-05
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/"
---

# Report 99000794 Compare Production Cost Shares, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/points/

4 procedures and triggers with a step in src/Layers/W1/BaseApp/Manufacturing/Reports/CompareProductionCostShares.Report.al, in source order, read from the text, not from a run.

## ItemNo1.OnLookup

[Line 102](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L102), trigger.

- [106](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L106) runs [Page 31 Item List](https://jonas-paprotka.de/ref/page/31-item-list/)

## ItemNo2.OnLookup

[Line 131](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L131), trigger.

- [135](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L135) runs [Page 31 Item List](https://jonas-paprotka.de/ref/page/31-item-list/)

## OnPreReport

[Line 188](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L188), trigger.

- [190](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L190) calls `GenerateTreeForItems`
- [191](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L191) calls `GenerateTreeForItems`
- [193](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L193) calls `BuildDataSet`
- [194](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L194) calls `BuildDataSet`

## GenerateTreeForItems

[Line 206](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L206), local.

- [213](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L213) calls [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `HasBOM`
- [218](https://jonas-paprotka.de/ref/report/99000794-compare-production-cost-shares/source/#L218) calls [Codeunit 5870 Calculate BOM Tree](https://jonas-paprotka.de/ref/codeunit/5870-calculate-bom-tree/) `GenerateTreeForOneItem`

## Source

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

JOP-AL, 2026-11-20.
