{"title":"Codeunit 5633 FA Jnl.-Post Batch, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5633-fa-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-11-20","object":{"type":"codeunit","id":5633,"name":"FA Jnl.-Post Batch","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5633-fa-jnl-post-batch/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5633-fa-jnl-post-batch/source/","path":"src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FAJnlPostBatch.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:19":{"name":"Gen. Jnl.-Post Preview","url":"https://jonas-paprotka.de/ref/codeunit/19-gen-jnl-post-preview/"},"codeunit:5631":{"name":"FA Jnl.-Check Line","url":"https://jonas-paprotka.de/ref/codeunit/5631-fa-jnl-check-line/"},"table:5621":{"name":"FA Journal Line","url":"https://jonas-paprotka.de/ref/table/5621-fa-journal-line/"},"table:5620":{"name":"FA Journal Batch","url":"https://jonas-paprotka.de/ref/table/5620-fa-journal-batch/"},"table:5605":{"name":"FA Journal Setup","url":"https://jonas-paprotka.de/ref/table/5605-fa-journal-setup/"},"codeunit:308":{"name":"No. Series - Batch","url":"https://jonas-paprotka.de/ref/codeunit/308-no-series-batch/"},"codeunit:410":{"name":"Update Analysis View","url":"https://jonas-paprotka.de/ref/codeunit/410-update-analysis-view/"},"table:50":{"name":"Accounting Period","url":"https://jonas-paprotka.de/ref/table/50-accounting-period/"},"codeunit:5632":{"name":"FA Jnl.-Post Line","url":"https://jonas-paprotka.de/ref/codeunit/5632-fa-jnl-post-line/"}},"procs":[{"name":"OnRun","line":19,"kind":"trigger","steps":[[22,"call","Code",0]]},{"name":"Code","line":58,"kind":"procedure","access":"local","params":0,"steps":[[66,"event","OnCodeOnBeforeLockTable",0],[69,"event","OnCodeOnCheckSuppressCommit",0],[73,"event","OnCodeOnAfterLockTable",0],[82,"ext","codeunit",19,"ThrowError",0],[91,"event","OnCodeOnBeforeWindowOpen",1],[114,"event","OnCodeOnBeforeWindowUpdate",1],[118,"call","CheckRecurringLine",1],[119,"ext","codeunit",5631,"CheckFAJnlLine",1],[120,"call","CheckRestrictions",1],[134,"call","PostLines",0],[135,"event","OnCodeOnAfterPostLines",0],[145,"event","OnCodeOnBeforeUpdateDeleteLines",1],[156,"event","OnCodeOnBeforeWindowUpdate",1],[163,"validate",5621,"FA Posting Date"],[165,"call","ZeroAmounts",1],[166,"write",5621,"Modify"],[174,"event","OnCodeOnBeforeFAJnlLine3DeleteAll",0],[175,"write",5621,"DeleteAll"],[183,"write",5620,"Delete"],[184,"ext","table",5605,"IncFAJnlBatchName",1],[186,"write",5620,"Insert"],[190,"call","CreateNewFAJnlLine",0],[192,"ext","codeunit",308,"SaveState",0],[194,"event","OnBeforeCommit",0],[197,"ext","codeunit",19,"ThrowError",0],[199,"event","OnRunOnBeforeCommit",0],[206,"event","OnRunOnBeforeUpdateAnalysisViewUpdateAll",1],[208,"ext","codeunit",410,"UpdateAll",2]]},{"name":"CreateNewFAJnlLine","line":213,"kind":"procedure","access":"local","params":0,"steps":[[218,"event","OnBeforeCreateNewFAJnlLine",1],[228,"write",5621,"Insert"],[229,"ext","table",5621,"SetUpNewLine",1],[230,"write",5621,"Modify"]]},{"name":"MakeRecurringTexts","line":250,"kind":"procedure","access":"local","params":1,"steps":[[255,"ext","table",50,"MakeRecurringTexts",3]]},{"name":"CreateAndPostDerogEntry","line":276,"kind":"procedure","access":"local","params":1,"steps":[[284,"ext","codeunit",5632,"FAJnlPostLine",2]]},{"name":"PostLines","line":297,"kind":"procedure","access":"local","params":0,"steps":[[310,"event","OnPostLinesOnBeforeWindowUpdate",1],[316,"call","CheckFAJnlLineDocumentNo",0],[319,"call","MakeRecurringTexts",1],[328,"event","OnPostLinesOnBeforeGetNextNoSeries",0],[329,"ext","codeunit",308,"GetNextNo",2],[330,"event","OnPostLinesOnAfterGetNextNoSeries",0],[333,"event","OnPostLinesOnBeforeFAJnlPostLine",0],[334,"ext","codeunit",5632,"FAJnlPostLine",2],[335,"event","OnPostLinesOnAfterFAJnlPostLine",0],[336,"call","CreateAndPostDerogEntry",1]]},{"name":"CheckFAJnlLineDocumentNo","line":340,"kind":"procedure","access":"local","params":0,"steps":[[347,"event","OnBeforeCheckFAJnlLineDocumentNo",1],[352,"ext","codeunit",308,"GetNextNo",2]]},{"name":"CheckRestrictions","line":361,"kind":"procedure","access":"local","params":1,"steps":[[364,"ext","table",5621,"OnCheckFAJournalLinePostRestrictions",0]]}]}