Codeunit 1931 "Scheduled Perf. Profiler"
System Application · System.Tooling
Across versions
- BC23-24not present
- BC25added
- BC26-30unchanged
Neighbourhood 3 connected objects and pages
System Application · System.Tooling · BC25-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
ValidatePerformanceProfileSchedulerDates(PerformanceProfileScheduler: Record "Performance Profile Scheduler"; MaxRetentionPeriod: Duration): Validate dates for the “Performance Profile Scheduler” record with all validations.ValidatePerformanceProfileSchedulerDatesRelation(PerformanceProfileScheduler: Record "Performance Profile Scheduler"): Validate the relation between the dates for the “Performance Profile Scheduler” record.ValidatePerformanceProfileEndTime(PerformanceProfileScheduler: Record "Performance Profile Scheduler"): Validates the end time of a schedule.MapActivityTypeToRecord(var PerformanceProfileScheduler: Record "Performance Profile Scheduler"; ActivityType: Enum "Perf. Profile Activity Type"): Maps an activity type to a session type.MapRecordToActivityType(PerformanceProfileScheduler: Record "Performance Profile Scheduler"; var ActivityType: Enum "Perf. Profile Activity Type"): Maps a session type to an activity type.FilterUsers(var PerformanceProfileScheduler: Record "Performance Profile Scheduler"; SecurityID: Guid): Filters the record with the users that are allowed to view the Performance Profile Scheduler pageFilterUsers(var PerformanceProfileScheduler: Record "Performance Profile Scheduler"; SecurityID: Guid; ForceFilterToUser: Boolean): Filters the record with the users that are allowed to view the Performance Profile Scheduler pageValidateScheduleCreationPermissions(UserID: Guid; ScheduleUserId: Guid): Returns true if the user can make schedules for other users.MapRecordToUserName(PerformanceProfileScheduler: Record "Performance Profile Scheduler"): Text: Maps a session type to an activity type.InitializeFields(var PerformanceProfileScheduler: Record "Performance Profile Scheduler"; var ActivityType: Enum "Perf. Profile Activity Type"): Initalizes the fields for the “Performance Profile Scheduler” recordValidatePerformanceProfileSchedulerRecord(PerformanceProfileScheduler: Record "Performance Profile Scheduler"; ActivityType: Enum "Perf. Profile Activity Type"): Validates the consistency of the “Performance Profile Scheduler” recordGetRetentionPeriod(): Code[20]: Gets the retention period for performance profilesValidateThreshold(var PerformanceProfileScheduler: Record "Performance Profile Scheduler"): Validates the threshold fieldIsProfilingEnabled(var ScheduleID: Guid): Boolean: Returns true if profiling is enabled for the session.
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 1932 “Scheduled Perf. Profiler Impl.” (13 calls:
FilterUsers → FilterUsers,GetRetentionPeriod → GetRetentionPeriod,InitializeFields → InitializeFields, …)
Called by
- Page 1932 “Perf. Profiler Schedule Card” (8 calls:
OnAfterGetCurrRecord → GetRetentionPeriod,OnAfterGetCurrRecord → MapActivityTypeToRecord,OnAfterGetCurrRecord → MapRecordToUserName, …) - Page 1933 “Perf. Profiler Schedules List” (8 calls:
OnAfterGetCurrRecord → MapRecordToActivityType,OnAfterGetCurrRecord → MapRecordToUserName,OnAfterGetRecord → MapRecordToActivityType, …)
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"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.