Codeunit 3906 "Reten. Pol. Allowed Tbl. Impl."
System Application · System.DataAdministration
Across versions
- BC23-24present
- BC251 procedures added
- BC26-27unchanged
- BC282 procedures added
- BC29-30unchanged
Neighbourhood 5 connected objects and pages
System Application · System.DataAdministration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata AllObj = r, tabledata AllObjWithCaption = r, tabledata Field = r, tabledata “Published Application” = r, tabledata “Retention Policy Allowed Table” = rimd |
Events published
OnVerifyAddtoAllowedList(TableId: Integer; var InsertAllowed: Boolean)(internal): This is an internal event that only this module is allowed to subscribe to. It is raised by a subscriber to the OnBeforeInsertEvent of the Reten. Pol. Allowed Table table. The manual subscriber AllowAddtoAllowedList is bound just before the Insert() in procedure AddToAllowedTables. These elements co…- subscribers: Codeunit 3906 “Reten. Pol. Allowed Tbl. Impl.” AllowAddtoAllowedList
OnVerifyModifyAllowedList(TableId: Integer; var ModifyAllowed: Boolean)(internal): This is an internal event that only this module is allowed to subscribe to. It is raised by a subscriber to the OnBeforeModifyEvent of the Reten. Pol. Allowed Table table. The manual subscriber AllowModifyAllowedList is bound just before the Modify() in procedure AddToAllowedTables. These elements c…- subscribers: Codeunit 3906 “Reten. Pol. Allowed Tbl. Impl.” AllowModifyAllowedList
Event subscriptions
- AllowAddtoAllowedList subscribes to Codeunit “Reten. Pol. Allowed Tbl. Impl.” OnVerifyAddtoAllowedList
- AllowModifyAllowedList subscribes to Codeunit “Reten. Pol. Allowed Tbl. Impl.” OnVerifyModifyAllowedList
Procedures
AddToAllowedTables(TableId: Integer; DefaultDateFieldNo: Integer; CallerModuleInfo: ModuleInfo; MandatoryMinRetenDays: Integer; TableFilters: JsonArray): BooleanAddToAllowedTables(TableId: Integer; DefaultDateFieldNo: Integer; CallerModuleInfo: ModuleInfo; MandatoryMinRetenDays: Integer; RetenPolFiltering: Enum "Reten. Pol. Filtering"; RetenPolDeleting: Enum "Reten. Pol. Deleting"; TableFilters: JsonArray): BooleanRemoveFromAllowedTables(TableId: Integer): BooleanIsAllowedTable(TableId: Integer): BooleanGetAllowedTables(var AllowedList: List of [Integer])GetRetenPolFiltering(TableId: Integer): Enum "Reten. Pol. Filtering"GetRetenPolDeleting(TableId: Integer): Enum "Reten. Pol. Deleting"GetDefaultDateFieldNo(TableId: Integer): IntegerGetMandatoryMinimumRetentionDays(TableId: Integer): IntegerCalcMinimumExpirationDate(TableId: Integer): DateGetAllowedTables(): TextAddTableFilterToJsonArray(var TableFilters: JsonArray; RetentionPeriodEnum: Enum "Retention Period Enum"; DateFieldNo: Integer; Enabled: Boolean; Locked: Boolean; RecordRef: RecordRef)AddTableFilterToJsonArray(var TableFilters: JsonArray; RetPeriodCalc: DateFormula; DateFieldNo: Integer; Enabled: Boolean; Locked: Boolean; RecordRef: RecordRef)AddTableFilterToJsonArray(var TableFilters: JsonArray; RetentionPeriodEnum: Enum "Retention Period Enum"; RetPeriodCalc: DateFormula; DateFieldNo: Integer; Enabled: Boolean; Locked: Boolean; RecordRef: RecordRef)GetTableFilters(TableId: Integer): JsonArrayParseTableFilter(JsonObject: JsonObject; var TableId: Integer; var RetentionPeriodEnum: Enum "Retention Period Enum"; var RetPeriodCalc: DateFormula; var DateFieldNo: Integer; var Enabled: Boolean; var Locked: Boolean; var TableFilter: Text)VerifyInsertAllowed(TableId: Integer)VerifyModifyAllowed(TableId: Integer)SetTruncateAllowed(TableId: Integer; TruncateAllowed: Boolean; CallerModuleInfo: ModuleInfo)+ BC28IsTruncateAllowed(TableId: Integer): Boolean+ BC28
Plus 10 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 3908 “Retention Policy Log” (7 calls:
AllowAddtoAllowedList → LogInfo,AllowModifyAllowedList → LogInfo,GetDefaultDateFieldNo → LogWarning, …) - Codeunit 417 “Tenant Information” (1 call:
ModuleOwnsTable → GetTenantId)
Called by
- Codeunit 3905 “Reten. Pol. Allowed Tables” (14 calls:
AddAllowedTable → AddToAllowedTables,AddTableFilterToJsonArray → AddTableFilterToJsonArray,CalcMinimumExpirationDate → CalcMinimumExpirationDate, …) - Codeunit 3903 “Retention Policy Setup Impl.” (3 calls:
InsertDefaultTableFiltersOnAfterInsertRetenPolSetup → GetTableFilters,InsertDefaultTableFiltersOnAfterInsertRetenPolSetup → ParseTableFilter,VerifyRetentionPolicyAllowedTablesOnBeforeInsertRetenPolSetup → GetTableFilters) - Codeunit 3904 “Apply Retention Policy Impl.” (1 call:
TruncateTableRecords → IsTruncateAllowed)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Reten. Pol. Allowed Tbl. Impl."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.