code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#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 · 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

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