---
id: change/bcapps/11274
type: change
title: "#11274 [Master]-[Drop shipment reversal] Undo Shipment fails with blank Bin Code at bin-mandatory location"
summary: Fixed an issue where undoing shipments failed with blank Bin Code errors at bin-mandatory warehouse locations, particularly for drop shipment reversals.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit undo purchase receipt line
  - codeunit undo sales shipment line
system: purchasing
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:13.165Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6258fb401eb1e432f51bc89a58509ad4f14af0fb
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11274
    title: "microsoft/BCApps#11274: [Master]-[Drop shipment reversal] Undo Shipment fails with blank Bin Code at bin-mandatory location"
    date: "2026-09-14"
    commit: 6258fb401eb1e432f51bc89a58509ad4f14af0fb
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/5813
    - object/codeunit/5815
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11274
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11274
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-14T17:44:15Z"
author: neeleshsinghal
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 87
  deletions: 0
  al: 3
apps:
  - Base Application
objects_touched:
  - key: codeunit/5813
    page: codeunit/5813
    type: codeunit
    id: 5813
    name: Undo Purchase Receipt Line
    app: Base Application
    status: modified
  - key: codeunit/5815
    page: codeunit/5815
    type: codeunit
    id: 5815
    name: Undo Sales Shipment Line
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/RU/BaseApp/Sales/History/UndoSalesShipmentLine.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 649618
systems:
  - purchasing
  - sales
quote: null
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #11274 [Master]-[Drop shipment reversal] Undo Shipment fails with blank Bin Code at bin-mandatory location

> Fixed an issue where undoing shipments failed with blank Bin Code errors at bin-mandatory warehouse locations, particularly for drop shipment reversals.

[Pull request](https://github.com/microsoft/BCApps/pull/11274) · merged into `main` (BC30) on 2026-09-14 by neeleshsinghal · 4 files (+87 -0), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Undo of shipments no longer fails with a blank Bin Code at bin-mandatory locations, as seen in drop shipment reversal
- One-line changes in both Undo Sales Shipment Line and Undo Purchase Receipt Line
- Tests added to an SCM item tracking test codeunit
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 5813 "Undo Purchase Receipt Line"](../../objects/codeunit/5813.md), Base Application: modified
- [Codeunit 5815 "Undo Sales Shipment Line"](../../objects/codeunit/5815.md), Base Application: modified
- `src/Layers/RU/BaseApp/Sales/History/UndoSalesShipmentLine.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#649618
- Labels: Team: SCM
- Systems: purchasing, sales

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