---
title: "Codeunit 5971 Service Header Apply, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5971-service-header-apply/points/
object: https://jonas-paprotka.de/ref/codeunit/5971-service-header-apply/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5971-service-header-apply/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 5971 Service Header Apply, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5971-service-header-apply/points/

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

## OnRun

[Line 13](https://jonas-paprotka.de/ref/codeunit/5971-service-header-apply/source/#L13), trigger.

- [20](https://jonas-paprotka.de/ref/codeunit/5971-service-header-apply/source/#L20) raises `OnRunOnAfterSetCustLedgEntryFilters`
- [26](https://jonas-paprotka.de/ref/codeunit/5971-service-header-apply/source/#L26) calls [Page 5939 Serv. Apply Customer Entries](https://jonas-paprotka.de/ref/page/5939-serv-apply-customer-entries/) `SetService`
- [45](https://jonas-paprotka.de/ref/codeunit/5971-service-header-apply/source/#L45) writes [Table 5900 Service Header](https://jonas-paprotka.de/ref/table/5900-service-header/) Modify

## Source

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

JOP-AL, 2026-11-20.
