{"title":"Codeunit 1033 Job-Process Plan. Lines, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1033-job-process-plan-lines/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":1033,"name":"Job-Process Plan. Lines","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1033-job-process-plan-lines/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1033-job-process-plan-lines/source/","path":"src/Layers/W1/BaseApp/Projects/Project/Planning/JobProcessPlanLines.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":{"page:1043":{"name":"Get Job Planning Lines","url":"https://jonas-paprotka.de/ref/page/1043-get-job-planning-lines/"},"table:1003":{"name":"Job Planning Line","url":"https://jonas-paprotka.de/ref/table/1003-job-planning-line/"},"codeunit:1002":{"name":"Job Create-Invoice","url":"https://jonas-paprotka.de/ref/codeunit/1002-job-create-invoice/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[20,"call","FindMatchingPlanningLines",0],[21,"event","OnRunOnAfterSetFiltersOnJobPlanningLine",0],[23,"ext","page",1043,"SetRecords",1],[25,"ext","page",1043,"SetSalesHeader",1]]},{"name":"FindMatchingPlanningLines","line":36,"kind":"procedure","access":"local","params":0,"steps":[[41,"call","SetFiltersOnGetJobPlanningLine",2],[42,"call","UpdateTempJobPlanningLineBasedOnGetJobPlanningLine",1],[44,"call","SetFiltersOnGetJobPlanningLine",2],[45,"call","UpdateTempJobPlanningLineBasedOnGetJobPlanningLine",1]]},{"name":"UpdateTempJobPlanningLineBasedOnGetJobPlanningLine","line":70,"kind":"procedure","access":"local","params":1,"steps":[[80,"write",1003,"Insert"]]},{"name":"CreateInvLines","line":90,"kind":"procedure","params":1,"steps":[[96,"ext","table",1003,"SetSkipCheckForMultipleJobsOnSalesLine",1],[97,"ext","codeunit",1002,"CreateSalesInvoiceLines",7]]}]}