---
title: "Codeunit 212 Res. Jnl.-Post Line, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/points/
object: https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Codeunit 212 Res. Jnl.-Post Line, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/points/

7 procedures and triggers with a step in src/Layers/W1/BaseApp/Projects/Resources/Journal/ResJnlPostLine.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 22](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L22), trigger.

- [24](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L24) calls `GetGLSetup`
- [25](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L25) calls `RunWithCheck`

## RunWithCheck

[Line 40](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L40).

- [45](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L45) calls [Codeunit 9500 Sequence No. Mgt.](https://jonas-paprotka.de/ref/codeunit/9500-sequence-no-mgt/) `ClearSequenceNoCheck`
- [46](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L46) calls `Code`

## Code

[Line 50](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L50), local.

- [57](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L57) raises `OnBeforePostResJnlLine`, IsHandled
- [59](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L59) calls `ValidateSequenceNo`
- [60](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L60) calls [Table 207 Res. Journal Line](https://jonas-paprotka.de/ref/table/207-res-journal-line/) `EmptyLine`
- [63](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L63) calls [Codeunit 211 Res. Jnl.-Check Line](https://jonas-paprotka.de/ref/codeunit/211-res-jnl-check-line/) `RunCheck`
- [64](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L64) raises `OnCodeOnAfterRunCheck`
- [66](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L66) calls [Table 314 Resources Setup](https://jonas-paprotka.de/ref/table/314-resources-setup/) `UseLegacyPosting`
- [68](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L68) calls [Table 203 Res. Ledger Entry](https://jonas-paprotka.de/ref/table/203-res-ledger-entry/) `GetLastEntryNo`
- [75](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L75) calls [Table 156 Resource](https://jonas-paprotka.de/ref/table/156-resource/) `CheckResourcePrivacyBlocked`
- [78](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L78) raises `OnBeforeCheckResourceBlocked`, IsHandled
- [82](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L82) calls `UpdateResJnlLineResourceGroupNo`
- [84](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L84) calls [Table 314 Resources Setup](https://jonas-paprotka.de/ref/table/314-resources-setup/) `UseLegacyPosting`
- [85](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L85) calls [Table 203 Res. Ledger Entry](https://jonas-paprotka.de/ref/table/203-res-ledger-entry/) `GetNextEntryNo`
- [88](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L88) calls [Table 203 Res. Ledger Entry](https://jonas-paprotka.de/ref/table/203-res-ledger-entry/) `CopyFromResJnlLine`
- [90](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L90) calls `GetGLSetup`
- [106](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L106) calls `PostTimeSheetDetail`
- [107](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L107) calls `IsChargable`
- [110](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L110) raises `OnBeforeResLedgEntryInsert`
- [112](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L112) calls `InsertRegister`
- [114](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L114) writes [Table 203 Res. Ledger Entry](https://jonas-paprotka.de/ref/table/203-res-ledger-entry/) Insert(true)
- [115](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L115) raises `OnAfterResLedgEntryInsert`
- [117](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L117) calls [Table 314 Resources Setup](https://jonas-paprotka.de/ref/table/314-resources-setup/) `UseLegacyPosting`
- [122](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L122) raises `OnAfterPostResJnlLine`
- [123](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L123) calls `ValidateSequenceNo`

## PostTimeSheetDetail

[Line 133](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L133), local.

- [141](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L141) raises `OnBeforePostTimeSheetDetail`, IsHandled
- [149](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L149) writes [Table 952 Time Sheet Detail](https://jonas-paprotka.de/ref/table/952-time-sheet-detail/) Modify
- [151](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L151) calls [Codeunit 950 Time Sheet Management](https://jonas-paprotka.de/ref/codeunit/950-time-sheet-management/) `CreateTSPostingEntry`
- [156](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L156) raises `OnPostTimeSheetDetailOnAfterSetTimeSheetDetailFilters`
- [159](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L159) writes [Table 951 Time Sheet Line](https://jonas-paprotka.de/ref/table/951-time-sheet-line/) Modify

## InsertRegister

[Line 175](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L175), local.

- [178](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L178) calls [Table 240 Resource Register](https://jonas-paprotka.de/ref/table/240-resource-register/) `GetNextEntryNo`
- [178](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L178) calls [Table 314 Resources Setup](https://jonas-paprotka.de/ref/table/314-resources-setup/) `UseLegacyPosting`
- [187](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L187) raises `OnBeforeResourceRegisterInsert`
- [188](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L188) writes [Table 240 Resource Register](https://jonas-paprotka.de/ref/table/240-resource-register/) Insert
- [196](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L196) raises `OnBeforeResourceRegisterModify`
- [197](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L197) writes [Table 240 Resource Register](https://jonas-paprotka.de/ref/table/240-resource-register/) Modify

## UpdateResJnlLineResourceGroupNo

[Line 201](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L201), local.

- [206](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L206) raises `OnBeforeUpdateResJnlLineResourceGroupNo`, IsHandled

## ValidateSequenceNo

[Line 214](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L214), local.

- [220](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L220) calls [Table 314 Resources Setup](https://jonas-paprotka.de/ref/table/314-resources-setup/) `UseLegacyPosting`
- [222](https://jonas-paprotka.de/ref/codeunit/212-res-jnl-post-line/source/#L222) calls [Codeunit 9500 Sequence No. Mgt.](https://jonas-paprotka.de/ref/codeunit/9500-sequence-no-mgt/) `ValidateSeqNo`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
