{"title":"Codeunit 3916 Reten. Pol. Delete. Impl., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-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":3916,"name":"Reten. Pol. Delete. Impl.","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/","path":"src/System Application/App/Retention Policy/src/Apply Retention Policy/RetenPolDeleteImpl.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/"},"codeunit:3917":{"name":"Record Reference","url":"https://jonas-paprotka.de/ref/codeunit/3917-record-reference/"},"codeunit:3904":{"name":"Apply Retention Policy Impl.","url":"https://jonas-paprotka.de/ref/codeunit/3904-apply-retention-policy-impl/"}},"procs":[{"name":"DeleteRecords","line":22,"kind":"procedure","params":2,"steps":[[29,"ext","codeunit",3908,"LogWarning",2],[29,"call","LogCategory",0],[33,"ext","codeunit",3917,"Initialize",2],[36,"ext","codeunit",3908,"LogWarning",2],[36,"call","LogCategory",0],[39,"call","NumberOfRecordsToDeleteBuffer",0],[40,"ext","codeunit",3908,"LogWarning",2],[40,"call","LogCategory",0],[41,"call","LimitRecordsToBeDeleted",5]]},{"name":"LimitRecordsToBeDeleted","line":50,"kind":"procedure","access":"local","params":5,"steps":[[54,"ext","codeunit",3908,"LogInfo",2],[54,"call","LogCategory",0],[55,"call","FilterRecordsToLimit",3]]},{"name":"NumberOfRecordsToDeleteBuffer","line":77,"kind":"procedure","access":"local","params":0,"steps":[[81,"ext","codeunit",3904,"NumberOfRecordsToDeleteBuffer",0]]}]}