---
id: change/bcapps/12907
type: change
title: "#12907 Fix direct transfer upgrade without Inventory Setup"
summary: Direct transfer order upgrade now handles missing Inventory Setup by retaining fallback shipment and receipt behavior, preventing migration failures when the setup record does not exist.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit upgrade - baseapp
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-10-18T00:55:29.182Z"
  flags: []
generated:
  at: "2026-10-24T01:02:25.817Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 77144453f5c064e5477c0012f375cc41faa3ae56
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12907
    title: "microsoft/BCApps#12907: Fix direct transfer upgrade without Inventory Setup"
    date: "2026-10-16"
    commit: 77144453f5c064e5477c0012f375cc41faa3ae56
    t: null
    quote: allow direct transfer orders to upgrade when Inventory Setup is missing by retaining the existing Shipment and Receipt fallback
links:
  learn: []
  objects:
    - object/codeunit/104000
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/inventory-how-transfer-between-locations
      title: Transfer items between locations
      label: possibly related
      why: Documents transfer orders and direct transfers between locations, the feature involved in the direct transfer upgrade fix.
      by: model
number: 12907
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12907
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-16T16:55:29Z"
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:
  - 654108
systems:
  - platform
quote: allow direct transfer orders to upgrade when Inventory Setup is missing by retaining the existing Shipment and Receipt fallback
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #12907 Fix direct transfer upgrade without Inventory Setup

> Direct transfer order upgrade now handles missing Inventory Setup by retaining fallback shipment and receipt behavior, preventing migration failures when the setup record does not exist.

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

## What changed

- Skips reading Inventory Setup when no direct transfer orders need migration
- Direct transfer orders can upgrade even when Inventory Setup is missing
- Keeps the existing Shipment and Receipt fallback
- Change made in Upgrade - BaseApp across the AT, BE, CH, IT, NL, NO, RU and W1 layers
- Behaviour changes for users or extensions.

## AL objects touched

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

## Context

- Work items: AB#654108
- Labels: Team: Integrations
- Systems: platform
- From the description: "allow direct transfer orders to upgrade when Inventory Setup is missing by retaining the existing Shipment and Receipt fallback"

## Possibly related

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

- [Transfer items between locations](https://learn.microsoft.com/dynamics365/business-central/inventory-how-transfer-between-locations) — possibly related: Documents transfer orders and direct transfers between locations, the feature involved in the 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).
