---
id: change/bcapps/9272
type: change
title: "#9272 Fix duplicate in-transit location in localized Contoso demo data"
summary: The Contoso demo data now uses a single source for the in-transit location code across inventory and warehousing modules, eliminating duplicate location records in non-English locales.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit create whse location
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:06.134Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 876733adc39ff869e23b8431949dcfa183ef1aa7
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9272
    title: "microsoft/BCApps#9272: Fix duplicate in-transit location in localized Contoso demo data"
    date: "2026-08-14"
    commit: 876733adc39ff869e23b8431949dcfa183ef1aa7
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/4787
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9272
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9272
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-14T10:31:18Z"
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: 17
  deletions: 2
  al: 1
apps:
  - ContosoCoffeeDemoDataset
objects_touched:
  - key: codeunit/4787
    page: codeunit/4787
    type: codeunit
    id: 4787
    name: Create Whse Location
    app: ContosoCoffeeDemoDataset
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 640939
systems:
  - development
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9272 Fix duplicate in-transit location in localized Contoso demo data

> The Contoso demo data now uses a single source for the in-transit location code across inventory and warehousing modules, eliminating duplicate location records in non-English locales.

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

## What changed

- Replaced the warehousing module's independent in-transit location definition with a call to the existing inventory module procedure
- Removed the redundant translatable label that could cause different abbreviations in non-English languages
- The duplicate-guard check now works correctly because both modules reference the same location code
- The fix only applies to new demo data; existing databases with duplicates are not cleaned up
- Safe to apply regardless of module initialization order since the function returns a constant
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 4787 "Create Whse Location"](../../objects/codeunit/4787.md), ContosoCoffeeDemoDataset: modified

## Context

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

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