{"title":"Codeunit 231 Gen. Jnl.-Post, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/231-gen-jnl-post/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":231,"name":"Gen. Jnl.-Post","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/231-gen-jnl-post/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/231-gen-jnl-post/source/","path":"src/Layers/W1/BaseApp/Finance/GeneralLedger/Posting/GenJnlPost.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:9500":{"name":"Sequence No. Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/9500-sequence-no-mgt/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"},"codeunit:13":{"name":"Gen. Jnl.-Post Batch","url":"https://jonas-paprotka.de/ref/codeunit/13-gen-jnl-post-batch/"},"codeunit:250":{"name":"Gen. Jnl.-Post via Job Queue","url":"https://jonas-paprotka.de/ref/codeunit/250-gen-jnl-post-via-job-queue/"},"codeunit:9080":{"name":"Journal Errors Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/9080-journal-errors-mgt/"},"codeunit:19":{"name":"Gen. Jnl.-Post Preview","url":"https://jonas-paprotka.de/ref/codeunit/19-gen-jnl-post-preview/"},"codeunit:231":{"name":"Gen. Jnl.-Post","url":"https://jonas-paprotka.de/ref/codeunit/231-gen-jnl-post/"}},"procs":[{"name":"OnRun","line":28,"kind":"trigger","steps":[[33,"ext","codeunit",9500,"SetPreviewMode",1],[35,"call","Code",1],[38,"event","OnAfterOnRun",0]]},{"name":"Code","line":57,"kind":"procedure","access":"local","params":1,"steps":[[72,"event","OnBeforeCode",0],[85,"event","OnCodeOnAfterCheckTemplate",0],[89,"event","OnCodeOnBeforeConfirmPostJournalLinesResponse",1],[95,"ext","codeunit",27,"GetResponseOrDefault",2],[102,"ext","codeunit",27,"GetResponseOrDefault",2],[107,"ext","codeunit",13,"ConfirmPostingUnvoidableChecks",2],[110,"event","OnCodeOnAfterConfirmPostingUnvoidableChecks",0],[115,"ext","codeunit",13,"SetPreviewMode",1],[121,"ext","codeunit",250,"EnqueueGenJrnlLineWithUI",2],[129,"event","OnBeforeGenJnlPostBatchRun",1],[133,"run","codeunit",13],[135,"event","OnCodeOnAfterGenJnlPostBatchRun",0],[140,"call","ShowPostResultMessage",2],[148,"event","OnGenJnlLineSetFilter",0]]},{"name":"ShowPostResultMessage","line":154,"kind":"procedure","access":"local","params":2,"steps":[[159,"event","OnBeforeShowPostResultMessage",1],[164,"ext","codeunit",9080,"GetNothingToPostErrorMsg",0]]},{"name":"Preview","line":177,"kind":"procedure","params":1,"steps":[[183,"ext","codeunit",19,"Preview",2]]},{"name":"OnRunPreview","line":242,"kind":"procedure","access":"local","params":3,"steps":[[250,"run","codeunit",231]]}]}