---
title: "Codeunit 1660 Payroll Management, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/points/
object: https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/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 1660 Payroll Management, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/points/

4 procedures and triggers with a step in src/Layers/W1/BaseApp/Finance/Payroll/PayrollManagement.Codeunit.al, in source order, read from the text, not from a run.

## ShowPayrollForTestInNonSaas

[Line 40](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L40).

- [44](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L44) calls [Codeunit 457 Environment Information](https://jonas-paprotka.de/ref/codeunit/457-environment-information/) `IsSaaS`

## ImportPayroll

[Line 54](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L54).

- [58](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L58) writes [Table 1400 Service Connection](https://jonas-paprotka.de/ref/table/1400-service-connection/) DeleteAll
- [59](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L59) raises `OnRegisterPayrollService`
- [64](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L64) calls `EnabledPayrollServiceExists`
- [66](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L66) calls `EnablePayrollService`
- [70](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L70) calls `EnabledPayrollServiceExists`
- [71](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L71) calls `SelectPayrollService`
- [72](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L72) raises `OnImportPayroll`

## EnablePayrollService

[Line 82](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L82), local.

- [88](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L88) calls `SelectPayrollService`
- [91](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L91) calls `SetupPayrollService`
- [92](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L92) writes [Table 1400 Service Connection](https://jonas-paprotka.de/ref/table/1400-service-connection/) DeleteAll
- [93](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L93) raises `OnRegisterPayrollService`
- [96](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L96) calls `EnabledPayrollServiceExists`

## SetupPayrollService

[Line 130](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L130), local.

- [141](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L141) calls [Codeunit 1990 Guided Experience](https://jonas-paprotka.de/ref/codeunit/1990-guided-experience/) `AssistedSetupExistsAndIsNotComplete`
- [143](https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/#L143) runs [Codeunit 1990 Guided Experience](https://jonas-paprotka.de/ref/codeunit/1990-guided-experience/)

## Source

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

JOP-AL, 2026-11-20.
