{"title":"Codeunit 3909 Retention Policy Log Impl., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/3909-retention-policy-log-impl/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":"codeunit","id":3909,"name":"Retention Policy Log Impl.","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/3909-retention-policy-log-impl/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/3909-retention-policy-log-impl/source/","path":"src/System Application/App/Retention Policy/src/Retention Policy Log/RetentionPolicyLogImpl.Codeunit.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":{"table:3905":{"name":"Retention Policy Log Entry","url":"https://jonas-paprotka.de/ref/table/3905-retention-policy-log-entry/"},"codeunit:3912":{"name":"Reten. Policy Telemetry Impl.","url":"https://jonas-paprotka.de/ref/codeunit/3912-reten-policy-telemetry-impl/"},"codeunit:150":{"name":"System Initialization","url":"https://jonas-paprotka.de/ref/codeunit/150-system-initialization/"}},"procs":[{"name":"OnRun","line":21,"kind":"trigger","steps":[[26,"call","CreateLogEntry",4]]},{"name":"LogError","line":29,"kind":"procedure","params":3,"steps":[[31,"call","CreateTempLogEntry",3]]},{"name":"LogWarning","line":37,"kind":"procedure","params":2,"steps":[[39,"call","CreateTempLogEntry",3]]},{"name":"LogInfo","line":42,"kind":"procedure","params":2,"steps":[[44,"call","CreateTempLogEntry",3]]},{"name":"CreateTempLogEntry","line":47,"kind":"procedure","access":"local","params":3,"steps":[[58,"write",3905,"Insert"],[60,"ext","codeunit",3912,"SendLogEntryToTelemetry",1],[61,"ext","codeunit",150,"IsInProgress",0],[63,"call","InsertLogEntryInBackgroundSession",1],[64,"ext","codeunit",3912,"SendTelemetryOnInsertLogEntryInBackgroundSessionFailed",2],[64,"ext","codeunit",150,"IsInProgress",0],[66,"ext","codeunit",3912,"SendTelemetryOnInsertLogEntryInForegroundSessionStart",2],[66,"ext","codeunit",150,"IsInProgress",0],[67,"call","CreateLogEntry",4],[68,"ext","codeunit",3912,"SendTelemetryOnInsertLogEntryInForegroundSessionEnd",2],[68,"ext","codeunit",150,"IsInProgress",0]]},{"name":"InsertLogEntryInBackgroundSession","line":73,"kind":"procedure","access":"local","params":1,"steps":[[79,"ext","codeunit",3912,"SendTelemetryOnInsertLogEntryInBackgroundSessionStart",2],[79,"ext","codeunit",150,"IsInProgress",0],[83,"ext","codeunit",3912,"SendTelemetryOnInsertLogEntryInBackgroundSessionEnd",2],[83,"ext","codeunit",150,"IsInProgress",0]]},{"name":"CreateLogEntry","line":86,"kind":"procedure","access":"local","params":4,"steps":[[94,"write",3905,"Insert"]]}]}