---
title: "Codeunit 6476 Serv. Cost Calculation Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/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/"
---

# Codeunit 6476 Serv. Cost Calculation Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/points/

5 procedures and triggers with a step in src/Layers/W1/BaseApp/Service/Inventory/Costing/ServCostCalculationMgt.Codeunit.al, in source order, read from the text, not from a run.

## CalcServCrMemoLineCostLCY

[Line 17](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L17).

- [23](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L23) raises `OnBeforeCalcServCrMemoLineCostLCY`, IsHandled
- [31](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L31) calls [Table 5995 Service Cr.Memo Line](https://jonas-paprotka.de/ref/table/5995-service-cr-memo-line/) `FilterPstdDocLineValueEntries`
- [32](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L32) calls [Codeunit 5836 Cost Calculation Management](https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/) `SumValueEntriesCostAmt`

## CalcServLineCostLCY

[Line 37](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L37).

- [52](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L52) calls `CalcServLineShptAdjCostLCY`

## CalcServLineShptAdjCostLCY

[Line 56](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L56), local.

- [87](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L87) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`
- [89](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L89) calls `CalcServShptLineCostLCY`

## CalcServShptLineCostLCY

[Line 118](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L118), local.

- [126](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L126) calls [Table 5991 Service Shipment Line](https://jonas-paprotka.de/ref/table/5991-service-shipment-line/) `FilterPstdDocLnItemLedgEntries`
- [129](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L129) calls [Codeunit 5836 Cost Calculation Management](https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/) `CalcPostedDocLineCostLCY`

## CalcServInvLineCostLCY

[Line 137](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L137).

- [143](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L143) raises `OnBeforeCalcServInvLineCostLCY`, IsHandled
- [151](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L151) calls [Table 5993 Service Invoice Line](https://jonas-paprotka.de/ref/table/5993-service-invoice-line/) `FilterPstdDocLineValueEntries`
- [152](https://jonas-paprotka.de/ref/codeunit/6476-serv-cost-calculation-mgt/source/#L152) calls [Codeunit 5836 Cost Calculation Management](https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/) `SumValueEntriesCostAmt`

## Source

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

JOP-AL, 2026-11-20.
