Codeunit 3998 Retention Policy Scheduler

Base Application, System.DataAdministration

Source AL, 138 lines

src/Layers/W1/BaseApp/System/RetentionPolicy/RetentionPolicyScheduler.Codeunit.allines 5 to 20 of 138, Copyright (c) Microsoft Corporation. MIT

codeunit 3998 "Retention Policy Scheduler"{    Access = Internal;    Permissions = tabledata "Job Queue Category" = ri,                  tabledata "Job Queue Entry" = rim;    var        JobQueueActivatedNotificationTxt: Label 'A Job Queue Entry to apply the retention policies has been scheduled to run.';        JobQueueReadyNotificationTxt: Label 'A Job Queue Entry to apply the retention policies was set to Ready state.';        JobQueueDeactivatedNotificationTxt: Label 'A Job Queue Entry to apply the retention policies was set to On-Hold state.';        JobQueueCategoryTok: Label 'RETENTION', Locked = true, Comment = 'Max Length 10';        JobQueueCategoryDescTxt: Label 'Retention Policies';        RetentionPolicyLogCategory: Enum "Retention Policy Log Category";    [EventSubscriber(ObjectType::Table, Database::"Retention Policy Setup", 'OnAfterInsertEvent', '', true, true)]    local procedure CheckRetentionPolicyScheduleOnAfterInsert(var Rec: Record "Retention Policy Setup")

All 138 lines