{"title":"Codeunit 212 Res. Jnl.-Post Line, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/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":212,"name":"Res. Jnl.-Post Line","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/","path":"src/Layers/W1/BaseApp/Projects/Resources/Journal/ResJnlPostLine.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/"},"table:207":{"name":"Res. Journal Line","url":"https://jonas-paprotka.de/ref/table/207-res-journal-line/"},"codeunit:211":{"name":"Res. Jnl.-Check Line","url":"https://jonas-paprotka.de/ref/codeunit/211-res-jnl-check-line/"},"table:314":{"name":"Resources Setup","url":"https://jonas-paprotka.de/ref/table/314-resources-setup/"},"table:203":{"name":"Res. Ledger Entry","url":"https://jonas-paprotka.de/ref/table/203-res-ledger-entry/"},"table:156":{"name":"Resource","url":"https://jonas-paprotka.de/ref/table/156-resource/"},"table:952":{"name":"Time Sheet Detail","url":"https://jonas-paprotka.de/ref/table/952-time-sheet-detail/"},"codeunit:950":{"name":"Time Sheet Management","url":"https://jonas-paprotka.de/ref/codeunit/950-time-sheet-management/"},"table:951":{"name":"Time Sheet Line","url":"https://jonas-paprotka.de/ref/table/951-time-sheet-line/"},"table:240":{"name":"Resource Register","url":"https://jonas-paprotka.de/ref/table/240-resource-register/"}},"procs":[{"name":"OnRun","line":22,"kind":"trigger","steps":[[24,"call","GetGLSetup",0],[25,"call","RunWithCheck",1]]},{"name":"RunWithCheck","line":40,"kind":"procedure","params":1,"steps":[[45,"ext","codeunit",9500,"ClearSequenceNoCheck",0],[46,"call","Code",0]]},{"name":"Code","line":50,"kind":"procedure","access":"local","params":0,"steps":[[57,"event","OnBeforePostResJnlLine",1],[59,"call","ValidateSequenceNo",3],[60,"ext","table",207,"EmptyLine",0],[63,"ext","codeunit",211,"RunCheck",1],[64,"event","OnCodeOnAfterRunCheck",0],[66,"ext","table",314,"UseLegacyPosting",0],[68,"ext","table",203,"GetLastEntryNo",0],[75,"ext","table",156,"CheckResourcePrivacyBlocked",1],[78,"event","OnBeforeCheckResourceBlocked",1],[82,"call","UpdateResJnlLineResourceGroupNo",0],[84,"ext","table",314,"UseLegacyPosting",0],[85,"ext","table",203,"GetNextEntryNo",0],[88,"ext","table",203,"CopyFromResJnlLine",1],[90,"call","GetGLSetup",0],[106,"call","PostTimeSheetDetail",2],[107,"call","IsChargable",2],[110,"event","OnBeforeResLedgEntryInsert",0],[112,"call","InsertRegister",1],[114,"write",203,"Insert",1],[115,"event","OnAfterResLedgEntryInsert",0],[117,"ext","table",314,"UseLegacyPosting",0],[122,"event","OnAfterPostResJnlLine",0],[123,"call","ValidateSequenceNo",3]]},{"name":"PostTimeSheetDetail","line":133,"kind":"procedure","access":"local","params":2,"steps":[[141,"event","OnBeforePostTimeSheetDetail",1],[149,"write",952,"Modify"],[151,"ext","codeunit",950,"CreateTSPostingEntry",5],[156,"event","OnPostTimeSheetDetailOnAfterSetTimeSheetDetailFilters",0],[159,"write",951,"Modify"]]},{"name":"InsertRegister","line":175,"kind":"procedure","access":"local","params":1,"steps":[[178,"ext","table",240,"GetNextEntryNo",1],[178,"ext","table",314,"UseLegacyPosting",0],[187,"event","OnBeforeResourceRegisterInsert",0],[188,"write",240,"Insert"],[196,"event","OnBeforeResourceRegisterModify",0],[197,"write",240,"Modify"]]},{"name":"UpdateResJnlLineResourceGroupNo","line":201,"kind":"procedure","access":"local","params":0,"steps":[[206,"event","OnBeforeUpdateResJnlLineResourceGroupNo",1]]},{"name":"ValidateSequenceNo","line":214,"kind":"procedure","access":"local","params":3,"steps":[[220,"ext","table",314,"UseLegacyPosting",0],[222,"ext","codeunit",9500,"ValidateSeqNo",1]]}]}