---
title: "Codeunit 1931 Scheduled Perf. Profiler"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1931-scheduled-perf-profiler/
type: codeunit
id: 1931
name: "Scheduled Perf. Profiler"
app: "System Application"
namespace: System.Tooling
versions: "25-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1931-scheduled-perf-profiler/source/25/ https://jonas-paprotka.de/ref/codeunit/1931-scheduled-perf-profiler/source/26/ https://jonas-paprotka.de/ref/codeunit/1931-scheduled-perf-profiler/source/27/ https://jonas-paprotka.de/ref/codeunit/1931-scheduled-perf-profiler/source/28/ https://jonas-paprotka.de/ref/codeunit/1931-scheduled-perf-profiler/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 1931 Scheduled Perf. Profiler

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1931-scheduled-perf-profiler/

| | |
| --- | --- |
| App | System Application |
| Namespace | System.Tooling |
| Versions | 25-28 |
| Source file | Performance Profiler/src/ScheduledPerfProfiler.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ValidatePerformanceProfileSchedulerDates | (Record Performance Profile Scheduler, Duration) | - | public | 25-28 | - | - |
| ValidatePerformanceProfileSchedulerDatesRelation | (Record Performance Profile Scheduler) | - | public | 25-28 | - | - |
| ValidatePerformanceProfileEndTime | (Record Performance Profile Scheduler) | - | public | 25-28 | - | - |
| MapActivityTypeToRecord | (var Record Performance Profile Scheduler, Enum Perf. Profile Activity Type) | - | public | 25-28 | - | - |
| MapRecordToActivityType | (Record Performance Profile Scheduler, var Enum Perf. Profile Activity Type) | - | public | 25-28 | - | - |
| FilterUsers | (var Record Performance Profile Scheduler, Guid) | - | public | 25-28 | - | - |
| FilterUsers | (var Record Performance Profile Scheduler, Guid, Boolean) | - | public | 25-28 | - | - |
| ValidateScheduleCreationPermissions | (Guid, Guid) | - | public | 25-28 | - | - |
| MapRecordToUserName | (Record Performance Profile Scheduler) | Text | public | 25-28 | - | - |
| InitializeFields | (var Record Performance Profile Scheduler, var Enum Perf. Profile Activity Type) | - | public | 25-28 | - | - |
| ValidatePerformanceProfileSchedulerRecord | (Record Performance Profile Scheduler, Enum Perf. Profile Activity Type) | - | public | 25-28 | - | - |
| GetRetentionPeriod | () | Code[20] | public | 25-28 | - | - |
| ValidateThreshold | (var Record Performance Profile Scheduler) | - | public | 25-28 | - | - |
| IsProfilingEnabled | (var Guid) | Boolean | public | 25-28 | - | - |

## Source

Symbols: Microsoft.SystemApplication.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 25: https://github.com/microsoft/BCApps, MIT, releases/25.x at 68d52c129129c83b2e396a473aaa5b2ce61d2eed.
AL source 26: https://github.com/microsoft/BCApps, MIT, releases/26.x at 78c4acf0d64a8eee157ea80164fa8fc2acffc9eb.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at 1749020b4c9445a43e4f7f540e89b7fa76ec25fd.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 740f59156b249f8ed7cba2e28423f03ae7b07233.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
