---
title: "Codeunit 5714 Copy Location, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5714-copy-location/points/
object: https://jonas-paprotka.de/ref/codeunit/5714-copy-location/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 5714 Copy Location, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5714-copy-location/points/

13 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/Location/CopyLocation.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 18](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L18), trigger.

- [24](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L24) raises `OnBeforeOnRun`, IsHandled
- [27](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L27) calls `ShowNotification`
- [31](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L31) calls [Page 5711 Copy Location](https://jonas-paprotka.de/ref/page/5711-copy-location/) `SetLocation`
- [35](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L35) calls [Page 5711 Copy Location](https://jonas-paprotka.de/ref/page/5711-copy-location/) `GetParameters`
- [37](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L37) calls `DoCopyLocation`
- [39](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L39) raises `OnRunOnAfterLocationCopied`
- [42](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L42) calls `ShowCreatedLocation`
- [44](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L44) calls `ShowNotification`

## DoCopyLocation

[Line 56](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L56).

- [61](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L61) calls `CopyLocation`

## CopyLocation

[Line 71](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L71), local.

- [75](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L75) raises `OnBeforeCopyLocation`
- [77](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L77) calls `InitTargetLocation`
- [79](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L79) raises `OnCopyLocationOnBeforeTargetLocationInsert`
- [80](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L80) writes [Table 14 Location](https://jonas-paprotka.de/ref/table/14-location/) Insert
- [82](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L82) calls `CopyLocationDimensions`
- [83](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L83) calls `CopyZones`
- [84](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L84) calls `CopyBins`
- [85](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L85) calls `CopyWarehouseEmployees`
- [86](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L86) calls `CopyInventoryPostingSetup`
- [87](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L87) calls `CopyTransferRoutes`
- [89](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L89) raises `OnAfterCopyLocation`

## InitTargetLocation

[Line 92](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L92), local.

- [97](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L97) calls `CheckExistingLocation`

## CopyLocationDimensions

[Line 114](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L114), local.

- [126](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L126) writes [Table 352 Default Dimension](https://jonas-paprotka.de/ref/table/352-default-dimension/) Insert

## CopyZones

[Line 131](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L131), local.

- [144](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L144) writes [Table 7300 Zone](https://jonas-paprotka.de/ref/table/7300-zone/) Insert

## CopyBins

[Line 148](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L148), local.

- [165](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L165) writes [Table 7354 Bin](https://jonas-paprotka.de/ref/table/7354-bin/) Insert

## CopyWarehouseEmployees

[Line 169](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L169), local.

- [182](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L182) writes [Table 7301 Warehouse Employee](https://jonas-paprotka.de/ref/table/7301-warehouse-employee/) Insert

## CopyInventoryPostingSetup

[Line 186](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L186), local.

- [199](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L199) writes [Table 5813 Inventory Posting Setup](https://jonas-paprotka.de/ref/table/5813-inventory-posting-setup/) Insert

## CopyTransferRoutes

[Line 203](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L203), local.

- [217](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L217) writes [Table 5742 Transfer Route](https://jonas-paprotka.de/ref/table/5742-transfer-route/) Insert
- [231](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L231) writes [Table 5742 Transfer Route](https://jonas-paprotka.de/ref/table/5742-transfer-route/) Insert
- [245](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L245) writes [Table 5742 Transfer Route](https://jonas-paprotka.de/ref/table/5742-transfer-route/) Insert

## ShowNotification

[Line 249](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L249), local.

- [259](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L259) calls [Codeunit 1511 Notification Lifecycle Mgt.](https://jonas-paprotka.de/ref/codeunit/1511-notification-lifecycle-mgt/) `SendNotification`

## ShowCreatedLocation

[Line 262](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L262).

- [267](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L267) runs [Page 5703 Location Card](https://jonas-paprotka.de/ref/page/5703-location-card/)

## ShowCreatedLocation

[Line 270](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L270), local.

- [275](https://jonas-paprotka.de/ref/codeunit/5714-copy-location/source/#L275) runs [Page 5703 Location Card](https://jonas-paprotka.de/ref/page/5703-location-card/)

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
