{"title":"Codeunit 138709 Retention Policy Test Library, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/138709-retention-policy-test-library/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":138709,"name":"Retention Policy Test Library","app":"System Application Test Library","url":"https://jonas-paprotka.de/ref/codeunit/138709-retention-policy-test-library/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/138709-retention-policy-test-library/source/","path":"src/System Application/Test Library/Retention Policy/src/RetentionPolicyTestLibrary.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:3904":{"name":"Apply Retention Policy Impl.","url":"https://jonas-paprotka.de/ref/codeunit/3904-apply-retention-policy-impl/"},"codeunit:3905":{"name":"Reten. Pol. Allowed Tables","url":"https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/"}},"procs":[{"name":"MaxNumberOfRecordsToDelete","line":37,"kind":"procedure","params":0,"steps":[[41,"ext","codeunit",3904,"MaxNumberOfRecordsToDelete",0]]},{"name":"MaxNumberOfRecordsToDeleteBuffer","line":48,"kind":"procedure","params":0,"steps":[[52,"ext","codeunit",3904,"NumberOfRecordsToDeleteBuffer",0]]},{"name":"RaiseOnRefreshAllowedTables","line":123,"kind":"procedure","params":0,"steps":[[127,"ext","codeunit",3905,"OnRefreshAllowedTables",0]]},{"name":"RunApplyRetentionPolicyImpl","line":135,"kind":"procedure","params":1,"steps":[[137,"run","codeunit",3904]]},{"name":"SetTruncateAllowed","line":167,"kind":"procedure","params":2,"steps":[[171,"ext","codeunit",3905,"SetTruncateAllowed",2]]}]}