---
title: "Codeunit 730 Copy Item"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/730-copy-item/
type: codeunit
id: 730
name: "Copy Item"
app: "Base Application"
namespace: Microsoft.Inventory.Item
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/730-copy-item/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 730 Copy Item

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/730-copy-item/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Item |
| Versions | 17-28 |
| Source file | Inventory/Item/CopyItem.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| DoCopyItem | () | - | public | 17-28 | - | - |
| SetCopyItemBuffer | (Record Copy Item Buffer) | - | public | 17-28 | - | - |
| CopyItem | (Integer) | - | public | 17-28 | - | - |
| CopyItemRelatedTable | (Integer, Integer, Code[20], Code[20]) | - | public | 17-28 | - | - |
| CopyItemRelatedTableFromRecRef | (var RecordRef, Integer, Code[20], Code[20]) | - | public | 17-28 | - | - |
| ShowCreatedItems | (var Notification) | - | public | 17-28 | - | - |
| GetNewItemNo | (var Code[20], var Code[20]) | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCopyExtendedTexts | (var Record Item, var Record Item) | 17-28 | - | - |
| Integration event | OnAfterCopyItem | (var Record Copy Item Buffer, Record Item, var Record Item) | 17-28 | - | - |
| Integration event | OnBeforeOnRun | (Record Item, var Code[20], var Code[20], var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnRunOnAfterItemCopied | (var Record Copy Item Buffer) | 17-28 | - | - |
| Integration event | OnBeforeInitSeries | (var Record Item, var Record Inventory Setup) | 17-28 | - | - |
| Integration event | OnBeforeCopyItemVariants | (var Record Copy Item Buffer, Code[20], Code[20], var Boolean) | 17-28 | - | - |
| Integration event | OnCopyItemOnBeforeTargetItemInsert | (Record Item, var Record Item, Integer) | 17-19 | - | - |
| Integration event | OnBeforeCopyItem | (Record Item, var Record Item, Integer) | 18-19 | - | - |
| Integration event | OnBeforeCopyItem | (Record Item, var Record Item, Integer, var Record Copy Item Buffer) | 20-28 | - | - |
| Integration event | OnCopyItemOnBeforeTargetItemInsert | (Record Item, var Record Item, Integer, var Record Copy Item Buffer) | 20-28 | - | - |
| Integration event | OnBeforeCopyItemPriceListLines | (Code[20], Code[20], var Boolean) | 21-28 | - | - |
| Integration event | OnCopyItemPriceListLinesOnAfterPriceListLineSetFilters | (var Record Price List Line) | 21-28 | - | - |
| Integration event | OnCopyItemPriceListLinesOnBeforeInsertNewPriceListLine | (var Record Price List Line, Record Price List Line) | 26-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.
