---
id: change/bcapps/12939
type: change
title: "#12939 Bug 654493: [29.x] ICM 51000002285173: Fix direct transfer upgrade"
summary: The Base Application upgrade of direct transfer orders no longer reads Inventory Setup when no orders need migration. If the setup record is missing, it falls back to Shipment and Receipt. If setup exists, the configured direct transfer posting type is kept.
tier: official
language: en
tags:
  - fix
  - releases/29.x
  - bc29
  - codeunit upgrade - baseapp
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-10-17T01:12:18.483Z"
  flags: []
generated:
  at: "2026-10-24T01:02:25.817Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 12dc4a2af219f9ca678ff8b1ccacf749bc8a4f3e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12939
    title: "microsoft/BCApps#12939: Bug 654493: [29.x] ICM 51000002285173: Fix direct transfer upgrade"
    date: "2026-10-16"
    commit: 12dc4a2af219f9ca678ff8b1ccacf749bc8a4f3e
    t: null
    quote: skip Inventory Setup access when no direct transfer orders require migration
links:
  learn: []
  objects:
    - object/codeunit/104000
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/upgrade/upgrade-unmodified-application-to-v26
      title: Upgrade Microsoft System and Base Application to Version 26
      label: possibly related
      why: Covers Business Central upgrade process including database conversion and data upgrade, relevant to direct transfer upgrade fix.
      by: model
number: 12939
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12939
kind: pr
base_branch: releases/29.x
major: "29"
merged_at: "2026-10-16T22:12:48Z"
author: PredragMaricic
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 8
  additions: 64
  deletions: 16
  al: 8
apps:
  - Base Application
objects_touched:
  - key: codeunit/104000
    page: codeunit/104000
    type: codeunit
    id: 104000
    name: Upgrade - BaseApp
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 654493
systems:
  - platform
quote: skip Inventory Setup access when no direct transfer orders require migration
joined_against:
  major: "29"
  commit: ff470ecd2cee1e213c62c942f114f6c8238563c8
---

# #12939 Bug 654493: [29.x] ICM 51000002285173: Fix direct transfer upgrade

> The Base Application upgrade of direct transfer orders no longer reads Inventory Setup when no orders need migration. If the setup record is missing, it falls back to Shipment and Receipt. If setup exists, the configured direct transfer posting type is kept.

[Pull request](https://github.com/microsoft/BCApps/pull/12939) · merged into `releases/29.x` (BC29) on 2026-10-16 by PredragMaricic · 8 files (+64 -16), 8 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Skip Inventory Setup access when no direct transfer orders need migration
- Handle missing Inventory Setup by using existing Shipment and Receipt fallback
- Preserve configured direct transfer posting types when setup exists
- Applied to all localization layers (W1, AT, BE, CH, IT, NL, NO, RU)
- Fixes upgrade failures related to direct transfer data migration
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 104000 "Upgrade - BaseApp"](../../objects/codeunit/104000.md), Base Application: modified

## Context

- Work items: AB#654493
- Labels: Team: Integrations
- Systems: platform
- From the description: "skip Inventory Setup access when no direct transfer orders require migration"

## Possibly related

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

- [Upgrade Microsoft System and Base Application to Version 26](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/upgrade/upgrade-unmodified-application-to-v26) — possibly related: Covers Business Central upgrade process including database conversion and data upgrade, relevant to direct transfer upgrade fix. (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).
