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

Codeunit 3904 "Apply Retention Policy Impl."

System Application · System.DataAdministration

Across versions

  1. BC23-24present
  2. BC252 procedures added, 1 procedures removed
  3. BC26-27unchanged
  4. BC281 procedures added
  5. BC29-30unchanged

Neighbourhood 11 connected objects and pages

Table 3901 "Retention Policy Setup" (relates to)Retention Policy SetupCodeunit 3908 "Retention Policy Log" (calls, 15 links)Retention Policy LogCodeunit 3910 "Apply Retention Policy" (calls, 10 links)Apply Retention PolicyCodeunit 3905 "Reten. Pol. Allowed Tables" (calls, 3 links)Reten. Pol. Allowed TablesCodeunit 152 "User Permissions" (calls, 2 links)User PermissionsCodeunit 3906 "Reten. Pol. Allowed Tbl. Impl." (calls)Reten. Pol. Allowed Tbl. Impl.Codeunit 3912 "Reten. Policy Telemetry Impl." (calls)Reten. Policy Telemetry Impl.Codeunit 3915 "Reten. Pol. Filtering Impl." (calls)Reten. Pol. Filtering Impl.Codeunit 3916 "Reten. Pol. Delete. Impl." (calls)Reten. Pol. Delete. Impl.Codeunit 3917 "Record Reference" (calls)Record ReferenceCodeunit 8703 "Feature Telemetry" (calls)

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
TableNo Retention Policy Setup
Permissions tabledata AllObjWithCaption = r

Procedures

  • ApplyRetentionPolicy(UserInvokedRun: Boolean)
  • ApplyRetentionPolicy(RetentionPolicySetup: Record "Retention Policy Setup"; Manual: Boolean; UserInvokedRun: Boolean)
  • GetExpiredRecordCount(RetentionPolicySetup: Record "Retention Policy Setup"; var ExpiredRecordExpirationDate: Date): Integer
  • SetWhereOlderExpirationDateFilter(DateFieldNo: Integer; ExpirationDate: Date; var RecordRef: RecordRef; FilterGroup: Integer; NullDateReplacementValue: Date)
  • SetWhereNewerExpirationDateFilter(DateFieldNo: Integer; ExpirationDate: Date; var RecordRef: RecordRef; FilterGroup: Integer; NullDateReplacementValue: Date)
  • SetSingleDateExpirationDateFilter(DateFieldNo: Integer; ExpirationDate: Date; var RecordRef: RecordRef; FilterGroup: Integer; NullDateReplacementValue: Date)
  • MaxNumberOfRecordsToDelete(): Integer (internal)
  • NumberOfRecordsToDeleteBuffer(): Integer + BC25 (internal)
  • TruncateTableRecords(RetentionPolicySetup: Record "Retention Policy Setup") + BC28

Plus 15 local procedures.

Triggers

OnRun

Relations

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

Recent changes

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: "Apply Retention Policy Impl."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources