---
id: object/table/1101
type: object
title: Table 1101 "Cost Journal Line"
summary: Table 1101 "Cost Journal Line" in Base Application (Microsoft.CostAccounting.Journal). 28 fields, 3 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC27.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "27"
  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: fdc1f2d825fb625de2c2a163a29d52d4454ed5240322a93a8c2c6ac489e51067
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/CostAccounting/Journal/CostJournalLine.Table.al
    title: src/Layers/W1/BaseApp/CostAccounting/Journal/CostJournalLine.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-about-cost-accounting
    - https://learn.microsoft.com/dynamics365/business-central/finance-transfer-and-post-cost-entries
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/accounting-for-costs
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1101
name: Cost Journal Line
namespace: Microsoft.CostAccounting.Journal
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 28
  procedures: 9
  events: 1
  subscribers: 0
relations:
  out: 11
  referenced_by: 1
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 1101 "Cost Journal Line"

> Table 1101 "Cost Journal Line" in Base Application (Microsoft.CostAccounting.Journal). 28 fields, 3 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC27.

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

Learn documents this table through its pages: [Page 1108 "Cost Journal"](../page/1108.md) (2 Learn pages).

## Properties

| Property | Value |
|---|---|
| Caption | Cost Journal Line |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Journal Template Name | Code[10] | — | TableRelation [Table 1100 "Cost Journal Template"](../table/1100.md) (Cost Journal Template) |
| 2 | Line No. | Integer | — |  |
| 4 | Cost Type No. | Code[20] | Specifies the subtype of the cost center. This is an information field and is not used for any other purposes. Choose the field to select the cost subtype. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> | TableRelation [Table 1103 "Cost Type"](../table/1103.md) (Cost Type) |
| 5 | Posting Date | Date | Specifies the entry's posting date. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> |  |
| 7 | Document No. | Code[20] | Specifies the number of the related document. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> |  |
| 8 | Description | Text[100] | Specifies a description of the cost journal entry. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> |  |
| 9 | Journal Batch Name | Code[10] | — | TableRelation [Table 1102 "Cost Journal Batch"](../table/1102.md) ("Cost Journal Batch".Name where("Journal Template Name" = field("Journal Template Name"))) |
| 11 | Bal. Cost Type No. | Code[20] | Specifies the number of the type that a balancing entry for the journal line is posted to. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> | TableRelation [Table 1103 "Cost Type"](../table/1103.md) (Cost Type) |
| 16 | Amount | Decimal | Specifies the amount of the entry in the cost journal. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> |  |
| 17 | Balance | Decimal | Specifies the balance of the cost type. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> | not editable |
| 18 | Debit Amount | Decimal | Specifies the total of the ledger entries that represent debits. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> |  |
| 19 | Credit Amount | Decimal | Specifies the total of the ledger entries that represent credits. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> |  |
| 20 | Cost Center Code | Code[20] | Specifies the cost center code. The code serves as a default value for cost posting that is captured later in the cost journal. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> | TableRelation [Table 1112 "Cost Center"](../table/1112.md) (Cost Center) |
| 21 | Cost Object Code | Code[20] | Specifies the cost object code. The code serves as a default value for cost posting that is captured later in the cost journal. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> | TableRelation [Table 1113 "Cost Object"](../table/1113.md) (Cost Object) |
| 22 | Bal. Cost Center Code | Code[20] | Specifies the number of the cost center that a balancing entry for the journal line is posted to. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> | TableRelation [Table 1112 "Cost Center"](../table/1112.md) (Cost Center) |
| 23 | Bal. Cost Object Code | Code[20] | Specifies the number of the cost center that a balancing entry for the journal line is posted to. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> | TableRelation [Table 1113 "Cost Object"](../table/1113.md) (Cost Object) |
| 27 | Reason Code | Code[10] | — | TableRelation [Table 231 "Reason Code"](../table/231.md) (Reason Code) |
| 29 | G/L Entry No. | Integer | Specifies the entry number of the corresponding general ledger entry that is associated with this cost entry. For combined entries, the entry number of the last general ledger entry is saved in the field. This is the entry with the highest entry number. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> | TableRelation [Table 17 "G/L Entry"](../table/17.md) (G/L Entry); not editable |
| 30 | Source Code | Code[10] | Specifies the source code that specifies where the entry was created. <small>via [Page 1108 "Cost Journal"](../page/1108.md)</small> | TableRelation [Table 230 "Source Code"](../table/230.md) (Source Code) |
| 31 | System-Created Entry | Boolean | — | not editable |
| 32 | Cost Entry No. | Integer | — | not editable |
| 33 | Allocated | Boolean | — |  |
| 50 | Allocation Description | Text[80] | — |  |
| 51 | Allocation ID | Code[10] | — |  |
| 68 | Additional-Currency Amount | Decimal | — | not editable |
| 69 | Add.-Currency Debit Amount | Decimal | — | not editable |
| 70 | Add.-Currency Credit Amount | Decimal | — | not editable |
| 100 | Budget Name | Code[10] | — | not editable |

## Keys

- Key1: Journal Template Name, Journal Batch Name, Line No. (clustered)
- Key2: Cost Type No., Cost Center Code, Cost Object Code
- Key3: G/L Entry No.

## Events published

- `OnAfterSetUpNewLine(var CostJournalLine: Record "Cost Journal Line"; CostJournalTemplate: Record "Cost Journal Template"; CostJournalBatch: Record "Cost Journal Batch"; LastCostJournalLine: Record "Cost Journal Line")` (integration)

## Procedures

- `SetUpNewLine(LastCostJournalLine: Record "Cost Journal Line")`
- `EmptyLine(): Boolean`
- `IsOpenedFromBatch(): Boolean`

Plus 5 local procedures.

## Triggers

OnInsert, OnModify

## Relations

- Journal Template Name: TableRelation [Table 1100 "Cost Journal Template"](../table/1100.md)
- Journal Batch Name: TableRelation [Table 1102 "Cost Journal Batch"](../table/1102.md)
- Bal. Cost Type No.: TableRelation [Table 1103 "Cost Type"](../table/1103.md)
- Cost Type No.: TableRelation [Table 1103 "Cost Type"](../table/1103.md)
- Bal. Cost Center Code: TableRelation [Table 1112 "Cost Center"](../table/1112.md)
- Cost Center Code: TableRelation [Table 1112 "Cost Center"](../table/1112.md)
- Bal. Cost Object Code: TableRelation [Table 1113 "Cost Object"](../table/1113.md)
- Cost Object Code: TableRelation [Table 1113 "Cost Object"](../table/1113.md)
- G/L Entry No.: TableRelation [Table 17 "G/L Entry"](../table/17.md)
- Source Code: TableRelation [Table 230 "Source Code"](../table/230.md)
- Reason Code: TableRelation [Table 231 "Reason Code"](../table/231.md)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 1102 "Cost Journal Batch"](../table/1102.md): No. of Lines

## Pages and codeunits on this table

- [Page 1108 "Cost Journal"](../page/1108.md) (source table)
- [Codeunit 1101 "CA Jnl.-Check Line"](../codeunit/1101.md) (codeunit runs on it)
- [Codeunit 1102 "CA Jnl.-Post Line"](../codeunit/1102.md) (codeunit runs on it)
- [Codeunit 1103 "CA Jnl.-Post Batch"](../codeunit/1103.md) (codeunit runs on it)
- [Codeunit 1108 "CA Jnl.-Post"](../codeunit/1108.md) (codeunit runs on it)
- [Codeunit 1113 "CA Jnl.-Post+Print"](../codeunit/1113.md) (codeunit runs on it)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC27

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). 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: "table", object_name: "Cost Journal Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
