Share via


Codeunit MoveEntries

ID 361
Namespace: Microsoft.Utilities

Properties

Name Value
Permissions TableData "G/L Entry" = rm, TableData "Cust. Ledger Entry" = rm, tabledata "Detailed Cust. Ledg. Entry" = rm, TableData "Vendor Ledger Entry" = rm, tabledata "Detailed Vendor Ledg. Entry" = rm, TableData "Item Ledger Entry" = rm, TableData "Job Ledger Entry" = rm, TableData "Res. Ledger Entry" = rm, TableData "Bank Account Ledger Entry" = rm, TableData "Check Ledger Entry" = rm, TableData "Reminder/Fin. Charge Entry" = rm, TableData "Value Entry" = rm, TableData "Avg. Cost Adjmt. Entry Point" = rd, TableData "Inventory Adjmt. Entry (Order)" = rm, TableData "Warehouse Entry" = rm

Methods

MoveGLEntries

procedure MoveGLEntries(GLAcc: Record "G/L Account")

Parameters

Name Type Description
GLAcc Table Microsoft.Finance.GeneralLedger.Account."G/L Account"

MoveCustEntries

procedure MoveCustEntries(Cust: Record Customer)

Parameters

Name Type Description
Cust Table Microsoft.Sales.Customer.Customer

MoveVendorEntries

procedure MoveVendorEntries(Vend: Record Vendor)

Parameters

Name Type Description
Vend Table Microsoft.Purchases.Vendor.Vendor

MoveBankAccEntries

procedure MoveBankAccEntries(BankAcc: Record "Bank Account")

Parameters

Name Type Description
BankAcc Table Microsoft.Bank.BankAccount."Bank Account"

MoveItemEntries

procedure MoveItemEntries(Item: Record Item)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item

MoveResEntries

procedure MoveResEntries(Res: Record Resource)

Parameters

Name Type Description
Res Table Microsoft.Projects.Resources.Resource.Resource

MoveJobEntries

procedure MoveJobEntries(Job: Record Job)

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job

MoveServiceItemLedgerEntries

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
procedure MoveServiceItemLedgerEntries(ServiceItem: Record "Service Item")

Parameters

Name Type Description
ServiceItem Table Microsoft.Service.Item."Service Item"

MoveServContractLedgerEntries

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
procedure MoveServContractLedgerEntries(ServiceContractHeader: Record "Service Contract Header")

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"

MoveServiceCostLedgerEntries

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
procedure MoveServiceCostLedgerEntries(ServiceCost: Record "Service Cost")

Parameters

Name Type Description
ServiceCost Table Microsoft.Service.Pricing."Service Cost"

MoveCashFlowEntries

procedure MoveCashFlowEntries(CashFlowAccount: Record "Cash Flow Account")

Parameters

Name Type Description
CashFlowAccount Table Microsoft.CashFlow.Account."Cash Flow Account"

MoveDocRelatedEntries

procedure MoveDocRelatedEntries(TableNo: Integer, DocNo: Code[20])

Parameters

Name Type Description
TableNo Integer
DocNo Code[20]

CheckIfServiceItemCanBeDeleted

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
procedure CheckIfServiceItemCanBeDeleted(var ServiceLedgerEntry: Record "Service Ledger Entry", ServiceItemNo: Code[20]): Text

Parameters

Name Type Description
ServiceLedgerEntry Table Microsoft.Service.Ledger."Service Ledger Entry"
ServiceItemNo Code[20]

Returns

Type Description
Text

Events

OnAfterMoveGLEntries

[IntegrationEvent(False,False)]
local procedure OnAfterMoveGLEntries(GLAccount: Record "G/L Account", var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GLAccount Table Microsoft.Finance.GeneralLedger.Account."G/L Account"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnAfterMoveCustEntries

Obsolete

This element will become obsolete from version 25.0. Replaced by event OnMoveCustEntriesOnAfterModifyCustLedgEntries

[Obsolete(Replaced by event OnMoveCustEntriesOnAfterModifyCustLedgEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterMoveCustEntries(Customer: Record Customer, var CustLedgerEntry: Record "Cust. Ledger Entry", var ReminderFinChargeEntry: Record "Reminder/Fin. Charge Entry", var ServiceLedgerEntry: Record "Service Ledger Entry", var WarrantyLedgerEntry: Record "Warranty Ledger Entry")

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ReminderFinChargeEntry Table Microsoft.Sales.FinanceCharge."Reminder/Fin. Charge Entry"
ServiceLedgerEntry Table Microsoft.Service.Ledger."Service Ledger Entry"
WarrantyLedgerEntry Table Microsoft.Service.Ledger."Warranty Ledger Entry"

OnAfterMoveVendorEntries

Obsolete

This element will become obsolete from version 25.0. Replaced by event OnMoveVendEntriesOnAfterModifyVendLedgEntries

[Obsolete(Replaced by event OnMoveVendEntriesOnAfterModifyVendLedgEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterMoveVendorEntries(Vendor: Record Vendor, var VendorLedgerEntry: Record "Vendor Ledger Entry", var WarrantyLedgerEntry: Record "Warranty Ledger Entry")

Parameters

Name Type Description
Vendor Table Microsoft.Purchases.Vendor.Vendor
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
WarrantyLedgerEntry Table Microsoft.Service.Ledger."Warranty Ledger Entry"

OnAfterMoveBankAccEntries

[IntegrationEvent(False,False)]
local procedure OnAfterMoveBankAccEntries(BankAccount: Record "Bank Account", var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var CheckLedgerEntry: Record "Check Ledger Entry")

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
CheckLedgerEntry Table Microsoft.Bank.Check."Check Ledger Entry"

OnAfterMoveItemEntries

Obsolete

This element will become obsolete from version 25.0. Replaced by event OnMoveItemEntriesOnAfterModifyItemLedgEntries

[Obsolete(Replaced by event OnMoveItemEntriesOnAfterModifyItemLedgEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterMoveItemEntries(Item: Record Item, var ItemLedgerEntry: Record "Item Ledger Entry", var ValueEntry: Record "Value Entry", var ServiceLedgerEntry: Record "Service Ledger Entry", var WarrantyLedgerEntry: Record "Warranty Ledger Entry", var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
ServiceLedgerEntry Table Microsoft.Service.Ledger."Service Ledger Entry"
WarrantyLedgerEntry Table Microsoft.Service.Ledger."Warranty Ledger Entry"
InventoryAdjmtEntryOrder Table Microsoft.Inventory.Costing."Inventory Adjmt. Entry (Order)"

OnAfterMoveResEntries

Obsolete

This element will become obsolete from version 25.0. Replaced by event OnMoveResEntriesOnAfterModifyResLedgEntries

[Obsolete(Replaced by event OnMoveResEntriesOnAfterModifyResLedgEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterMoveResEntries(Resource: Record Resource, var ResLedgerEntry: Record "Res. Ledger Entry", var ServiceLedgerEntry: Record "Service Ledger Entry", var WarrantyLedgerEntry: Record "Warranty Ledger Entry")

Parameters

Name Type Description
Resource Table Microsoft.Projects.Resources.Resource.Resource
ResLedgerEntry Table Microsoft.Projects.Resources.Ledger."Res. Ledger Entry"
ServiceLedgerEntry Table Microsoft.Service.Ledger."Service Ledger Entry"
WarrantyLedgerEntry Table Microsoft.Service.Ledger."Warranty Ledger Entry"

OnAfterMoveJobEntries

Obsolete

This element will become obsolete from version 25.0. Replaced by event OnMoveJobEntriesOnAfterModifyJobLedgEntries

[Obsolete(Replaced by event OnMoveJobEntriesOnAfterModifyJobLedgEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterMoveJobEntries(Job: Record Job, var JobLedgerEntry: Record "Job Ledger Entry", var TimeSheetLine: Record "Time Sheet Line", var ServiceLedgerEntry: Record "Service Ledger Entry")

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
JobLedgerEntry Table Microsoft.Projects.Project.Ledger."Job Ledger Entry"
TimeSheetLine Table Microsoft.Projects.TimeSheet."Time Sheet Line"
ServiceLedgerEntry Table Microsoft.Service.Ledger."Service Ledger Entry"

OnAfterMoveServiceItemLedgerEntries

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterMoveServiceItemLedgerEntries(ServiceItem: Record "Service Item")

Parameters

Name Type Description
ServiceItem Table Microsoft.Service.Item."Service Item"

OnAfterMoveServContractLedgerEntries

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterMoveServContractLedgerEntries(ServiceContractHeader: Record "Service Contract Header")

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"

OnAfterMoveServiceCostLedgerEntries

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterMoveServiceCostLedgerEntries(ServiceCost: Record "Service Cost")

Parameters

Name Type Description
ServiceCost Table Microsoft.Service.Pricing."Service Cost"

OnAfterMoveCashFlowEntries

[IntegrationEvent(False,False)]
local procedure OnAfterMoveCashFlowEntries(CashFlowAccount: Record "Cash Flow Account", CashFlowSetup: Record "Cash Flow Setup")

Parameters

Name Type Description
CashFlowAccount Table Microsoft.CashFlow.Account."Cash Flow Account"
CashFlowSetup Table Microsoft.CashFlow.Setup."Cash Flow Setup"

OnAfterMoveDocRelatedEntries

[IntegrationEvent(False,False)]
local procedure OnAfterMoveDocRelatedEntries(TableNo: Integer, DocNo: Code[20])

Parameters

Name Type Description
TableNo Integer
DocNo Code[20]

OnBeforeCheckGLAccountEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGLAccountEntries(var GLEntry: Record "G/L Entry", var GLSetup: Record "General Ledger Setup", var GLAccount: Record "G/L Account", var IsHandled: Boolean)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLSetup Table Microsoft.Finance.GeneralLedger.Setup."General Ledger Setup"
GLAccount Table Microsoft.Finance.GeneralLedger.Account."G/L Account"
IsHandled Boolean

OnBeforeSetCustLedgEntryFilterByAccPeriod

[IntegrationEvent(False,False)]
local procedure OnBeforeSetCustLedgEntryFilterByAccPeriod(var CustLedgEntry: Record "Cust. Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
IsHandled Boolean

OnBeforeSetVendLedgEntryFilterByAccPeriod

[IntegrationEvent(False,False)]
local procedure OnBeforeSetVendLedgEntryFilterByAccPeriod(var VendLedgEntry: Record "Vendor Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
IsHandled Boolean

OnBeforeMoveGLEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveGLEntries(GLAccount: Record "G/L Account", var GLAccNo: Code[20], var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
GLAccount Table Microsoft.Finance.GeneralLedger.Account."G/L Account"
GLAccNo Code[20]
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnBeforeMoveCustEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveCustEntries(Customer: Record Customer, var NewCustNo: Code[20])

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer
NewCustNo Code[20]

OnBeforeMoveVendEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveVendEntries(Vendor: Record Vendor, var NewVendNo: Code[20])

Parameters

Name Type Description
Vendor Table Microsoft.Purchases.Vendor.Vendor
NewVendNo Code[20]

OnBeforeMoveBankAccEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveBankAccEntries(BankAccount: Record "Bank Account", var NewBankAccNo: Code[20])

Parameters

Name Type Description
BankAccount Table Microsoft.Bank.BankAccount."Bank Account"
NewBankAccNo Code[20]

OnBeforeMoveItemEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveItemEntries(Item: Record Item, var NewItemNo: Code[20])

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
NewItemNo Code[20]

OnBeforeMoveResEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveResEntries(Resource: Record Resource, var NewResNo: Code[20])

Parameters

Name Type Description
Resource Table Microsoft.Projects.Resources.Resource.Resource
NewResNo Code[20]

OnBeforeMoveJobEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveJobEntries(Job: Record Job, var NewJobNo: Code[20])

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
NewJobNo Code[20]

OnBeforeMoveServiceItemLedgerEntries

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeMoveServiceItemLedgerEntries(ServiceItem: Record "Service Item", var NewServiceItemNo: Code[20])

Parameters

Name Type Description
ServiceItem Table Microsoft.Service.Item."Service Item"
NewServiceItemNo Code[20]

OnBeforeMoveServContractLedgerEntries

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeMoveServContractLedgerEntries(ServiceContractHeader: Record "Service Contract Header", var NewContractNo: Code[20])

Parameters

Name Type Description
ServiceContractHeader Table Microsoft.Service.Contract."Service Contract Header"
NewContractNo Code[20]

OnBeforeMoveServiceCostLedgerEntries

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeMoveServiceCostLedgerEntries(ServiceCost: Record "Service Cost", var NewCostCode: Code[10])

Parameters

Name Type Description
ServiceCost Table Microsoft.Service.Pricing."Service Cost"
NewCostCode Code[10]

OnBeforeMoveCashFlowEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveCashFlowEntries(CashFlowAccount: Record "Cash Flow Account", var NewAccountNo: Code[20])

Parameters

Name Type Description
CashFlowAccount Table Microsoft.CashFlow.Account."Cash Flow Account"
NewAccountNo Code[20]

OnBeforeMoveDocRelatedEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeMoveDocRelatedEntries(TableNo: Integer, DocNo: Code[20])

Parameters

Name Type Description
TableNo Integer
DocNo Code[20]

OnMoveItemEntriesOnBeforeCheckForOpenEtries

[IntegrationEvent(False,False)]
local procedure OnMoveItemEntriesOnBeforeCheckForOpenEtries(var ItemLedgerEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnMoveCustEntriesOnBeforeError

[IntegrationEvent(False,False)]
local procedure OnMoveCustEntriesOnBeforeError(var Cust: Record Customer)

Parameters

Name Type Description
Cust Table Microsoft.Sales.Customer.Customer

OnMoveItemEntriesOnAfterResetServLedgEntry

Obsolete

This element will become obsolete from version 25.0. Moved to codeunit ServMoveEntries

[Obsolete(Moved to codeunit ServMoveEntries,25.0)]
[IntegrationEvent(False,False)]
local procedure OnMoveItemEntriesOnAfterResetServLedgEntry(var ServiceLedgerEntry: Record "Service Ledger Entry")

Parameters

Name Type Description
ServiceLedgerEntry Table Microsoft.Service.Ledger."Service Ledger Entry"

OnMoveCustEntriesOnAfterModifyCustLedgEntries

[IntegrationEvent(False,False)]
local procedure OnMoveCustEntriesOnAfterModifyCustLedgEntries(var Customer: Record Customer, NewCustNo: Code[20])

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer
NewCustNo Code[20]

OnMoveVendEntriesOnAfterModifyVendLedgEntries

[IntegrationEvent(False,False)]
local procedure OnMoveVendEntriesOnAfterModifyVendLedgEntries(var Vendor: Record Vendor, NewVendNo: Code[20])

Parameters

Name Type Description
Vendor Table Microsoft.Purchases.Vendor.Vendor
NewVendNo Code[20]

OnMoveItemEntriesOnAfterModifyItemLedgerEntries

[IntegrationEvent(False,False)]
local procedure OnMoveItemEntriesOnAfterModifyItemLedgerEntries(var Item: Record Item, NewItemNo: Code[20])

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
NewItemNo Code[20]

OnMoveResEntriesOnAfterModifyResLedgerEntries

[IntegrationEvent(False,False)]
local procedure OnMoveResEntriesOnAfterModifyResLedgerEntries(var Resource: Record Resource, NewResNo: Code[20])

Parameters

Name Type Description
Resource Table Microsoft.Projects.Resources.Resource.Resource
NewResNo Code[20]

OnMoveJobEntriesOnAfterModifyJobLedgerEntries

[IntegrationEvent(False,False)]
local procedure OnMoveJobEntriesOnAfterModifyJobLedgerEntries(var Job: Record Job, NewJobNo: Code[20])

Parameters

Name Type Description
Job Table Microsoft.Projects.Project.Job.Job
NewJobNo Code[20]

See also