{"title":"Page 3901 Retention Policy Setup Card, extension points 29","url":"https://jonas-paprotka.de/ref/page/3901-retention-policy-setup-card/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":3901,"name":"Retention Policy Setup Card","app":"System Application","url":"https://jonas-paprotka.de/ref/page/3901-retention-policy-setup-card/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/3901-retention-policy-setup-card/source/","path":"src/System Application/App/Retention Policy/src/Retention Policy Setup/RetentionPolicySetupCard.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:3910":{"name":"Apply Retention Policy","url":"https://jonas-paprotka.de/ref/codeunit/3910-apply-retention-policy/"},"codeunit:3905":{"name":"Reten. Pol. Allowed Tables","url":"https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/"},"codeunit:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"},"codeunit:3903":{"name":"Retention Policy Setup Impl.","url":"https://jonas-paprotka.de/ref/codeunit/3903-retention-policy-setup-impl/"},"table:3901":{"name":"Retention Policy Setup","url":"https://jonas-paprotka.de/ref/table/3901-retention-policy-setup/"}},"procs":[{"name":"ApplyManually.OnAction","line":185,"kind":"trigger","steps":[[189,"ext","codeunit",3910,"ApplyRetentionPolicy",2]]},{"name":"RestoreAllowedTables.OnAction","line":199,"kind":"trigger","steps":[[203,"ext","codeunit",3905,"OnRefreshAllowedTables",0]]},{"name":"TruncateAll.OnAction","line":214,"kind":"trigger","steps":[[218,"ext","codeunit",3910,"TruncateTableRecords",1]]},{"name":"OnOpenPage","line":237,"kind":"trigger","steps":[[241,"ext","codeunit",8703,"LogUptake",3]]},{"name":"OnAfterGetCurrRecord","line":245,"kind":"trigger","steps":[[255,"ext","codeunit",3903,"TableExists",1],[259,"call","RecallPBTNotification",0],[260,"call","PageBackgroundTaskTimeout",0],[261,"call","ShowPBTNotification",0],[272,"ext","codeunit",3903,"NotifyOnMissingReadPermission",1]]},{"name":"OnPageBackgroundTaskCompleted","line":275,"kind":"trigger","steps":[[291,"call","RecallPBTNotification",0]]},{"name":"OnPageBackgroundTaskError","line":294,"kind":"trigger","steps":[[296,"call","RecallPBTNotification",0]]},{"name":"OnQueryClosePage","line":306,"kind":"trigger","steps":[[321,"validate",3901,"Enabled"]]}]}