Codeunit 1932 "Scheduled Perf. Profiler Impl."
System Application · System.Tooling
Across versions
- BC23-24not present
- BC25added
- BC261 procedures added
- BC27-30unchanged
Neighbourhood 9 connected objects and pages
System Application · System.Tooling · BC25-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| SingleInstance | true |
| Permissions | tabledata “Retention Policy Setup” = ri |
Event subscriptions
- GetProfilerSchedulesPageId subscribes to Codeunit “System Action Triggers” GetProfilerSchedulesPageId
Procedures
MapActivityTypeToRecord(var PerformanceProfileScheduler: Record "Performance Profile Scheduler"; ActivityType: Enum "Perf. Profile Activity Type")MapRecordToActivityType(PerformanceProfileScheduler: Record "Performance Profile Scheduler"; var ActivityType: Enum "Perf. Profile Activity Type")MapRecordToUserName(PerformanceProfileScheduler: Record "Performance Profile Scheduler"): TextFilterUsers(var PerformanceProfileScheduler: Record "Performance Profile Scheduler"; SecurityID: Guid; ForceFilterToUser: Boolean)FilterUsers(var RecordRef: RecordRef; SecurityID: Guid; ForceFilterToUser: Boolean)ValidateScheduleCreationPermissions(UserID: Guid; ScheduleUserID: Guid)InitializeFields(var PerformanceProfileScheduler: Record "Performance Profile Scheduler"; var ActivityType: Enum "Perf. Profile Activity Type")ValidatePerformanceProfileSchedulerDates(PerformanceProfileScheduler: Record "Performance Profile Scheduler"; MaxRetentionPeriod: Duration)ValidatePerformanceProfileSchedulerDatesRelation(PerformanceProfileScheduler: Record "Performance Profile Scheduler")ValidatePerformanceProfileEndTime(PerformanceProfileScheduler: Record "Performance Profile Scheduler")ValidatePerformanceProfileScheduler(PerformanceProfileScheduler: Record "Performance Profile Scheduler"; ActivityType: Enum "Perf. Profile Activity Type")GetRetentionPeriod(): Code[20]CreateRetentionPolicySetup(ErrorInfo: ErrorInfo)CreateRetentionPolicySetup(TableId: Integer; RetentionPeriodCode: Code[20])ValidateThreshold(var PerformanceProfileScheduler: Record "Performance Profile Scheduler")IsProfilingEnabled(var ScheduleId: Guid): Boolean(internal)GetStatus(PerformanceProfileScheduler: Record "Performance Profile Scheduler"): Text+ BC26 (internal)
Plus 1 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 1934 “Perf. Prof. Activity Mapper” (2 calls:
MapActivityTypeToRecord → MapActivityTypeToClientType,MapRecordToActivityType → MapClientTypeToActivityType) - Codeunit 152 “User Permissions” (1 call:
ValidateScheduleCreationPermissions → CanManageUsersOnTenant) - Codeunit 3902 “Retention Policy Setup” (1 call:
CreateRetentionPolicySetup → FindOrCreateRetentionPeriod) - Page 3901 “Retention Policy Setup Card” (1 call:
CreateRetentionPolicySetup → (object))
Called by
- Codeunit 1931 “Scheduled Perf. Profiler” (13 calls:
FilterUsers → FilterUsers,GetRetentionPeriod → GetRetentionPeriod,InitializeFields → InitializeFields, …) - Codeunit 1933 “Performance Profiler Installer” (1 call:
AddRetentionPolicyAllowedTables → CreateRetentionPolicySetup) - Page 1931 “Performance Profile List” (1 call:
OnOpenPage → FilterUsers) - Page 1932 “Perf. Profiler Schedule Card” (1 call:
OnAfterGetCurrRecord → GetStatus) - Page 1933 “Perf. Profiler Schedules List” (1 call:
OnAfterGetRecord → GetStatus)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Scheduled Perf. Profiler Impl."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.