---
title: "Codeunit 361 MoveEntries"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/361-moveentries/
type: codeunit
id: 361
name: "MoveEntries"
app: "Base Application"
namespace: Microsoft.Utilities
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/361-moveentries/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 361 MoveEntries

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/361-moveentries/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Utilities |
| Versions | 17-28 |
| Source file | Utilities/MoveEntries.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| MoveGLEntries | (Record G/L Account) | - | public | 17-28 | - | - |
| MoveCustEntries | (Record Customer) | - | public | 17-28 | - | - |
| MoveVendorEntries | (Record Vendor) | - | public | 17-28 | - | - |
| MoveBankAccEntries | (Record Bank Account) | - | public | 17-28 | - | - |
| MoveItemEntries | (Record Item) | - | public | 17-28 | - | - |
| MoveResEntries | (Record Resource) | - | public | 17-28 | - | - |
| MoveJobEntries | (Record Job) | - | public | 17-28 | - | - |
| MoveServiceItemLedgerEntries | (Record Service Item) | - | public | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| MoveServContractLedgerEntries | (Record Service Contract Header) | - | public | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| MoveServiceCostLedgerEntries | (Record Service Cost) | - | public | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| MoveCashFlowEntries | (Record Cash Flow Account) | - | public | 17-28 | - | - |
| MoveDocRelatedEntries | (Integer, Code[20]) | - | public | 17-28 | - | - |
| CheckIfServiceItemCanBeDeleted | (var Record Service Ledger Entry, Code[20]) | Text | public | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| RunOnAfterMoveServiceItemLedgerEntries | (Record Service Item) | - | internal | 25-27 | - | - |
| RunOnAfterMoveServContractLedgerEntries | (Record Service Contract Header) | - | internal | 25-27 | - | - |
| RunOnAfterMoveServiceCostLedgerEntries | (Record Service Cost) | - | internal | 25-27 | - | - |
| RunOnBeforeMoveServiceItemLedgerEntries | (Record Service Item, var Code[20]) | - | internal | 25-27 | - | - |
| RunOnBeforeMoveServContractLedgerEntries | (Record Service Contract Header, var Code[20]) | - | internal | 25-27 | - | - |
| RunOnBeforeMoveServiceCostLedgerEntries | (Record Service Cost, var Code[10]) | - | internal | 25-27 | - | - |
| RunOnMoveItemEntriesOnAfterResetServLedgEntry | (var Record Service Ledger Entry) | - | internal | 25-27 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterMoveGLEntries | (Record G/L Account, var Record G/L Entry) | 17-28 | - | - |
| Integration event | OnAfterMoveCustEntries | (Record Customer, var Record Cust. Ledger Entry, var Record Reminder/Fin. Charge Entry, var Record Service Ledger Entry, var Record Warranty Ledger Entry) | 17-27 | Pending 25.0 | Replaced by event OnMoveCustEntriesOnAfterModifyCustLedgEntries |
| Integration event | OnAfterMoveVendorEntries | (Record Vendor, var Record Vendor Ledger Entry, var Record Warranty Ledger Entry) | 17-27 | Pending 25.0 | Replaced by event OnMoveVendEntriesOnAfterModifyVendLedgEntries |
| Integration event | OnAfterMoveBankAccEntries | (Record Bank Account, var Record Bank Account Ledger Entry, var Record Check Ledger Entry) | 17-28 | - | - |
| Integration event | OnAfterMoveItemEntries | (Record Item, var Record Item Ledger Entry, var Record Value Entry, var Record Service Ledger Entry, var Record Warranty Ledger Entry, var Record Inventory Adjmt. Entry (Order)) | 17-27 | Pending 25.0 | Replaced by event OnMoveItemEntriesOnAfterModifyItemLedgEntries |
| Integration event | OnAfterMoveResEntries | (Record Resource, var Record Res. Ledger Entry, var Record Service Ledger Entry, var Record Warranty Ledger Entry) | 17-27 | Pending 25.0 | Replaced by event OnMoveResEntriesOnAfterModifyResLedgEntries |
| Integration event | OnAfterMoveJobEntries | (Record Job, var Record Job Ledger Entry, var Record Time Sheet Line, var Record Service Ledger Entry) | 17-27 | Pending 25.0 | Replaced by event OnMoveJobEntriesOnAfterModifyJobLedgEntries |
| Integration event | OnAfterMoveServiceItemLedgerEntries | (Record Service Item) | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| Integration event | OnAfterMoveServContractLedgerEntries | (Record Service Contract Header) | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| Integration event | OnAfterMoveServiceCostLedgerEntries | (Record Service Cost) | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| Integration event | OnAfterMoveCashFlowEntries | (Record Cash Flow Account) | 17-24 | - | - |
| Integration event | OnAfterMoveDocRelatedEntries | (Integer, Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeSetCustLedgEntryFilterByAccPeriod | (var Record Cust. Ledger Entry, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeSetVendLedgEntryFilterByAccPeriod | (var Record Vendor Ledger Entry, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeMoveGLEntries | (Record G/L Account, var Code[20]) | 17 | - | - |
| Integration event | OnBeforeMoveCustEntries | (Record Customer, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeMoveVendEntries | (Record Vendor, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeMoveBankAccEntries | (Record Bank Account, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeMoveItemEntries | (Record Item, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeMoveResEntries | (Record Resource, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeMoveJobEntries | (Record Job, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeMoveServiceItemLedgerEntries | (Record Service Item, var Code[20]) | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| Integration event | OnBeforeMoveServContractLedgerEntries | (Record Service Contract Header, var Code[20]) | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| Integration event | OnBeforeMoveServiceCostLedgerEntries | (Record Service Cost, var Code[10]) | 17-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| Integration event | OnBeforeMoveCashFlowEntries | (Record Cash Flow Account, var Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeMoveDocRelatedEntries | (Integer, Code[20]) | 17-28 | - | - |
| Integration event | OnBeforeCheckGLAccountEntries | (var Record G/L Entry, var Record General Ledger Setup, var Record G/L Account, var Boolean) | 18-28 | - | - |
| Integration event | OnBeforeMoveGLEntries | (Record G/L Account, var Code[20], var Record G/L Entry) | 18-28 | - | - |
| Integration event | OnMoveCustEntriesOnBeforeError | (var Record Customer) | 18-28 | - | - |
| Integration event | OnMoveItemEntriesOnBeforeCheckForOpenEtries | (var Record Item Ledger Entry) | 21-28 | - | - |
| Integration event | OnMoveItemEntriesOnAfterResetServLedgEntry | (var Record Service Ledger Entry) | 23-27 | Pending 25.0 | Moved to codeunit ServMoveEntries |
| Integration event | OnAfterMoveCashFlowEntries | (Record Cash Flow Account, Record Cash Flow Setup) | 25-28 | - | - |
| Integration event | OnMoveCustEntriesOnAfterModifyCustLedgEntries | (var Record Customer, Code[20]) | 25-28 | - | - |
| Integration event | OnMoveVendEntriesOnAfterModifyVendLedgEntries | (var Record Vendor, Code[20]) | 25-28 | - | - |
| Integration event | OnMoveItemEntriesOnAfterModifyItemLedgerEntries | (var Record Item, Code[20]) | 25-28 | - | - |
| Integration event | OnMoveResEntriesOnAfterModifyResLedgerEntries | (var Record Resource, Code[20]) | 25-28 | - | - |
| Integration event | OnMoveJobEntriesOnAfterModifyJobLedgerEntries | (var Record Job, Code[20]) | 25-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.
