Codeunit 3912 Reten. Policy Telemetry Impl.

System Application, System.DataAdministration

Source AL, 273 lines

src/System Application/App/Retention Policy/src/Retention Policy Log/RetenPolicyTelemetryImpl.Codeunit.allines 10 to 25 of 273, Copyright (c) Microsoft Corporation. MIT

codeunit 3912 "Reten. Policy Telemetry Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "Retention Policy Log Entry" = r;    var        FirstRetenPolEnabledLbl: Label 'First retention policy enabled on: %1', Locked = true;        LastRetenPolDisabledLbl: Label 'Last retention policy disabled on: %1', Locked = true;        RecordsDeletedLbl: Label 'Records Deleted Using Retention Policy: Deleted %1 records from Table %2, %3', Locked = true;        RetenPolEntryLoggedLbl: Label 'Retention Policy Log Entry Logged: %1', Locked = true;        RetentionPolicySetupLbl: Label 'Retention Policy Setup', Locked = true;        RetentionPolicySetupValuesLbl: Label 'Retention Policy Setup status was changed to: %1 for table id: %2 with retention period %3', Locked = true;        RetentionPolicySetupLineValuesLbl: Label 'Retention Policy Setup Line status was changed to: %1 for table id: %2 with retention period %3 and filters: %4', Locked = true;        EntryDeletedLbl: Label 'Deleted', Locked = true;

All 273 lines

Public procedures 7 in 29

SendLogEntryToTelemetry(RetentionPolicyLogEntry: Record "Retention Policy Log Entry")17-29
SendTelemetryOnRecordsDeleted(TableNo: Integer; TableName: Text; RecordCount: Integer; ManualRun: Boolean)17-29
SendTelemetryOnInsertLogEntryInForegroundSessionStart(InitializationInProgress: Boolean; CurrenExecutionContext: ExecutionContext)new in 18
SendTelemetryOnInsertLogEntryInForegroundSessionEnd(InitializationInProgress: Boolean; CurrenExecutionContext: ExecutionContext)new in 18
SendTelemetryOnInsertLogEntryInBackgroundSessionStart(InitializationInProgress: Boolean; CurrenExecutionContext: ExecutionContext)new in 18
SendTelemetryOnInsertLogEntryInBackgroundSessionEnd(InitializationInProgress: Boolean; CurrenExecutionContext: ExecutionContext)new in 18

All 7 procedures

Changes 5 in 18

List17181920212223242526272829
Procedures5
SendTelemetryOnInsertLogEntryInForegroundSessionStart(InitializationInProgress: Boolean; CurrenExecutionContext: ExecutionContext)new in 18
added
SendTelemetryOnInsertLogEntryInForegroundSessionEnd(InitializationInProgress: Boolean; CurrenExecutionContext: ExecutionContext)new in 18
added
SendTelemetryOnInsertLogEntryInBackgroundSessionStart(InitializationInProgress: Boolean; CurrenExecutionContext: ExecutionContext)new in 18
added
SendTelemetryOnInsertLogEntryInBackgroundSessionEnd(InitializationInProgress: Boolean; CurrenExecutionContext: ExecutionContext)new in 18
added
SendTelemetryOnInsertLogEntryInBackgroundSessionFailed(InitializationInProgress: Boolean; CurrenExecutionContext: ExecutionContext)new in 18
added

All 5 changes in 17-29