---
id: object/codeunit/1020
type: object
title: Codeunit 1020 "JobJnlManagement"
summary: Codeunit 1020 "JobJnlManagement" in Base Application (Microsoft.Projects.Project.Journal). 10 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC25.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "25"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 91ccc1076d881a2f2a4ef4f0f0d51067437cd301195e3634dcdd0d02ca68084e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Projects/Project/Journal/JobJnlManagement.Codeunit.al
    title: src/Layers/W1/BaseApp/Projects/Project/Journal/JobJnlManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 1020
name: JobJnlManagement
namespace: Microsoft.Projects.Project.Journal
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 18
  events: 6
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 4
  implements: 0
---

# Codeunit 1020 "JobJnlManagement"

> Codeunit 1020 "JobJnlManagement" in Base Application (Microsoft.Projects.Project.Journal). 10 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC25.

Base Application · Microsoft.Projects.Project.Journal · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Projects/Project/Journal/JobJnlManagement.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "Job Journal Template" = rimd, TableData "Job Journal Batch" = rimd, TableData "Job Entry No." = rimd |

## Events published

- `OnLookupNameOnAfterSetFilters(var JobJournalBatch: Record "Job Journal Batch")` (integration)
- `OnBeforeOpenJnlBatch(var JobJournalBatch: Record "Job Journal Batch"; var IsHandled: Boolean)` (integration)
- `OnBeforeGetJobDescription(JobJnlLine: Record "Job Journal Line"; LastJobJnlLine: Record "Job Journal Line"; var JobDescription: Text[100]; var IsHandled: Boolean)` (integration)
- `OnBeforeOpenJnl(var CurrentJnlBatchName: Code[10]; var JobJournalLine: Record "Job Journal Line")` (integration)
- `OnBeforeTemplateSelectionFromBatch(var JobJnlBatch: Record "Job Journal Batch"; var OpenFromBatch: Boolean; var IsHandled: Boolean)` (integration)
- `OnTemplateSelectionOnAfterJobJnlTemplateSetFilters(PageID: Integer; RecurringJnl: Boolean; var JobJnlLine: Record "Job Journal Line"; var JobJournalTemplate: Record "Job Journal Template")` (integration)

## Procedures

- `TemplateSelection(PageID: Integer; RecurringJnl: Boolean; var JobJnlLine: Record "Job Journal Line"; var JnlSelected: Boolean)`
- `TemplateSelectionFromBatch(var JobJnlBatch: Record "Job Journal Batch")`
- `OpenJnl(var CurrentJnlBatchName: Code[10]; var JobJnlLine: Record "Job Journal Line")`
- `OpenJnlBatch(var JobJnlBatch: Record "Job Journal Batch")`
- `CheckName(CurrentJnlBatchName: Code[10]; var JobJnlLine: Record "Job Journal Line")`
- `SetName(CurrentJnlBatchName: Code[10]; var JobJnlLine: Record "Job Journal Line")`
- `LookupName(var CurrentJnlBatchName: Code[10]; var JobJnlLine: Record "Job Journal Line")`
- `GetNames(var JobJnlLine: Record "Job Journal Line"; var JobDescription: Text[100]; var AccName: Text[100])`
- `GetNextEntryNo(): Integer`
- `ShowItemAvailabilityFromJobJournalLines(var JobJournalLine: Record "Job Journal Line"; AvailabilityType: Enum "Item Availability Type")`

Plus 2 local procedures.

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 353 "Item Availability Forms Mgt"](../codeunit/353.md) (7 calls: `ShowItemAvailabilityFromJobJournalLines → FilterItem`, `ShowItemAvailabilityFromJobJournalLines → ShowItemAvailabilityByBOMLevel`, `ShowItemAvailabilityFromJobJournalLines → ShowItemAvailabilityByEvent`, …)

## Called by

- [Page 201 "Job Journal"](../page/201.md) (4 calls: `CurrentJnlBatchNameOnAfterVali → SetName`, `OnAfterGetCurrRecord → GetNames`, `OpenJournal → OpenJnl`, …)
- [Page 289 "Recurring Job Jnl."](../page/289.md) (4 calls: `CurrentJnlBatchNameOnAfterVali → SetName`, `OnAfterGetCurrRecord → GetNames`, `OnOpenPage → OpenJnl`, …)
- [Table 1003 "Job Planning Line"](../table/1003.md) (2 calls: `InitFromJobPlanningLine → GetNextEntryNo`, `InitJobPlanningLine → GetNextEntryNo`)
- [Page 276 "Job Journal Batches"](../page/276.md) (1 call: `OnOpenPage → OpenJnlBatch`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "JobJnlManagement")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
