{"title":"Codeunit 1013 Job Jnl.-Post Batch, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1013-job-jnl-post-batch/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":1013,"name":"Job Jnl.-Post Batch","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1013-job-jnl-post-batch/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1013-job-jnl-post-batch/source/","path":"src/Layers/W1/BaseApp/Projects/Project/Posting/JobJnlPostBatch.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:1011":{"name":"Job Jnl.-Check Line","url":"https://jonas-paprotka.de/ref/codeunit/1011-job-jnl-check-line/"},"table:315":{"name":"Jobs Setup","url":"https://jonas-paprotka.de/ref/table/315-jobs-setup/"},"table:210":{"name":"Job Journal Line","url":"https://jonas-paprotka.de/ref/table/210-job-journal-line/"},"codeunit:308":{"name":"No. Series - Batch","url":"https://jonas-paprotka.de/ref/codeunit/308-no-series-batch/"},"codeunit:1012":{"name":"Job Jnl.-Post Line","url":"https://jonas-paprotka.de/ref/codeunit/1012-job-jnl-post-line/"},"table:313":{"name":"Inventory Setup","url":"https://jonas-paprotka.de/ref/table/313-inventory-setup/"},"codeunit:5894":{"name":"Inventory Adjustment Handler","url":"https://jonas-paprotka.de/ref/codeunit/5894-inventory-adjustment-handler/"},"codeunit:410":{"name":"Update Analysis View","url":"https://jonas-paprotka.de/ref/codeunit/410-update-analysis-view/"},"codeunit:7150":{"name":"Update Item Analysis View","url":"https://jonas-paprotka.de/ref/codeunit/7150-update-item-analysis-view/"},"table:50":{"name":"Accounting Period","url":"https://jonas-paprotka.de/ref/table/50-accounting-period/"},"table:1003":{"name":"Job Planning Line","url":"https://jonas-paprotka.de/ref/table/1003-job-planning-line/"},"codeunit:900":{"name":"Assembly-Post","url":"https://jonas-paprotka.de/ref/codeunit/900-assembly-post/"},"table:904":{"name":"Assemble-to-Order Link","url":"https://jonas-paprotka.de/ref/table/904-assemble-to-order-link/"},"table:237":{"name":"Job Journal Batch","url":"https://jonas-paprotka.de/ref/table/237-job-journal-batch/"}},"procs":[{"name":"OnRun","line":27,"kind":"trigger","steps":[[31,"call","Code",0]]},{"name":"Code","line":72,"kind":"procedure","access":"local","params":0,"steps":[[80,"event","OnBeforeCode",0],[86,"event","OnCodeOnAfterFilterJobJnlLine",0],[119,"event","OnCodeOnBeforeCheckLines",0],[126,"call","CheckRecurringLine",1],[127,"ext","codeunit",1011,"RunCheck",1],[128,"event","OnAfterCheckJnlLine",0],[135,"ext","table",315,"UseLegacyPosting",0],[159,"ext","table",210,"EmptyLine",0],[163,"ext","codeunit",308,"GetNextNo",2],[164,"ext","table",210,"EmptyLine",0],[166,"call","MakeRecurringTexts",1],[170,"event","OnBeforeTestDocumentNo",1],[174,"ext","table",210,"EmptyLine",0],[179,"ext","codeunit",308,"GetNextNo",2],[182,"event","OnBeforeJobJnlPostLine",0],[183,"ext","codeunit",1012,"RunWithCheck",1],[184,"event","OnAfterJobJnlPostLine",0],[188,"ext","table",313,"AutomaticCostAdjmtRequired",0],[189,"ext","codeunit",5894,"MakeInventoryAdjustment",2],[191,"event","OnCodeOnAfterMakeMultiLevelAdjmt",0],[194,"ext","table",315,"UseLegacyPosting",0],[201,"call","FinalizePosting",0],[202,"call","UpdateAndDeleteLines",0],[203,"event","OnAfterPostJnlLines",0],[208,"ext","codeunit",410,"UpdateAll",2],[209,"ext","codeunit",7150,"UpdateAll",2]]},{"name":"MakeRecurringTexts","line":230,"kind":"procedure","access":"local","params":1,"steps":[[233,"ext","table",50,"MakeRecurringTexts",3]]},{"name":"FinalizePosting","line":236,"kind":"procedure","access":"local","params":0,"steps":[[244,"call","FinalizePostATO",1]]},{"name":"FinalizePostATO","line":248,"kind":"procedure","access":"local","params":1,"steps":[[257,"ext","table",1003,"AsmToOrderExists",1],[267,"ext","codeunit",900,"FinalizePostATO",1],[269,"write",904,"Delete"]]},{"name":"UpdateAndDeleteLines","line":276,"kind":"procedure","access":"local","params":0,"steps":[[281,"event","OnBeforeUpdateAndDeleteLines",0],[296,"validate",210,"Posting Date"],[302,"ext","table",210,"DeleteAmounts",0],[303,"call","UpdateUnitCostAndPrice",3],[305,"write",210,"Modify"],[314,"event","OnBeforeDeleteNonRecJnlLines",1],[316,"write",210,"DeleteAll"],[323,"write",237,"Delete"],[325,"write",237,"Insert"],[330,"event","OnUpdateAndDeleteLinesOnBeforeSetUpNewLine",1],[337,"write",210,"Insert"],[338,"ext","table",210,"SetUpNewLine",1],[339,"write",210,"Modify"],[344,"ext","codeunit",308,"SaveState",0]]}]}