---
title: "Codeunit 9030 Undo Transfer Shipment"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/9030-undo-transfer-shipment/
type: codeunit
id: 9030
name: "Undo Transfer Shipment"
app: "Base Application"
namespace: Microsoft.Inventory.Transfer
versions: "22-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/9030-undo-transfer-shipment/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 9030 Undo Transfer Shipment

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/9030-undo-transfer-shipment/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Transfer |
| Versions | 22-28 |
| Source file | Inventory/Transfer/UndoTransferShipment.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetHideDialog | (Boolean) | - | public | 22-28 | - | - |
| GetCorrectionLineNo | (Record Transfer Shipment Line) | Integer | public | 22-28 | - | - |
| UpdateOrderLine | (Record Transfer Shipment Line) | - | public | 22-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeOnRun | (var Record Transfer Shipment Line, var Boolean, var Boolean) | 22-28 | - | - |
| Integration event | OnCodeOnAfterTransShptLineSetFilters | (var Record Transfer Shipment Line) | 22-28 | - | - |
| Integration event | OnCodeOnBeforeUndoLoop | (var Record Transfer Shipment Line) | 22-28 | - | - |
| Integration event | OnAfterInsertNewShipmentLine | (var Record Transfer Shipment Line, Record Posted Whse. Shipment Line, var Boolean, Integer) | 22-28 | - | - |
| Integration event | OnAfterCode | (var Record Transfer Shipment Line) | 22-28 | - | - |
| Integration event | OnBeforeGetCorrectionLineNo | (Record Transfer Shipment Line, var Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnAfterGetCorrectionLineNo | (Record Transfer Shipment Line, var Integer) | 22-28 | - | - |
| Integration event | OnBeforeUpdateOrderLine | (var Record Transfer Shipment Line, var Boolean) | 22-28 | - | - |
| Integration event | OnAfterUpdateOrderLine | (var Record Transfer Line, var Record Transfer Shipment Line) | 22-28 | - | - |
| Integration event | OnBeforeInsertNewTransShptLine | (var Record Transfer Shipment Line, Record Transfer Shipment Line) | 22-28 | - | - |
| Integration event | OnBeforeModifyTransShptLine | (var Record Transfer Shipment Line) | 22-28 | - | - |
| Integration event | OnAfterCopyItemJnlLineFromTransShpt | (var Record Item Journal Line, Record Transfer Shipment Header, Record Transfer Shipment Line) | 22-28 | - | - |
| Integration event | OnPostCorrectiveItemLedgEntriesOnBeforeRun | (var Record Item Journal Line, var Record Item Ledger Entry) | 22-28 | - | - |
| Integration event | OnCodeOnAfterPostTempWhseJnlLineCache | (var Record Transfer Shipment Line, var Codeunit Item Jnl.-Post Line, var Codeunit Whse. Jnl.-Register Line) | 24-28 | - | - |
| Integration event | OnBeforePostCorrectiveItemLedgEntries | (var Record Item Journal Line, var Record Item Ledger Entry, var Boolean) | 25-28 | - | - |
| Integration event | OnNoItemLedgerEntriesCheckIsNeeded | (Record Transfer Shipment Line, var Boolean) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
