---
title: "Codeunit 6461 Serv. Document Print"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/6461-serv-document-print/
type: codeunit
id: 6461
name: "Serv. Document Print"
app: "Base Application"
namespace: Microsoft.Foundation.Reporting
versions: "25-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/6461-serv-document-print/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 6461 Serv. Document Print

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/6461-serv-document-print/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Foundation.Reporting |
| Versions | 25-28 |
| Source file | Service/Document/ServDocumentPrint.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| PrintServiceHeader | (Record Service Header) | - | public | 25-28 | - | - |
| PrintServiceItemWorksheet | (Record Service Item Line) | - | public | 25-28 | - | - |
| PrintServiceContract | (Record Service Contract Header) | - | public | 25-28 | - | - |
| CalcServDisc | (var Record Service Header) | - | public | 25-28 | - | - |
| GetServContractTypeUsage | (Record Service Contract Header) | Enum Report Selection Usage | public | 25-28 | - | - |
| GetServHeaderDocTypeUsage | (Record Service Header) | Enum Report Selection Usage | public | 25-28 | - | - |
| PrintServiceHeaderToDocumentAttachment | (var Record Service Header) | - | public | 25-28 | - | - |
| PrintServiceContractToDocumentAttachment | (var Record Service Contract Header) | - | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeCalcServDisc | (var Record Service Header, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforePrintServiceHeader | (var Record Service Header, Integer, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforePrintServiceItemWorksheet | (var Record Service Item Line, Enum Report Selection Usage, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforePrintServiceContract | (var Record Service Contract Header, Integer, var Boolean) | 25-28 | - | - |
| Integration event | OnGetServHeaderDocTypeUsageElseCase | (Record Service Header, var Integer, var Boolean) | 25-28 | - | - |
| Integration event | OnGetServContractTypeUsageElseCase | (Record Service Contract Header, var Integer, var Boolean) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
