---
id: change/bcapps/12664
type: change
title: "#12664 Fix production journal page ID validation"
summary: Production journal page ID validation now explicitly passes the page ID parameter to ensure templates are created with the correct page.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit production journal mgt
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-11-19T00:57:42.856Z"
  flags: []
generated:
  at: "2026-11-26T00:13:01.755Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 2fc26d07e3e5ce7a881dcbaf6c0fb861aba2d588
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12664
    title: "microsoft/BCApps#12664: Fix production journal page ID validation"
    date: "2026-11-18"
    commit: 2fc26d07e3e5ce7a881dcbaf6c0fb861aba2d588
    t: null
    quote: Pass `PageID` explicitly when validating the item journal template's `Page ID` field.
links:
  learn: []
  objects:
    - object/codeunit/5510
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/production-how-to-register-consumption-and-output
      title: Register consumption output for a production order
      label: possibly related
      why: Documents Production Journal page for registering consumption, output, and operation time.
      by: model
number: 12664
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12664
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-18T14:03:35Z"
author: auzhhv
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 1
  additions: 1
  deletions: 1
  al: 1
apps:
  - Base Application
objects_touched:
  - key: codeunit/5510
    page: codeunit/5510
    type: codeunit
    id: 5510
    name: Production Journal Mgt
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues:
  - 8273
work_items:
  - 659664
systems:
  - manufacturing
quote: Pass `PageID` explicitly when validating the item journal template's `Page ID` field.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #12664 Fix production journal page ID validation

> Production journal page ID validation now explicitly passes the page ID parameter to ensure templates are created with the correct page.

[Pull request](https://github.com/microsoft/BCApps/pull/12664) · merged into `main` (BC30) on 2026-11-18 by auzhhv (community contribution) · 1 file (+1 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- PageID parameter is now explicitly passed during validation
- Fixes issue where item journal templates were not created with the requested page ID
- Affects Production Journal Management codeunit
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 5510 "Production Journal Mgt"](../../objects/codeunit/5510.md), Base Application: modified

## Context

- Fixes: [#8273 [Bug]: codeunit 5510 "Production Journal Mgt" - SetTemplateAndBatchName](https://github.com/microsoft/BCApps/issues/8273) (closed)
- Work items: AB#659664
- Labels: ADO: Sync, From Fork, Team: SCM
- Systems: manufacturing
- From the description: "Pass `PageID` explicitly when validating the item journal template's `Page ID` field."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Register consumption output for a production order](https://learn.microsoft.com/dynamics365/business-central/production-how-to-register-consumption-and-output) — possibly related: Documents Production Journal page for registering consumption, output, and operation time. (model-linked)

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).
