{"title":"Codeunit 1900 Template Selection Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1900-template-selection-mgt/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":1900,"name":"Template Selection Mgt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1900-template-selection-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1900-template-selection-mgt/source/","path":"src/Layers/W1/BaseApp/System/RapidStart/TemplateSelectionMgt.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:1306":{"name":"User Preference","url":"https://jonas-paprotka.de/ref/table/1306-user-preference/"}},"procs":[{"name":"SaveCustTemplateSelectionForCurrentUser","line":12,"kind":"procedure","params":1,"steps":[[14,"call","SaveTemplateSelectionForCurrentUser",2],[14,"call","GetCustomerTemplateSelectionCode",0]]},{"name":"GetLastCustTemplateSelection","line":17,"kind":"procedure","params":1,"steps":[[19,"call","GetLastTemplateSelection",2],[19,"call","GetCustomerTemplateSelectionCode",0]]},{"name":"SaveVendorTemplateSelectionForCurrentUser","line":22,"kind":"procedure","params":1,"steps":[[24,"call","SaveTemplateSelectionForCurrentUser",2],[24,"call","GetVendorTemplateSelectionCode",0]]},{"name":"GetLastVendorTemplateSelection","line":27,"kind":"procedure","params":1,"steps":[[29,"call","GetLastTemplateSelection",2],[29,"call","GetVendorTemplateSelectionCode",0]]},{"name":"SaveItemTemplateSelectionForCurrentUser","line":32,"kind":"procedure","params":1,"steps":[[34,"call","SaveTemplateSelectionForCurrentUser",2],[34,"call","GetItemTemplateSelectionCode",0]]},{"name":"GetLastItemTemplateSelection","line":37,"kind":"procedure","params":1,"steps":[[39,"call","GetLastTemplateSelection",2],[39,"call","GetItemTemplateSelectionCode",0]]},{"name":"SaveTemplateSelectionForCurrentUser","line":57,"kind":"procedure","access":"local","params":2,"steps":[[62,"write",1306,"Delete"],[67,"ext","table",1306,"SetUserSelection",1],[68,"write",1306,"Insert"]]},{"name":"GetLastTemplateSelection","line":71,"kind":"procedure","access":"local","params":2,"steps":[[79,"ext","table",1306,"GetUserSelectionAsText",0]]}]}