---
id: change/bcapps/9273
type: change
title: "#9273 Extend Contoso Mfg shop calendar range to cover next-year due dates"
summary: Contoso Coffee Manufacturing demo data calendar now covers the next calendar year, preventing backward scheduling from silently clamping production order dates to the current year end.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit create mfg capacity
system: manufacturing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:08:09.911Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 314db570eca92631a89726979c0165e262bef5f3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9273
    title: "microsoft/BCApps#9273: Extend Contoso Mfg shop calendar range to cover next-year due dates"
    date: "2026-08-20"
    commit: 314db570eca92631a89726979c0165e262bef5f3
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/4775
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9273
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9273
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-20T14:57:23Z"
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: 1
  additions: 2
  deletions: 2
  al: 1
apps:
  - ContosoCoffeeDemoDataset
objects_touched:
  - key: codeunit/4775
    page: codeunit/4775
    type: codeunit
    id: 4775
    name: Create Mfg Capacity
    app: ContosoCoffeeDemoDataset
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 639691
systems:
  - manufacturing
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9273 Extend Contoso Mfg shop calendar range to cover next-year due dates

> Contoso Coffee Manufacturing demo data calendar now covers the next calendar year, preventing backward scheduling from silently clamping production order dates to the current year end.

[Pull request](https://github.com/microsoft/BCApps/pull/9273) · merged into `main` (BC30) on 2026-08-20 by attilatoury · 1 file (+2 -2), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Calc. Machine Center Calendar and Calculate Work Center Calendar now generate entries for CurrentYear-1 through CurrentYear+1
- Fixes backward scheduling silently clamping next-year due dates to 12/31 of the current year
- End date in the AdjustDate calls moved from 19031231D to 19041231D; start date unchanged
- Demo data only; adds one extra year of calendar entries per work and machine center
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 4775 "Create Mfg Capacity"](../../objects/codeunit/4775.md), ContosoCoffeeDemoDataset: modified

## Context

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

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