{"title":"Codeunit 8400 Record Set Management, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/8400-record-set-management/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-11-13","object":{"type":"codeunit","id":8400,"name":"Record Set Management","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/8400-record-set-management/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/8400-record-set-management/source/","path":"src/Layers/W1/BaseApp/RecordSetManagement.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:701":{"name":"Data Type Management","url":"https://jonas-paprotka.de/ref/codeunit/701-data-type-management/"},"table:8402":{"name":"Record Set Buffer","url":"https://jonas-paprotka.de/ref/table/8402-record-set-buffer/"},"table:8401":{"name":"Record Set Tree","url":"https://jonas-paprotka.de/ref/table/8401-record-set-tree/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"},"table:8400":{"name":"Record Set Definition","url":"https://jonas-paprotka.de/ref/table/8400-record-set-definition/"}},"procs":[{"name":"SaveSetSingleTable","line":18,"kind":"procedure","params":1,"steps":[[25,"ext","codeunit",701,"GetRecordRef",2],[29,"call","SortAscending",1],[38,"write",8402,"Insert"],[42,"call","SaveSet",1]]},{"name":"SaveSet","line":45,"kind":"procedure","params":1,"steps":[[68,"call","FindNode",3],[70,"call","InsertNewNode",3],[76,"write",8401,"Insert"],[81,"call","FindExistingSet",1],[86,"call","CreateNewSet",1]]},{"name":"GetSet","line":91,"kind":"procedure","params":2,"steps":[[114,"write",8402,"Insert"],[128,"write",8402,"Insert"]]},{"name":"RenameRecord","line":132,"kind":"procedure","params":2,"steps":[[141,"write",8401,"ModifyAll"]]},{"name":"SortAscending","line":144,"kind":"procedure","access":"local","params":1,"steps":[[149,"ext","codeunit",10,"GetKeyAsString",2],[150,"ext","codeunit",10,"SortRecordRef",3]]},{"name":"InsertNewNode","line":161,"kind":"procedure","access":"local","params":3,"steps":[[167,"write",8401,"Insert",1]]},{"name":"CreateNewSet","line":170,"kind":"procedure","access":"local","params":1,"steps":[[178,"call","CreateSetDefinitionLine",3]]},{"name":"CreateSetDefinitionLine","line":185,"kind":"procedure","access":"local","params":3,"steps":[[191,"write",8400,"Insert",1]]},{"name":"FindExistingSet","line":194,"kind":"procedure","access":"local","params":1,"steps":[[199,"call","FindSetsContainingValue",2]]}]}