Codeunit 1928 Media Cleanup Impl.

System Application, System.DataAdministration

Source AL, 267 lines

src/System Application/App/Data Administration/src/MediaCleanupImpl.Codeunit.allines 10 to 25 of 267, Copyright (c) Microsoft Corporation. MIT

codeunit 1928 "Media Cleanup Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "Tenant Media" = rimd,                  tabledata "Tenant Media Set" = rimd;    var        TenantMediaNotTemporaryErr: Label 'The tenant media is not temporary.';        MediaContentDefaultFileNameTxt: Label 'MediaContent', Comment = 'Name of the file that will be downloaded when you try to download media content without a file name.';        CannotScheduleTaskRunManuallyQst: Label 'You are not able to schedule tasks, would you like to run the media cleanup in the foreground instead?';        CleanupJobScheduledMsg: Label 'A background task has been scheduled to cleanup all detached Media.';        ScheduledTaskAlreadyExistContinueQst: Label 'A task has already been scheduled for cleaning up data, do you want to continue?';        CleanupFinishedSuccessfullyMsg: Label 'All detached media were successfully cleaned.';        CleanupFailedMsg: Label 'There was an error while cleaning all detached media.';

All 267 lines

Public procedures 8 in 29

GetDetachedTenantMedia(var TempTenantMediaVar: Record "Tenant Media" temporary; LoadMediaContent: Boolean; RecordLimit: Integer): Booleannew in 22
GetTenantMediaFromDetachedMediaSet(var TempTenantMediaVar: Record "Tenant Media" temporary; LoadMediaContent: Boolean; RecordLimit: Integer): Booleannew in 22
DownloadTenantMedia(MediaId: Guid): Booleannew in 22
DeleteTenantMedia(var TempTenantMedia: Record "Tenant Media" temporary)new in 22
DeleteDetachedTenantMediaSet()new in 22
DeleteDetachedTenantMedia()new in 22

All 8 procedures

Changes 1 in 27

List17181920212223242526272829
Procedures1
SplitListIntoSubLists(var InputList: List of [Guid]; SubListCount: Integer; var SplitList: List of [List of [Guid]])new in 27
added

All 1 changes in 22-29