Codeunit 1598 Email Logs Delete
Source AL, 55 lines
src/System Application/App/Email/src/EmailLogsDelete.Codeunit.allines 10 to 25 of 55, Copyright (c) Microsoft Corporation. MIT
codeunit 1598 "Email Logs Delete"{ Access = Internal; InherentPermissions = X; InherentEntitlements = X; Permissions = tabledata "Email Outbox" = rd, tabledata "Sent Email" = rd, tabledata "Email Retry" = rd, tabledata "Email Inbox" = rd; var NoFiltersErr: Label 'No filters were set on table %1, %2. Please contact your Microsoft Partner for assistance.', Comment = '%1 = a id of a table (integer), %2 = the caption of the table.'; [EventSubscriber(ObjectType::Codeunit, Codeunit::"Apply Retention Policy", OnApplyRetentionPolicyIndirectPermissionRequired, '', true, true)] local procedure DeleteRecordsWithIndirectPermissionsOnApplyRetentionPolicyIndirectPermissionRequired(var RecRef: RecordRef; var Handled: Boolean) var