---
id: object/table/7310
type: object
title: Table 7310 "Warehouse Journal Batch"
summary: Table 7310 "Warehouse Journal Batch" in Base Application (Microsoft.Warehouse.Journal). 10 fields, 1 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: b1225463494b5c8f94f9c3493e4f1468577481806b4e521bb349e58602eda434
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Journal/WarehouseJournalBatch.Table.al
    title: src/Layers/W1/BaseApp/Warehouse/Journal/WarehouseJournalBatch.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/warehouse-how-to-set-up-put-away-templates
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/set-up-business-central/set-up-warehouse-management
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 7310
name: Warehouse Journal Batch
namespace: Microsoft.Warehouse.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"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 10
  procedures: 3
  events: 2
  subscribers: 0
relations:
  out: 9
  referenced_by: 1
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 7310 "Warehouse Journal Batch"

> Table 7310 "Warehouse Journal Batch" in Base Application (Microsoft.Warehouse.Journal). 10 fields, 1 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC28.

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

Learn documents this table through its pages: [Page 7323 "Whse. Journal Batches"](../page/7323.md) (1 Learn page), [Page 7329 "Whse. Journal Batches List"](../page/7329.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Warehouse Journal Batch |
| 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 7309 "Warehouse Journal Template"](../table/7309.md) (Warehouse Journal Template); NotBlank |
| 2 | Name | Code[10] | Specifies the name of the warehouse journal batch. | NotBlank |
| 3 | Description | Text[100] | Specifies a description of the warehouse journal batch. |  |
| 4 | Reason Code | Code[10] | Specifies the reason code, a supplementary source code that enables you to trace the entry. | TableRelation [Table 231 "Reason Code"](../table/231.md) (Reason Code) |
| 5 | No. Series | Code[20] | Specifies the number series from which entry or record numbers are assigned to new entries or records. | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series) |
| 6 | Registering No. Series | Code[20] | Specifies the number series code used to assign document numbers to the warehouse entries that are registered from this journal batch. | TableRelation [Table 308 "No. Series"](../table/308.md) (No. Series) |
| 7 | Location Code | Code[10] | Specifies the code of the location where the journal batch applies. | TableRelation [Table 14 "Location"](../table/14.md); NotBlank |
| 21 | Template Type | Enum "Warehouse Journal Template Type" | — | FlowField: lookup("Warehouse Journal Template".Type where(Name = field("Journal Template Name"))); enum [Enum 7309 "Warehouse Journal Template Type"](../enum/7309.md); not editable |
| 7700 | Assigned User ID | Code[50] | Specifies the ID of the user who is responsible for the document. | TableRelation [Table 7301 "Warehouse Employee"](../table/7301.md) ("Warehouse Employee" where("Location Code" = field("Location Code"))); DataClassification EndUserIdentifiableInformation |
| 40 | No. of Lines | Integer | Specifies the number of lines in this journal batch. | FlowField: count("Warehouse Journal Line" where("Journal Template Name" = field("Journal Template Name"), "Journal Batch Name" = field(Name), "Location Code" = field("Location Code"))); not editable |

## Keys

- Key1: Journal Template Name, Name, Location Code (clustered)
- Key2: Location Code, Assigned User ID

## Events published

- `OnAfterSetupNewBatch(var WarehouseJournalBatch: Record "Warehouse Journal Batch"; WarehouseJournalTemplate: Record "Warehouse Journal Template")` (integration)
- `OnBeforeOnValidateLocationCode(var WarehouseJournalBatch: Record "Warehouse Journal Batch"; var IsHandled: Boolean)` (integration)

## Procedures

- `SetupNewBatch()`

## Triggers

OnDelete, OnInsert, OnRename

## Relations

- lookup page [Page 7323 "Whse. Journal Batches"](../page/7323.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Reason Code: TableRelation [Table 231 "Reason Code"](../table/231.md)
- No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Registering No. Series: TableRelation [Table 308 "No. Series"](../table/308.md)
- Assigned User ID: TableRelation [Table 7301 "Warehouse Employee"](../table/7301.md)
- Template Type: CalcFormula [Table 7309 "Warehouse Journal Template"](../table/7309.md)
- Journal Template Name: TableRelation [Table 7309 "Warehouse Journal Template"](../table/7309.md)
- No. of Lines: CalcFormula [Table 7311 "Warehouse Journal Line"](../table/7311.md)

## Referenced by

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

- [Table 7311 "Warehouse Journal Line"](../table/7311.md): Journal Batch Name

## Pages and codeunits on this table

- [Page 7323 "Whse. Journal Batches"](../page/7323.md) (source table)
- [Page 7329 "Whse. Journal Batches List"](../page/7329.md) (source table)
- [Codeunit 7300 "Whse. Jnl.-B.Register+Print"](../codeunit/7300.md) (codeunit runs on it)
- [Codeunit 7305 "Whse. Jnl.-B.Register"](../codeunit/7305.md) (codeunit runs on it)

## Across versions

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

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: "Warehouse Journal Batch")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
