Codeunit 3324 PA Email Cleanup Scheduler

Payables Agent, Microsoft.Agent.PayablesAgent

Source AL, 171 lines

src/Apps/W1/PayablesAgent/app/EmailStorageCleanup/PAEmailCleanupScheduler.Codeunit.allines 13 to 28 of 171, Copyright (c) Microsoft Corporation. MIT

codeunit 3324 "PA Email Cleanup Scheduler"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "Job Queue Entry" = rimd;    var        JobDescriptionTxt: Label 'Payables Agent - Email Inbox duplicate cleanup';        CategoryCodeTok: Label 'PAEMAILCLN', Locked = true, Comment = 'Max length 10.';        NotScheduledTxt: Label 'Not scheduled';        RunningTxt: Label 'Running now';        ScheduledForTxt: Label 'Scheduled for %1', Comment = '%1 = date and time the cleanup starts';        OnHoldTxt: Label 'On hold';        FinishedTxt: Label 'Finished - see the Job Queue Log for the result';        FailedTxt: Label 'Failed: %1', Comment = '%1 = the job queue error message';

All 171 lines

Public procedures 8 in 29

Activate(RequestedStartDateTime: DateTime)new in 29
CancelCleanupJob()new in 29
IsScheduled(): Booleannew in 29
IsRunning(): Booleannew in 29
GetLastError(): Textnew in 29
GetScheduledAt(): DateTimenew in 29

All 8 procedures