---
title: "Codeunit 1932 Scheduled Perf. Profiler Impl., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/points/
object: https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/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 1932 Scheduled Perf. Profiler Impl., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/points/

7 procedures and triggers with a step in src/System Application/App/Performance Profiler/src/ScheduledPerfProfilerImpl.Codeunit.al, in source order, read from the text, not from a run.

## MapActivityTypeToRecord

[Line 22](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L22).

- [26](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L26) calls [Codeunit 1934 Perf. Prof. Activity Mapper](https://jonas-paprotka.de/ref/codeunit/1934-perf-prof-activity-mapper/) `MapActivityTypeToClientType`

## MapRecordToActivityType

[Line 29](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L29).

- [33](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L33) calls [Codeunit 1934 Perf. Prof. Activity Mapper](https://jonas-paprotka.de/ref/codeunit/1934-perf-prof-activity-mapper/) `MapClientTypeToActivityType`

## FilterUsers

[Line 53](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L53).

- [60](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L60) calls [Codeunit 152 User Permissions](https://jonas-paprotka.de/ref/codeunit/152-user-permissions/) `CanManageUsersOnTenant`

## ValidateScheduleCreationPermissions

[Line 69](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L69).

- [76](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L76) calls [Codeunit 152 User Permissions](https://jonas-paprotka.de/ref/codeunit/152-user-permissions/) `CanManageUsersOnTenant`

## CreateRetentionPolicySetup

[Line 164](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L164).

- [169](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L169) calls [Codeunit 3902 Retention Policy Setup](https://jonas-paprotka.de/ref/codeunit/3902-retention-policy-setup/) `FindOrCreateRetentionPeriod`
- [171](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L171) runs [Page 3901 Retention Policy Setup Card](https://jonas-paprotka.de/ref/page/3901-retention-policy-setup-card/)

## CreateRetentionPolicySetup

[Line 174](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L174).

- [182](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L182) calls [Codeunit 3905 Reten. Pol. Allowed Tables](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/) `IsAllowedTable`
- [183](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L183) calls [Codeunit 3905 Reten. Pol. Allowed Tables](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/) `AddAllowedTable`
- [184](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L184) validates [Table 3901 Retention Policy Setup](https://jonas-paprotka.de/ref/table/3901-retention-policy-setup/) `Table Id`
- [185](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L185) validates [Table 3901 Retention Policy Setup](https://jonas-paprotka.de/ref/table/3901-retention-policy-setup/) `Apply to all records`
- [186](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L186) validates [Table 3901 Retention Policy Setup](https://jonas-paprotka.de/ref/table/3901-retention-policy-setup/) `Retention Period`
- [187](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L187) validates [Table 3901 Retention Policy Setup](https://jonas-paprotka.de/ref/table/3901-retention-policy-setup/) `Enabled`
- [188](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L188) writes [Table 3901 Retention Policy Setup](https://jonas-paprotka.de/ref/table/3901-retention-policy-setup/) Insert(true)

## ValidateThreshold

[Line 191](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L191).

- [194](https://jonas-paprotka.de/ref/codeunit/1932-scheduled-perf-profiler-impl/source/#L194) validates [Table 2000000265 Performance Profile Scheduler](https://jonas-paprotka.de/ref/table/2000000265-performance-profile-scheduler/) `Profile Creation Threshold`

## Source

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

JOP-AL, 2026-11-20.
