---
title: "Codeunit 1106 CostJnlManagement"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1106-costjnlmanagement/
type: codeunit
id: 1106
name: "CostJnlManagement"
app: "Base Application"
namespace: Microsoft.CostAccounting.Journal
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1106-costjnlmanagement/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 1106 CostJnlManagement

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1106-costjnlmanagement/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.CostAccounting.Journal |
| Versions | 17-28 |
| Source file | CostAccounting/Journal/CostJnlManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| TemplateSelection | (var Record Cost Journal Line, var Boolean) | - | public | 17-28 | - | - |
| TemplateSelectionFromBatch | (var Record Cost Journal Batch) | - | public | 17-28 | - | - |
| OpenJnl | (var Code[10], var Record Cost Journal Line) | - | public | 17-28 | - | - |
| OpenJnlBatch | (var Record Cost Journal Batch) | - | public | 17-28 | - | - |
| CheckTemplateName | (Code[10], var Code[10]) | - | public | 17-28 | - | - |
| CheckName | (Code[10], var Record Cost Journal Line) | - | public | 17-28 | - | - |
| SetName | (Code[10], var Record Cost Journal Line) | - | public | 17-28 | - | - |
| LookupName | (var Code[10], var Record Cost Journal Line) | - | public | 17-28 | - | - |
| CalcBalance | (var Record Cost Journal Line, Record Cost Journal Line, var Decimal, var Decimal, var Boolean, var Boolean) | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeTemplateSelection | (var Record Cost Journal Line, var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeTemplateSelectionFromBatch | (var Record Cost Journal Batch, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeOpenJnlBatch | (var Record Cost Journal Batch, var Boolean) | 17-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.
