---
id: change/bcapps/11155
type: change
title: "#11155 Fix missing default item journal batch in Contoso Inventory setup"
summary: Inventory's default item journal batch is now created with its template during Contoso setup, removing the dependency on Manufacturing, Service, or Jobs modules for this creation.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit create item journal template
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:36.020Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: d796c8b56ed445fc4bd168c79025953c045419d4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11155
    title: "microsoft/BCApps#11155: Fix missing default item journal batch in Contoso Inventory setup"
    date: "2026-09-18"
    commit: d796c8b56ed445fc4bd168c79025953c045419d4
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/5423
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11155
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11155
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-18T15:46:28Z"
author: attilatoury
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 116
  deletions: 0
  al: 1
apps:
  - ContosoCoffeeDemoDataset
objects_touched:
  - key: codeunit/5423
    page: codeunit/5423
    type: codeunit
    id: 5423
    name: Create Item Journal Template
    app: ContosoCoffeeDemoDataset
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 644169
systems:
  - inventory
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #11155 Fix missing default item journal batch in Contoso Inventory setup

> Inventory's default item journal batch is now created with its template during Contoso setup, removing the dependency on Manufacturing, Service, or Jobs modules for this creation.

[Pull request](https://github.com/microsoft/BCApps/pull/11155) · merged into `main` (BC30) on 2026-09-18 by attilatoury · 2 files (+116 -0), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Create Item Journal Template now also creates Inventory's default item journal batch
- Common and Warehouse generation no longer depends on Manufacturing, Service or Jobs to create that batch
- Reuses an existing helper and keeps the settings of a batch that already exists
- Three regression tests cover batch creation, an existing template without a batch, and keeping customized settings
- No numbering or dependency changes
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 5423 "Create Item Journal Template"](../../objects/codeunit/5423.md), ContosoCoffeeDemoDataset: modified

## Context

- Work items: AB#644169
- Labels: AL: Apps (W1), Team: SCM
- Systems: inventory

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
