Codeunit 3322 PA Email Cleanup

Payables Agent, Microsoft.Agent.PayablesAgent

Source AL, 240 lines

src/Apps/W1/PayablesAgent/app/EmailStorageCleanup/PAEmailCleanup.Codeunit.allines 10 to 25 of 240, Copyright (c) Microsoft Corporation. MIT

codeunit 3322 "PA Email Cleanup"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "Email Inbox" = rd;    var        CleanupCompletedTelemetryLbl: Label 'Payables Agent email duplicate cleanup completed.', Locked = true;        ScanCompletedTelemetryLbl: Label 'Payables Agent email duplicate scan completed.', Locked = true;    /// <summary>    /// Scans the Email Inbox and fills the buffer with one row per duplicate group.    /// </summary>    procedure BuildDuplicateGroups(var TempDuplicateBuffer: Record "PA Email Duplicate Buffer" temporary) TotalDeletable: Integer    var

All 240 lines

Public procedures 3 in 29

BuildDuplicateGroups(var TempDuplicateBuffer: Record "PA Email Duplicate Buffer" temporary): Integernew in 29
GetDuplicateStatistics(var GroupCount: Integer; var RedundantRowCount: Integer; var SkippedRowCount: Integer)new in 29
CleanUpDuplicates(): Integernew in 29

All 5 procedures in 29