---
id: object/table/6213
type: object
title: Table 6213 "Sustainability Jnl. Batch"
summary: Table 6213 "Sustainability Jnl. Batch" in Sustainability (Microsoft.Sustainability.Journal). 9 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - sustainability
versions:
  introduced: "29"
  last_changed: null
  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: 42b21586820d7872c3c9c56211069e3017161a45e025f80f5265e83057154ce5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/Journal/SustainabilityJnlBatch.Table.al
    title: src/Apps/W1/Sustainability/app/src/Journal/SustainabilityJnlBatch.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-sustainability-journal
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/sustainability-management
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 6213
name: Sustainability Jnl. Batch
caption: Sustainability Journal Batch
namespace: Microsoft.Sustainability.Journal
app: Sustainability
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 9
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 4
  pages: 1
  extended_by: 0
  event_subscribers: 3
  calls: 1
  called_by: 0
  implements: 0
---

# Table 6213 "Sustainability Jnl. Batch"

> Table 6213 "Sustainability Jnl. Batch" in Sustainability (Microsoft.Sustainability.Journal). 9 fields. Introduced in BC29, still in BC30.

Sustainability · Microsoft.Sustainability.Journal · captioned "Sustainability Journal Batch" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/Journal/SustainabilityJnlBatch.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 6216 "Sustainability Jnl. Batches"](../page/6216.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Sustainability Journal Batch |
| Access | Public |
| Extensible | true |
| 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 6215 "Sustainability Jnl. Template"](../table/6215.md) (Sustainability Jnl. Template); NotBlank |
| 2 | Name | Code[10] | Specifies the name of the journal batch you are creating. <small>via [Page 6216 "Sustainability Jnl. Batches"](../page/6216.md)</small> | NotBlank |
| 3 | Description | Text[100] | Specifies a brief description of the journal batch you are creating. <small>via [Page 6216 "Sustainability Jnl. Batches"](../page/6216.md)</small> |  |
| 4 | No Series | Code[20] | Specifies the No. Series to use for the journal batch. <small>via [Page 6216 "Sustainability Jnl. Batches"](../page/6216.md)</small> | TableRelation No. Series |
| 5 | Emission Scope | Enum "Emission Scope" | Specifies the emission scope that is allowed to be used in the journal batch. If none specified, all emission scopes are allowed. <small>via [Page 6216 "Sustainability Jnl. Batches"](../page/6216.md)</small> | enum [Enum 6212 "Emission Scope"](../enum/6212.md) |
| 6 | Source Code | Code[10] | Specifies the source code for the journal batch. <small>via [Page 6216 "Sustainability Jnl. Batches"](../page/6216.md)</small> | TableRelation Source Code |
| 7 | Reason Code | Code[10] | Specifies the reason code for the journal batch. <small>via [Page 6216 "Sustainability Jnl. Batches"](../page/6216.md)</small> | TableRelation Reason Code |
| 22 | Recurring | Boolean | — | FlowField: lookup("Sustainability Jnl. Template".Recurring where(Name = field("Journal Template Name"))); not editable |
| 40 | No. of Lines | Integer | Specifies the number of lines in this journal batch. | FlowField: count("Sustainability Jnl. Line" where("Journal Template Name" = field("Journal Template Name"), "Journal Batch Name" = field(Name))); not editable |

## Keys

- PK: Journal Template Name, Name (clustered)

## Trigger event subscribers

- OnAfterDeleteEvent: [Codeunit 6279 "Sust. Approvals Mgmt."](../codeunit/6279.md) DeleteApprovalEntriesAfterDeleteSustJournalBatch
- OnAfterRenameEvent: [Codeunit 6280 "Sust. Workflow Event Handling"](../codeunit/6280.md) UpdateSustJournalBatchRestrictionsAfterRename
- OnBeforeDeleteEvent: [Codeunit 6280 "Sust. Workflow Event Handling"](../codeunit/6280.md) RemoveSustJournalBatchRestrictionsBeforeDelete

## Triggers

OnDelete, OnInsert, OnModify, OnRename

## Relations

- No. of Lines: CalcFormula [Table 6214 "Sustainability Jnl. Line"](../table/6214.md)
- Recurring: CalcFormula [Table 6215 "Sustainability Jnl. Template"](../table/6215.md)
- Journal Template Name: TableRelation [Table 6215 "Sustainability Jnl. Template"](../table/6215.md)

## Referenced by

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

- [Table 6214 "Sustainability Jnl. Line"](../table/6214.md): Journal Batch Name
- [Table 6216 "Sustainability Ledger Entry"](../table/6216.md): Journal Batch Name
- [Table 6260 "Sust. Jnl. Line G/L Entry"](../table/6260.md): Journal Batch Name
- [Table 6290 "Sustain. Emission Suggestion"](../table/6290.md): Journal Batch Name

## Pages and codeunits on this table

- [Page 6216 "Sustainability Jnl. Batches"](../page/6216.md) (source table)

## 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 1535 "Approvals Mgmt."](../codeunit/1535.md) (3 calls: `OnDelete → PreventDeletingRecordWithOpenApprovalEntry`, `OnModify → PreventModifyRecIfOpenApprovalEntryExistForCurrentUser`, `OnRename → OnRenameRecordInApprovalRequest`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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