{"title":"Codeunit 3900 Retention Period Impl., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/3900-retention-period-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":3900,"name":"Retention Period Impl.","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/","path":"src/System Application/App/Retention Policy/src/Retention Period/RetentionPeriodImpl.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":{"codeunit:3908":{"name":"Retention Policy Log","url":"https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/"}},"procs":[{"name":"RetentionPeriodDateFormula","line":19,"kind":"procedure","access":"local","params":2,"steps":[[44,"ext","codeunit",3908,"LogError",2],[44,"call","LogCategory",0]]},{"name":"RetentionPeriodDateFormula","line":58,"kind":"procedure","params":2,"steps":[[64,"ext","codeunit",3908,"LogError",2],[64,"call","LogCategory",0]]},{"name":"CalculateExpirationDate","line":67,"kind":"procedure","params":1,"steps":[[69,"call","RetentionPeriodDateFormula",1]]},{"name":"CalculateExpirationDate","line":72,"kind":"procedure","params":2,"steps":[[74,"call","RetentionPeriodDateFormula",1]]},{"name":"CalculateExpirationDate","line":77,"kind":"procedure","params":2,"steps":[[85,"call","RetentionPeriodDateFormula",1]]},{"name":"ValidateRetentionPeriodDateFormula","line":88,"kind":"procedure","params":1,"steps":[[93,"call","IsFutureDateFormula",1],[94,"ext","codeunit",3908,"LogError",2],[94,"call","LogCategory",0]]},{"name":"IsFutureDateFormula","line":97,"kind":"procedure","access":"local","params":1,"steps":[[99,"call","Yesterday",0]]}]}