---
title: "Report 5848 Cost Shares Breakdown, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/points/
object: https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/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 5848 Cost Shares Breakdown, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/points/

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

## Item Ledger Entry.OnAfterGetRecord

[Line 33](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L33), trigger.

- [35](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L35) calls `CalcRemainingQty`

## Capacity Ledger Entry.OnAfterGetRecord

[Line 68](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L68), trigger.

- [74](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L74) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Insert
- [80](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L80) calls `InsertCapLedgEntryCostShare`

## SrvTrPrintInvtCostShareBufFtr5.OnAfterGetRecord

[Line 292](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L292), trigger.

- [321](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L321) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Insert

## OnPreReport

[Line 494](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L494), trigger.

- [512](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L512) writes [Table 5848 Cost Share Buffer](https://jonas-paprotka.de/ref/table/5848-cost-share-buffer/) DeleteAll

## CalcRemainingQty

[Line 540](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L540), local.

- [547](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L547) raises `OnCalcRemainingQtyOnAfterSetRemainingQty`
- [552](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L552) calls [Table 339 Item Application Entry](https://jonas-paprotka.de/ref/table/339-item-application-entry/) `AppliedFromEntryExists`
- [553](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L553) calls `ForwardToAppliedOutbndEntry`
- [561](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L561) calls `InsertItemLedgEntryCostShare`

## ForwardToAppliedOutbndEntry

[Line 564](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L564), local.

- [568](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L568) calls [Table 339 Item Application Entry](https://jonas-paprotka.de/ref/table/339-item-application-entry/) `AppliedOutbndEntryExists`
- [569](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L569) calls `ForwardItemLedgEntryCostShare`

## ForwardToAppliedInbndEntry

[Line 575](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L575), local.

- [579](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L579) calls [Table 339 Item Application Entry](https://jonas-paprotka.de/ref/table/339-item-application-entry/) `AppliedInbndEntryExists`
- [580](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L580) calls `ForwardItemLedgEntryCostShare`

## ForwardToInbndTranEntry

[Line 583](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L583), local.

- [587](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L587) calls [Table 339 Item Application Entry](https://jonas-paprotka.de/ref/table/339-item-application-entry/) `AppliedInbndTransEntryExists`
- [588](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L588) calls `ForwardItemLedgEntryCostShare`

## ForwardItemLedgEntryCostShare

[Line 594](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L594), local.

- [610](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L610) calls `InsertItemLedgEntryCostShare`
- [620](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L620) calls `InsertItemLedgEntryCostShare`
- [625](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L625) raises `OnForwardItemLedgEntryCostShareOnBeforeCheckCostShareQtyCondition`, IsHandled
- [636](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L636) calls `UpdateCosts`
- [639](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L639) writes [Table 5848 Cost Share Buffer](https://jonas-paprotka.de/ref/table/5848-cost-share-buffer/) Modify
- [641](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L641) calls `ForwardToAppliedOutbndEntry`
- [643](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L643) calls `ForwardToAppliedInbndEntry`
- [651](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L651) calls `UpdateCosts`
- [653](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L653) writes [Table 5848 Cost Share Buffer](https://jonas-paprotka.de/ref/table/5848-cost-share-buffer/) Modify
- [661](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L661) calls `ForwardToInbndTranEntry`
- [668](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L668) calls `UpdateCosts`
- [671](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L671) writes [Table 5848 Cost Share Buffer](https://jonas-paprotka.de/ref/table/5848-cost-share-buffer/) Modify

## InsertItemLedgEntryCostShare

[Line 705](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L705), local.

- [717](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L717) raises `OnInsertItemLedgEntryCostShareOnAfterSetQuantity`
- [738](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L738) calls `GetValueEntryCostAmts`
- [740](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L740) calls `IsInCostingPeriod`
- [753](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L753) calls `UpdateCostShareBufFromInvAdjmtEntryOrder`
- [781](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L781) writes [Table 5848 Cost Share Buffer](https://jonas-paprotka.de/ref/table/5848-cost-share-buffer/) Insert

## UpdateCostShareBufFromInvAdjmtEntryOrder

[Line 784](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L784), local.

- [794](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L794) calls [Codeunit 5896 Calc. Inventory Adjmt. - Order](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/) `CalcOutputQty`
- [795](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L795) calls [Codeunit 5896 Calc. Inventory Adjmt. - Order](https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/) `CalcActualUsageCosts`
- [802](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L802) calls `ApplyShareOfCostToCostShareBuffer`

## ApplyShareOfCostToCostShareBuffer

[Line 805](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L805), local.

- [810](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L810) raises `OnUpdateCostShareBufFromInvAdjmtEntryOrderOnBeforeApplyShareOfCost`

## InsertCapLedgEntryCostShare

[Line 823](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L823), local.

- [848](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L848) calls `GetValueEntryCostAmts`
- [850](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L850) calls `IsInCostingPeriod`
- [883](https://jonas-paprotka.de/ref/report/5848-cost-shares-breakdown/source/#L883) writes [Table 5848 Cost Share Buffer](https://jonas-paprotka.de/ref/table/5848-cost-share-buffer/) Insert

## Source

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

JOP-AL, 2026-11-20.
