Codeunit 3905 Reten. Pol. Allowed Tables

System Application, System.DataAdministration

Source AL, 330 lines

src/System Application/App/Retention Policy/src/Retention Policy Allowed Tables/RetenPolAllowedTables.Codeunit.allines 14 to 29 of 330, Copyright (c) Microsoft Corporation. MIT

codeunit 3905 "Reten. Pol. Allowed Tables"{    Access = Public;    Permissions = tabledata Field = r,                  tabledata "Retention Policy Allowed Table" = r;    var        RetenPolAllowedTblRenameErr: Label 'Reten. Pol. Allowed Tables cannot be renamed. (From table ID %1 to %2.)', Comment = '%1, %2 = table number';    /// <summary>    /// Adds a table to the list of allowed tables.    /// </summary>    /// <param name="TableId">The ID of the table to add.</param>    /// <returns>True if the table is in the list of allowed tables. False if the table is not in the list of allowed tables.</returns>    procedure AddAllowedTable(TableId: Integer): Boolean    var

All 330 lines

Events 1 in 29

[IntegrationEvent] OnRefreshAllowedTables()new in 21

Public procedures 19 in 29

AddAllowedTable(TableId: Integer): Boolean17-29
AddAllowedTable(TableId: Integer; DefaultDateFieldNo: Integer): Boolean17-29
AddAllowedTable(TableId: Integer; DefaultDateFieldNo: Integer; MandatoryMinRetenDays: Integer): Boolean17-29
AddAllowedTable(TableId: Integer; DefaultDateFieldNo: Integer; TableFilters: JsonArray): Boolean17-29
AddAllowedTable(TableId: Integer; TableFilters: JsonArray): Boolean17-29
AddAllowedTable(TableId: Integer; DefaultDateFieldNo: Integer; MandatoryMinRetenDays: Integer; RetenPolFiltering: Enum "Reten. Pol. Filtering"; RetenPolDeleting: Enum "Reten. Pol. Deleting"; TableFilters: JsonArray): Boolean17-29

All 19 procedures

Changes 2 in 28

List17181920212223242526272829
Procedures22
Events1
SetTruncateAllowed(TableId: Integer; TruncateAllowed: Boolean)new in 28
added
IsTruncateAllowed(TableId: Integer): Booleannew in 28
added

All 5 changes in 17-29