{"title":"Codeunit 1660 Payroll Management, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1660-payroll-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-10-05","object":{"type":"codeunit","id":1660,"name":"Payroll Management","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1660-payroll-management/source/","path":"src/Layers/W1/BaseApp/Finance/Payroll/PayrollManagement.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:457":{"name":"Environment Information","url":"https://jonas-paprotka.de/ref/codeunit/457-environment-information/"},"table:1400":{"name":"Service Connection","url":"https://jonas-paprotka.de/ref/table/1400-service-connection/"},"codeunit:1990":{"name":"Guided Experience","url":"https://jonas-paprotka.de/ref/codeunit/1990-guided-experience/"}},"procs":[{"name":"ShowPayrollForTestInNonSaas","line":40,"kind":"procedure","params":0,"steps":[[44,"ext","codeunit",457,"IsSaaS",0]]},{"name":"ImportPayroll","line":54,"kind":"procedure","params":1,"steps":[[58,"write",1400,"DeleteAll"],[59,"event","OnRegisterPayrollService",0],[64,"call","EnabledPayrollServiceExists",1],[66,"call","EnablePayrollService",1],[70,"call","EnabledPayrollServiceExists",1],[71,"call","SelectPayrollService",2],[72,"event","OnImportPayroll",0]]},{"name":"EnablePayrollService","line":82,"kind":"procedure","access":"local","params":1,"steps":[[88,"call","SelectPayrollService",2],[91,"call","SetupPayrollService",1],[92,"write",1400,"DeleteAll"],[93,"event","OnRegisterPayrollService",0],[96,"call","EnabledPayrollServiceExists",1]]},{"name":"SetupPayrollService","line":130,"kind":"procedure","access":"local","params":1,"steps":[[141,"ext","codeunit",1990,"AssistedSetupExistsAndIsNotComplete",2],[143,"run","codeunit",1990]]}]}