codeunitAdministration & Setupofficial - Microsoftderived - from the source, no model text

Codeunit 3906 "Reten. Pol. Allowed Tbl. Impl."

System Application · System.DataAdministration

Across versions

  1. BC23-24present
  2. BC251 procedures added
  3. BC26-27unchanged
  4. BC282 procedures added
  5. BC29-30unchanged

Neighbourhood 5 connected objects and pages

Codeunit 3905 "Reten. Pol. Allowed Tables" (calls, 14 links)Reten. Pol. Allowed TablesCodeunit 3908 "Retention Policy Log" (calls, 7 links)Retention Policy LogCodeunit 3903 "Retention Policy Setup Impl." (calls, 3 links)Retention Policy Setup Impl.Codeunit 3904 "Apply Retention Policy Impl." (calls)Apply Retention Policy Impl.Codeunit 417 "Tenant Information" (calls)Tenant Information

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

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…
  • 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…

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): Boolean
  • AddToAllowedTables(TableId: Integer; DefaultDateFieldNo: Integer; CallerModuleInfo: ModuleInfo; MandatoryMinRetenDays: Integer; RetenPolFiltering: Enum "Reten. Pol. Filtering"; RetenPolDeleting: Enum "Reten. Pol. Deleting"; TableFilters: JsonArray): Boolean
  • RemoveFromAllowedTables(TableId: Integer): Boolean
  • IsAllowedTable(TableId: Integer): Boolean
  • GetAllowedTables(var AllowedList: List of [Integer])
  • GetRetenPolFiltering(TableId: Integer): Enum "Reten. Pol. Filtering"
  • GetRetenPolDeleting(TableId: Integer): Enum "Reten. Pol. Deleting"
  • GetDefaultDateFieldNo(TableId: Integer): Integer
  • GetMandatoryMinimumRetentionDays(TableId: Integer): Integer
  • CalcMinimumExpirationDate(TableId: Integer): Date
  • GetAllowedTables(): Text
  • AddTableFilterToJsonArray(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): JsonArray
  • ParseTableFilter(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) + BC28
  • IsTruncateAllowed(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.

Called by

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.

Evidence 1 sources