---
title: "Codeunit 1012 Job Jnl.-Post Line"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1012-job-jnl-post-line/
type: codeunit
id: 1012
name: "Job Jnl.-Post Line"
app: "Base Application"
namespace: Microsoft.Projects.Project.Posting
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1012-job-jnl-post-line/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 1012 Job Jnl.-Post Line

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1012-job-jnl-post-line/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Projects.Project.Posting |
| Versions | 17-28 |
| Source file | Projects/Project/Posting/JobJnlPostLine.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| RunWithCheck | (var Record Job Journal Line) | Integer | public | 17-28 | - | - |
| CreateJobLedgEntry | (Record Job Journal Line) | Integer | public | 17-28 | - | - |
| SetGLEntryNo | (Integer) | - | public | 17-28 | - | - |
| SetCalledFromInvtPutawayPick | (Boolean) | - | internal | 20-28 | - | - |
| SetCalledFromPurchase | (Boolean) | - | internal | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterApplyUsageLink | (var Record Job Ledger Entry) | 17-28 | - | - |
| Integration event | OnAfterCopyJobJnlLine | (var Record Job Journal Line, var Record Job Journal Line) | 17-28 | - | - |
| Integration event | OnAfterJobLedgEntryInsert | (var Record Job Ledger Entry, Record Job Journal Line) | 17-28 | - | - |
| Integration event | OnAfterRunCode | (var Record Job Journal Line, var Integer, var Record Job Register) | 17 | - | - |
| Integration event | OnBeforeCheckJob | (var Record Job Journal Line, Record Job, var Boolean, var Record Job Register, var Integer) | 17-28 | - | - |
| Integration event | OnBeforeCode | (var Record Job Journal Line) | 17-28 | - | - |
| Integration event | OnBeforeApplyUsageLink | (var Record Job Ledger Entry, var Record Job Journal Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeCreateJobLedgEntry | (var Record Job Journal Line, var Boolean, var Integer) | 17-28 | - | - |
| Integration event | OnBeforeCreateJobRegister | (var Record Job Journal Line) | 17-28 | - | - |
| Integration event | OnBeforeGetJobConsumptionValueEntry | (var Record Job Journal Line, var Boolean, var Boolean, var Record Value Entry) | 17-28 | - | - |
| Integration event | OnBeforeJobLedgEntryInsert | (var Record Job Ledger Entry, Record Job Journal Line) | 17-28 | - | - |
| Integration event | OnBeforeItemPosting | (var Record Job Journal Line, var Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeModifyValueEntry | (var Record Value Entry, Record Job Journal Line, Boolean) | 17-18 | - | - |
| Integration event | OnBeforePostResource | (var Record Job Journal Line, var Record Job Journal Line, var Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforePostWhseJnlLine | (Record Item Journal Line, Decimal, Decimal, var Record Tracking Specification, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeRunWithCheck | (var Record Job Journal Line) | 17-28 | - | - |
| Integration event | OnBeforeUpdateJobJnlLineAmount | (var Record Job Journal Line, var Decimal, var Decimal, var Decimal, Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnCheckJobOnBeforeTestJobTaskType | (var Record Job Journal Line, var Boolean) | 17-28 | - | - |
| Integration event | OnCreateJobLedgEntryOnBeforeAssignQtyCostPrice | (var Record Job Ledger Entry, Record Job Journal Line, var Boolean) | 17-28 | - | - |
| Integration event | OnCreateJobLedgerEntryOnAfterAssignLedgerEntryTypeAndNo | (var Record Job Ledger Entry, Record Job Journal Line) | 17-18 | - | - |
| Integration event | OnGetJobConsumptionValueEntryFilter | (var Record Value Entry, Record Job Journal Line) | 17 | - | - |
| Integration event | OnPostItemOnAfterApplyItemTracking | (var Record Job Journal Line, Record Item Ledger Entry, var Record Job Ledger Entry, var Boolean) | 17-28 | - | - |
| Integration event | OnPostItemOnAfterSetSkipJobLedgerEntry | (var Record Job Journal Line, Record Item Ledger Entry, var Boolean) | 17-28 | - | - |
| Integration event | OnPostItemOnBeforeGetJobConsumptionValueEntry | (var Record Job Journal Line) | 17-24 | - | - |
| Integration event | OnPostItemOnBeforeUpdateTotalAmounts | (var Record Job Journal Line, Record Item Ledger Entry, Record Value Entry) | 17-28 | - | - |
| Integration event | OnPostItemOnBeforeAssignItemJnlLine | (var Record Job Journal Line, var Record Job Journal Line, var Record Item Journal Line) | 17-19 | - | - |
| Integration event | OnBeforeCreateJobLedgEntryFromPostItem | (var Record Job Journal Line, var Record Value Entry, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterRunCode | (var Record Job Journal Line, var Integer, var Record Job Register, var Integer) | 18-28 | - | - |
| Integration event | OnBeforeUpdateJobJnlLineResourceGroupNo | (var Record Job Journal Line, Record Res. Journal Line, var Boolean) | 18-28 | - | - |
| Integration event | OnGetJobConsumptionValueEntryFilter | (var Record Value Entry, Record Job Journal Line, Record Job Journal Line) | 18-28 | - | - |
| Integration event | OnAfterPostItem | (var Record Job Journal Line, var Codeunit Item Jnl.-Post Line) | 19-25 | - | - |
| Integration event | OnBeforeGetAndCheckJob | (var Record Job Journal Line, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeModifyValueEntry | (var Record Value Entry, Record Job Journal Line, var Boolean) | 19-28 | - | - |
| Integration event | OnCodeOnAfterCalcShouldPostUsage | (var Record Job Journal Line, var Boolean) | 19-21 | - | - |
| Integration event | OnCreateJobLedgerEntryOnAfterAssignLedgerEntryTypeAndNo | (var Record Job Ledger Entry, Record Job Journal Line, Integer) | 19-28 | - | - |
| Integration event | OnPostItemOnBeforeAssignItemJnlLine | (var Record Job Journal Line, var Record Job Journal Line, var Record Item Journal Line, Record Job Planning Line) | 20-28 | - | - |
| Integration event | OnBeforeJobPlanningReservationExists | (Code[20], Code[20], var Boolean, var Boolean) | 21-28 | - | - |
| Integration event | OnCodeOnAfterCalcShouldPostUsage | (var Record Job Journal Line, var Boolean, var Integer) | 22-28 | - | - |
| Integration event | OnPostItemOnAfterPostWhseJnlLine | (var Record Job Journal Line, var Codeunit Item Jnl.-Post Line) | 22-28 | - | - |
| Integration event | OnCodeOnBeforeCheckLine | (var Record Job Journal Line, Boolean, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeGetNextEntryNo | (var Record Job Journal Line, var Integer, var Boolean) | 23 | - | - |
| Integration event | OnIsertJobRegisterOnBeforeInsert | (var Record Job Journal Line, var Record Job Register) | 23-28 | - | - |
| Integration event | OnBeforeGetNextEntryNo | (var Record Job Journal Line, var Integer, var Boolean, var Record Job Ledger Entry) | 24-28 | - | - |
| Integration event | OnAfterGetNextEntryNo | (var Record Job Ledger Entry, var Integer) | 24-28 | - | - |
| Integration event | OnAfterUpdateJobJnlLineTotalAmounts | (var Record Job Journal Line, Decimal, Decimal) | 24-28 | - | - |
| Integration event | OnPostItemOnBeforeGetJobConsumptionValueEntry | (var Record Job Journal Line, var Integer) | 25-28 | - | - |
| Integration event | OnAfterPostItem | (var Record Job Journal Line, var Codeunit Item Jnl.-Post Line, var Integer) | 26-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
