{"title":"Codeunit 280 My Records Demo Setup, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/280-my-records-demo-setup/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":280,"name":"My Records Demo Setup","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/280-my-records-demo-setup/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/280-my-records-demo-setup/source/","path":"src/Layers/W1/BaseApp/RoleCenters/MyRecordsDemoSetup.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:4030":{"name":"Client Type Management","url":"https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/"},"codeunit:1306":{"name":"Company Information Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1306-company-information-mgt/"},"table:9150":{"name":"My Customer","url":"https://jonas-paprotka.de/ref/table/9150-my-customer/"},"table:9152":{"name":"My Item","url":"https://jonas-paprotka.de/ref/table/9152-my-item/"},"table:9151":{"name":"My Vendor","url":"https://jonas-paprotka.de/ref/table/9151-my-vendor/"},"table:9153":{"name":"My Account","url":"https://jonas-paprotka.de/ref/table/9153-my-account/"}},"procs":[{"name":"SetupMyRecords","line":29,"kind":"procedure","access":"local","params":0,"steps":[[37,"ext","codeunit",4030,"GetCurrentClientType",0],[43,"ext","codeunit",1306,"IsDemoCompany",0],[46,"call","SetupMyCustomer",0],[49,"call","SetupMyItem",0],[52,"call","SetupMyVendor",0],[55,"call","SetupMyAccount",0]]},{"name":"SetupMyCustomer","line":58,"kind":"procedure","access":"local","params":0,"steps":[[79,"validate",9150,"Customer No."],[80,"write",9150,"Insert"]]},{"name":"SetupMyItem","line":84,"kind":"procedure","access":"local","params":0,"steps":[[106,"validate",9152,"Item No."],[107,"write",9152,"Insert"]]},{"name":"SetupMyVendor","line":111,"kind":"procedure","access":"local","params":0,"steps":[[132,"validate",9151,"Vendor No."],[133,"write",9151,"Insert"]]},{"name":"SetupMyAccount","line":137,"kind":"procedure","access":"local","params":0,"steps":[[158,"validate",9153,"Account No."],[159,"write",9153,"Insert"]]},{"name":"OnAfterLoginSubscriber","line":164,"kind":"procedure","access":"local","params":0,"steps":[[166,"call","SetupMyRecords",0]]}]}