Codeunit 3993 Base Application Logs Truncate
Source AL, 42 lines
src/Layers/W1/BaseApp/BaseApplicationLogsTruncate.Codeunit.allines 12 to 27 of 42, Copyright (c) Microsoft Corporation. MIT
codeunit 3993 "Base Application Logs Truncate"{ Access = Internal; Permissions = tabledata "Change Log Entry" = rd, tabledata "Error Message" = rd, tabledata "Error Message Register" = rd, tabledata "Integration Synch. Job Errors" = rd; [EventSubscriber(ObjectType::Codeunit, Codeunit::"Apply Retention Policy", 'OnTruncateRecordsIndirectPermissionRequired', '', true, true)] local procedure TruncateRecordsWithIndirectPermissionsOnTruncateRecordsIndirectPermissionRequired(var RecRef: RecordRef; var Handled: Boolean) begin // if someone else took it, exit if Handled then exit;