---
title: "Codeunit 5975 Copy Service Contract Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-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 5975 Copy Service Contract Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/points/

3 procedures and triggers with a step in src/Layers/W1/BaseApp/Service/Contract/CopyServiceContractMgt.Codeunit.al, in source order, read from the text, not from a run.

## CopyServiceContractLines

[Line 14](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L14).

- [38](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L38) calls [Codeunit 5940 ServContractManagement](https://jonas-paprotka.de/ref/codeunit/5940-servcontractmanagement/) `CheckServiceItemBlockedForServiceContract`
- [39](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L39) calls [Codeunit 5940 ServContractManagement](https://jonas-paprotka.de/ref/codeunit/5940-servcontractmanagement/) `CheckItemServiceBlocked`
- [40](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L40) calls `ProcessServiceContractLine`
- [51](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L51) raises `OnAfterCopyServiceContractLines`

## GetServiceContractType

[Line 54](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L54).

- [62](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L62) raises `OnGetServiceContractTypeCaseElse`

## ProcessServiceContractLine

[Line 66](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L66), local.

- [96](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L96) calls [Table 5964 Service Contract Line](https://jonas-paprotka.de/ref/table/5964-service-contract-line/) `SetupNewLine`
- [97](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L97) writes [Table 5964 Service Contract Line](https://jonas-paprotka.de/ref/table/5964-service-contract-line/) Insert(true)
- [99](https://jonas-paprotka.de/ref/codeunit/5975-copy-service-contract-mgt/source/#L99) raises `OnAfterProcessServiceContractLine`

## Source

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

JOP-AL, 2026-11-20.
