{"title":"Page 3325 PA Email Storage Cleanup, extension points 29","url":"https://jonas-paprotka.de/ref/page/3325-pa-email-storage-cleanup/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":3325,"name":"PA Email Storage Cleanup","app":"Payables Agent","url":"https://jonas-paprotka.de/ref/page/3325-pa-email-storage-cleanup/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/3325-pa-email-storage-cleanup/source/","path":"src/Apps/W1/PayablesAgent/app/EmailStorageCleanup/PAEmailStorageCleanup.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:3324":{"name":"PA Email Cleanup Scheduler","url":"https://jonas-paprotka.de/ref/codeunit/3324-pa-email-cleanup-scheduler/"},"table:3320":{"name":"PA Email Cleanup Setup","url":"https://jonas-paprotka.de/ref/table/3320-pa-email-cleanup-setup/"},"codeunit:3322":{"name":"PA Email Cleanup","url":"https://jonas-paprotka.de/ref/codeunit/3322-pa-email-cleanup/"}},"procs":[{"name":"CheckNow.OnAction","line":172,"kind":"trigger","steps":[[174,"call","RefreshStatistics",0]]},{"name":"ViewDuplicates.OnAction","line":184,"kind":"trigger","steps":[[189,"call","RefreshStatistics",0]]},{"name":"ActivateSchedule.OnAction","line":199,"kind":"trigger","steps":[[208,"ext","codeunit",3324,"Activate",1],[209,"call","RefreshScheduleState",0]]},{"name":"RunNow.OnAction","line":220,"kind":"trigger","steps":[[228,"ext","codeunit",3324,"Activate",1],[229,"call","RefreshScheduleState",0]]},{"name":"CancelSchedule.OnAction","line":240,"kind":"trigger","steps":[[248,"ext","codeunit",3324,"CancelCleanupJob",0],[249,"call","RefreshScheduleState",0]]},{"name":"OpenJobQueueEntry.OnAction","line":260,"kind":"trigger","steps":[[264,"ext","codeunit",3324,"OpenJobQueueCard",0]]},{"name":"OnOpenPage","line":299,"kind":"trigger","steps":[[301,"ext","table",3320,"GetSingleton",0],[303,"ext","table",3320,"DefaultCommitBatchSize",0],[305,"ext","table",3320,"DefaultDeletionLimit",0],[307,"call","RefreshScheduleState",0]]},{"name":"RefreshStatistics","line":310,"kind":"procedure","access":"local","params":0,"steps":[[314,"ext","codeunit",3322,"GetDuplicateStatistics",3]]},{"name":"RefreshScheduleState","line":324,"kind":"procedure","access":"local","params":0,"steps":[[328,"ext","codeunit",3324,"GetStatusText",0],[329,"ext","codeunit",3324,"GetScheduledAt",0],[330,"ext","codeunit",3324,"GetLastError",0],[331,"ext","codeunit",3324,"IsRunning",0],[334,"ext","codeunit",3324,"IsScheduled",0]]}]}