Table "Reversal Entry"

ID 179
Namespace: Microsoft.Finance.GeneralLedger.Reversal

Properties

Name Value
Caption Reversal Entry
PasteIsValid False
DataClassification CustomerContent

Fields

Name Type Description
"Line No." Integer
"Entry Type" Enum Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry Type"
"Entry No." Integer
"G/L Register No." Integer
"Source Code" Code[10]
"Journal Batch Name" Code[10]
"Transaction No." Integer
"Source Type" Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Source Type"
"Source No." Code[20]
"Currency Code" Code[10]
Description Text[100]
Amount Decimal
"Debit Amount" Decimal
"Credit Amount" Decimal
"Amount (LCY)" Decimal
"Debit Amount (LCY)" Decimal
"Credit Amount (LCY)" Decimal
"VAT Amount" Decimal
"Posting Date" Date
"Document Type" Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"
"Document No." Code[20]
"Account No." Code[20]
"Account Name" Text[100]
"Bal. Account Type" Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Account Type"
"Bal. Account No." Code[20]
"FA Posting Category" Enum Microsoft.FixedAssets.Ledger."FA Ledger Posting Category"
"FA Posting Type" Enum Microsoft.FixedAssets.Posting."Reversal Entry FA Posting Type"
"Reversal Type" Option
"Source Currency Amount" Decimal
"Source Currency VAT Amount" Decimal
"Source Currency Code" Code[10]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

ReverseTransaction

procedure ReverseTransaction(TransactionNo: Integer)

Parameters

Name Type Description
TransactionNo Integer

ReverseRegister

procedure ReverseRegister(RegisterNo: Integer)

Parameters

Name Type Description
RegisterNo Integer

CheckEntries

procedure CheckEntries()

SetReverseFilter

procedure SetReverseFilter(Number: Integer, RevType: Option)

Parameters

Name Type Description
Number Integer
RevType Option

CopyReverseFilters

procedure CopyReverseFilters(var GLEntry: Record "G/L Entry", var CustLedgerEntry: Record "Cust. Ledger Entry", var VendorLedgerEntry: Record "Vendor Ledger Entry", var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var VATEntry: Record "VAT Entry", var FALedgerEntry: Record "FA Ledger Entry", var MaintenanceLedgerEntry: Record "Maintenance Ledger Entry", var EmployeeLedgerEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
MaintenanceLedgerEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

ShowGLEntries

procedure ShowGLEntries()

ShowCustLedgEntries

procedure ShowCustLedgEntries()

ShowVendLedgEntries

procedure ShowVendLedgEntries()

ShowBankAccLedgEntries

procedure ShowBankAccLedgEntries()

ShowFALedgEntries

procedure ShowFALedgEntries()

ShowMaintenanceLedgEntries

procedure ShowMaintenanceLedgEntries()

ShowVATEntries

procedure ShowVATEntries()

Caption

procedure Caption(): Text

Returns

Type Description
Text

CheckPostingDate

procedure CheckPostingDate(PostingDate: Date, TableCaption: Text, EntryNo: Integer)

Parameters

Name Type Description
PostingDate Date
TableCaption Text
EntryNo Integer

CheckFAPostingDate

procedure CheckFAPostingDate(FAPostingDate: Date, TableCaption: Text, EntryNo: Integer)

Parameters

Name Type Description
FAPostingDate Date
TableCaption Text
EntryNo Integer

TestFieldError

procedure TestFieldError()

AlreadyReversedEntry

procedure AlreadyReversedEntry(TableCaption: Text, EntryNo: Integer)

Parameters

Name Type Description
TableCaption Text
EntryNo Integer

VerifyReversalEntries

procedure VerifyReversalEntries(var ReversalEntry2: Record "Reversal Entry", Number: Integer, RevType: Option): Boolean

Parameters

Name Type Description
ReversalEntry2 Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
Number Integer
RevType Option

Returns

Type Description
Boolean

Equal

procedure Equal(ReversalEntry2: Record "Reversal Entry"): Boolean

Parameters

Name Type Description
ReversalEntry2 Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"

Returns

Type Description
Boolean

ReversalErrorForChangedEntry

procedure ReversalErrorForChangedEntry(TableCaption: Text, EntryNo: Integer): Text[1024]

Parameters

Name Type Description
TableCaption Text
EntryNo Integer

Returns

Type Description
Text[1024]

SetHideDialog

procedure SetHideDialog(NewHideDialog: Boolean)

Parameters

Name Type Description
NewHideDialog Boolean

SetHideWarningDialogs

procedure SetHideWarningDialogs()

SetBankAccountStatement

procedure SetBankAccountStatement(BankAccountNo: Code[20], StatementNo: Code[20])

Parameters

Name Type Description
BankAccountNo Code[20]
StatementNo Code[20]

CopyFromCustLedgEntry

procedure CopyFromCustLedgEntry(CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

CopyFromBankAccLedgEntry

procedure CopyFromBankAccLedgEntry(BankAccountLedgerEntry: Record "Bank Account Ledger Entry")

Parameters

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

CopyFromFALedgEntry

procedure CopyFromFALedgEntry(FALedgerEntry: Record "FA Ledger Entry")

Parameters

Name Type Description
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"

CopyFromGLEntry

procedure CopyFromGLEntry(GLEntry: Record "G/L Entry")

Parameters

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

CopyFromMaintenanceEntry

procedure CopyFromMaintenanceEntry(MaintenanceLedgerEntry: Record "Maintenance Ledger Entry")

Parameters

Name Type Description
MaintenanceLedgerEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"

CopyFromVATEntry

procedure CopyFromVATEntry(VATEntry: Record "VAT Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

CopyFromVendLedgEntry

procedure CopyFromVendLedgEntry(VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

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

CopyFromEmployeeLedgerEntry

procedure CopyFromEmployeeLedgerEntry(EmployeeLedgerEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

Events

OnAfterCaption

[IntegrationEvent(False,False)]
local procedure OnAfterCaption(ReversalEntry: Record "Reversal Entry", var NewCaption: Text)

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
NewCaption Text

OnAfterCheckEntries

[IntegrationEvent(False,False)]
local procedure OnAfterCheckEntries(var MaxPostingDate: Date, var ReversalEntry: Record "Reversal Entry")

Parameters

Name Type Description
MaxPostingDate Date
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"

OnAfterCheckBankAcc

[IntegrationEvent(False,False)]
local procedure OnAfterCheckBankAcc(BankAccount: Record "Bank Account", BankAccountLedgerEntry: Record "Bank Account Ledger Entry")

Parameters

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

OnAfterCheckGLAcc

[IntegrationEvent(False,False)]
local procedure OnAfterCheckGLAcc(var GLAccount: Record "G/L Account", 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"

OnAfterCheckCust

[IntegrationEvent(False,False)]
local procedure OnAfterCheckCust(Customer: Record Customer, CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnAfterCheckVend

[IntegrationEvent(False,False)]
local procedure OnAfterCheckVend(Vendor: Record Vendor, VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

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

OnAfterCheckEmpl

[IntegrationEvent(False,False)]
local procedure OnAfterCheckEmpl(Employee: Record Employee, EmployeeLedgerEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
Employee Table Microsoft.HumanResources.Employee.Employee
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

OnAfterCheckFA

[IntegrationEvent(False,False)]
local procedure OnAfterCheckFA(FixedAsset: Record "Fixed Asset", FALedgerEntry: Record "FA Ledger Entry")

Parameters

Name Type Description
FixedAsset Table Microsoft.FixedAssets.FixedAsset."Fixed Asset"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"

OnAfterCheckMaintenance

[IntegrationEvent(False,False)]
local procedure OnAfterCheckMaintenance(FixedAsset: Record "Fixed Asset", MaintenanceLedgerEntry: Record "Maintenance Ledger Entry")

Parameters

Name Type Description
FixedAsset Table Microsoft.FixedAssets.FixedAsset."Fixed Asset"
MaintenanceLedgerEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"

OnAfterCheckVAT

[IntegrationEvent(False,False)]
local procedure OnAfterCheckVAT(var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnAfterCheckDtldCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCheckDtldCustLedgEntry(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnAfterCheckDtldVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCheckDtldVendLedgEntry(DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
DetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnAfterCheckDtldEmplLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCheckDtldEmplLedgEntry(DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry", EmployeeLedgerEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
DetailedEmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Detailed Employee Ledger Entry"
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

OnAfterCopyFromBankAccLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromBankAccLedgEntry(var ReversalEntry: Record "Reversal Entry", BankAccLedgEntry: Record "Bank Account Ledger Entry")

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
BankAccLedgEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"

OnAfterCopyFromCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromCustLedgEntry(var ReversalEntry: Record "Reversal Entry", CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnAfterCopyFromFALedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromFALedgEntry(var ReversalEntry: Record "Reversal Entry", FALedgerEntry: Record "FA Ledger Entry")

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"

OnAfterCopyFromGLEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromGLEntry(var ReversalEntry: Record "Reversal Entry", GLEntry: Record "G/L Entry")

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnAfterCopyFromMaintenanceEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromMaintenanceEntry(var ReversalEntry: Record "Reversal Entry", MaintenanceLedgerEntry: Record "Maintenance Ledger Entry")

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
MaintenanceLedgerEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"

OnAfterCopyFromVATEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromVATEntry(var ReversalEntry: Record "Reversal Entry", VATEntry: Record "VAT Entry")

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnAfterCopyFromVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromVendLedgEntry(var ReversalEntry: Record "Reversal Entry", VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnAfterCopyFromEmplLedgEntry

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromEmplLedgEntry(var ReversalEntry: Record "Reversal Entry", EmployeeLedgerEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

OnAfterInsertFromBankAccLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertFromBankAccLedgEntry(var TempRevertTransactionNo: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary, var BankAccLedgEntry: Record "Bank Account Ledger Entry")

Parameters

Name Type Description
TempRevertTransactionNo Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
BankAccLedgEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"

OnAfterInsertFromCustLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertFromCustLedgEntry(var TempRevertTransactionNo: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary, var CustLedgEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
TempRevertTransactionNo Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnAfterInsertFromEmplLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertFromEmplLedgEntry(var TempRevertTransactionNo: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary, var EmplLedgEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
TempRevertTransactionNo Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
EmplLedgEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

OnAfterInsertFromFALedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertFromFALedgEntry(var TempRevertTransactionNo: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary, var FALedgerEntry: Record "FA Ledger Entry")

Parameters

Name Type Description
TempRevertTransactionNo Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"

OnAfterInsertFromGLEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertFromGLEntry(var TempRevertTransactionNo: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary, var GLEntry: Record "G/L Entry")

Parameters

Name Type Description
TempRevertTransactionNo Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnAfterInsertFromMaintenanceLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertFromMaintenanceLedgEntry(var TempRevertTransactionNo: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary, var MaintenanceLedgEntry: Record "Maintenance Ledger Entry")

Parameters

Name Type Description
TempRevertTransactionNo Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
MaintenanceLedgEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"

OnAfterInsertReversalEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertReversalEntry(var TempRevertTransactionNo: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary)

Parameters

Name Type Description
TempRevertTransactionNo Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"

OnAfterInsertFromVATEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertFromVATEntry(var TempRevertTransactionNo: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary, var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
TempRevertTransactionNo Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnAfterInsertFromVendLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterInsertFromVendLedgEntry(var TempRevertTransactionNo: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary, var VendLedgEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
TempRevertTransactionNo Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnAfterReverseEntries

[IntegrationEvent(False,False)]
local procedure OnAfterReverseEntries(Number: Integer, RevType: Integer, HideDialog: Boolean)

Parameters

Name Type Description
Number Integer
RevType Integer
HideDialog Boolean

OnAfterSetReverseFilter

[IntegrationEvent(False,False)]
local procedure OnAfterSetReverseFilter(Number: Integer, RevType: Option, GLRegister: Record "G/L Register", var ReversalEntry: Record "Reversal Entry")

Parameters

Name Type Description
Number Integer
RevType Option
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"

OnBeforeCheckEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckEntries(ReversalEntry: Record "Reversal Entry", TableID: Integer, var SkipCheck: Boolean)

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
TableID Integer
SkipCheck Boolean

OnBeforeCheckEmpl

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckEmpl(var EmployeeLedgerEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

OnBeforeCheckFA

[IntegrationEvent(True,False)]
local procedure OnBeforeCheckFA(var FALedgerEntry: Record "FA Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
IsHandled Boolean

OnBeforeCheckFAPostingDate

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckFAPostingDate(FAPostingDate: Date, Caption: Text[50], EntryNo: Integer, var IsHandled: Boolean, var ReversalEntry: Record "Reversal Entry", var MaxPostingDate: Date, var AllowPostingFrom: Date, var AllowPostingto: Date, var xReversalEntry: Record "Reversal Entry")

Parameters

Name Type Description
FAPostingDate Date
Caption Text[50]
EntryNo Integer
IsHandled Boolean
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
MaxPostingDate Date
AllowPostingFrom Date
AllowPostingto Date
xReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"

OnBeforeCheckMaintenance

[IntegrationEvent(True,False)]
local procedure OnBeforeCheckMaintenance(var MaintenanceLedgerEntry: Record "Maintenance Ledger Entry")

Parameters

Name Type Description
MaintenanceLedgerEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"

OnBeforeCheckGLAcc

[IntegrationEvent(True,False)]
local procedure OnBeforeCheckGLAcc(var GLEntry: Record "G/L Entry")

Parameters

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

OnBeforeCheckGLEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckGLEntry(var ReversalEntry: Record "Reversal Entry", GLEntry: Record "G/L Entry", var IsHandled: Boolean)

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
IsHandled Boolean

OnBeforeCheckRegister

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckRegister(RegisterNo: Integer, var IsHandled: Boolean, var ReversalEntry: Record "Reversal Entry")

Parameters

Name Type Description
RegisterNo Integer
IsHandled Boolean
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"

OnBeforeInsertReversalEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertReversalEntry(var ReversalEntry: Record "Reversal Entry", Number: Integer, RevType: Option, var IsHandled: Boolean)

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
Number Integer
RevType Option
IsHandled Boolean

OnBeforeReverseEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeReverseEntries(Number: Integer, RevType: Integer, var IsHandled: Boolean, HideDialog: Boolean, var ReversalEntry: Record "Reversal Entry", var HideWarningDialogs: Boolean)

Parameters

Name Type Description
Number Integer
RevType Integer
IsHandled Boolean
HideDialog Boolean
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
HideWarningDialogs Boolean

OnInsertFromCustLedgEntryOnBeforeTempReversalEntryInsert

[IntegrationEvent(False,False)]
local procedure OnInsertFromCustLedgEntryOnBeforeTempReversalEntryInsert(var TempReversalEntry: Record "Reversal Entry" temporary, CustLedgEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnInsertFromGLEntryOnBeforeClearTempReversalEntry

[IntegrationEvent(False,False)]
local procedure OnInsertFromGLEntryOnBeforeClearTempReversalEntry(GLEntry: Record "G/L Entry")

Parameters

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

OnInsertFromGLEntryOnBeforeTempReversalEntryInsert

[IntegrationEvent(False,False)]
local procedure OnInsertFromGLEntryOnBeforeTempReversalEntryInsert(var TempReversalEntry: Record "Reversal Entry" temporary, GLEntry: Record "G/L Entry", RevType: Option, var TempRevertTransactionNoRecordInteger: Record Integer temporary, ReversalEntry: Record "Reversal Entry")

Parameters

Name Type Description
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
RevType Option
TempRevertTransactionNoRecordInteger Table System.Utilities.Integer
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"

OnInsertFromVendLedgEntryOnBeforeTempReversalEntryInsert

[IntegrationEvent(False,False)]
local procedure OnInsertFromVendLedgEntryOnBeforeTempReversalEntryInsert(var TempReversalEntry: Record "Reversal Entry" temporary, VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnBeforeCaption

[IntegrationEvent(False,False)]
local procedure OnBeforeCaption(ReversalEntry: Record "Reversal Entry", var Result: Text, var IsHandled: Boolean)

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
Result Text
IsHandled Boolean

OnBeforeCheckVAT

[IntegrationEvent(True,False)]
local procedure OnBeforeCheckVAT(var VATEntry: Record "VAT Entry", var IsHandled: Boolean)

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
IsHandled Boolean

OnBeforeCheckBankAcc

[IntegrationEvent(True,False)]
local procedure OnBeforeCheckBankAcc(var BankAccLedgEntry: Record "Bank Account Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
BankAccLedgEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
IsHandled Boolean

OnBeforeCheckVend

[IntegrationEvent(True,False)]
local procedure OnBeforeCheckVend(var VendLedgEntry: Record "Vendor Ledger Entry")

Parameters

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

OnBeforeCheckCust

[IntegrationEvent(True,False)]
local procedure OnBeforeCheckCust(var CustLedgEntry: Record "Cust. Ledger Entry")

Parameters

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

OnCheckGLAccOnBeforeTestFields

[IntegrationEvent(False,False)]
local procedure OnCheckGLAccOnBeforeTestFields(GLAcc: Record "G/L Account", GLEntry: Record "G/L Entry", var IsHandled: Boolean)

Parameters

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

OnBeforeCheckPostingDate

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckPostingDate(PostingDate: Date, Caption: Text[50], EntryNo: Integer, var IsHandled: Boolean, var ReversalEntry: Record "Reversal Entry", var MaxPostingDate: Date)

Parameters

Name Type Description
PostingDate Date
Caption Text[50]
EntryNo Integer
IsHandled Boolean
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
MaxPostingDate Date

OnBeforeCheckDtldCustLedgEntry

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

Parameters

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

OnBeforeCCheckDtldVendLedgEntry

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

Parameters

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

OnInsertFromVendLedgEntryOnBeforeCheckSameTransaction

[IntegrationEvent(False,False)]
local procedure OnInsertFromVendLedgEntryOnBeforeCheckSameTransaction(VendLedgEntry: Record "Vendor Ledger Entry", var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var IsHandled: Boolean)

Parameters

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

OnInsertFromCustLedgEntryOnBeforeCheckSameTransaction

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

Parameters

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

OnReverseEntriesOnAfterInsertReversalEntry

[IntegrationEvent(False,False)]
local procedure OnReverseEntriesOnAfterInsertReversalEntry(var TempReversalEntry: Record "Reversal Entry" temporary, Number: Integer, RevType: Option)

Parameters

Name Type Description
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
Number Integer
RevType Option

OnBeforeSetReverseFilter

[IntegrationEvent(False,False)]
local procedure OnBeforeSetReverseFilter(Number: Integer, RevType: Option, var GLEntry: Record "G/L Entry", var CustLedgerEntry: Record "Cust. Ledger Entry", var VendLedgerEntry: Record "Vendor Ledger Entry", var EmployeeLedgerEntry: Record "Employee Ledger Entry", var BankAccountLedgerEntry: Record "Bank Account Ledger Entry", var VATEntry: Record "VAT Entry", var FALedgerEntry: Record "FA Ledger Entry", var MaintenanceLedgerEntry: Record "Maintenance Ledger Entry", var GLRegister: Record "G/L Register", var ReversalEntry: Record "Reversal Entry", var IsHandled: Boolean)

Parameters

Name Type Description
Number Integer
RevType Option
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
VendLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
MaintenanceLedgerEntry Table Microsoft.FixedAssets.Maintenance."Maintenance Ledger Entry"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
IsHandled Boolean

OnInsertFromBankAccLedgEntryOnStartRepeatBankAccLedgEntry

[IntegrationEvent(False,False)]
local procedure OnInsertFromBankAccLedgEntryOnStartRepeatBankAccLedgEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry")

Parameters

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

OnBeforeInsertFromFALedgEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertFromFALedgEntry(var TempRevertTransactionNoRecordInteger: Record Integer, Number: Integer, RevType: Option, var NextLineNo: Integer, var TempReversalEntry: Record "Reversal Entry" temporary, var FALedgerEntry: Record "FA Ledger Entry", var IsHandled: Boolean)

Parameters

Name Type Description
TempRevertTransactionNoRecordInteger Table System.Utilities.Integer
Number Integer
RevType Option
NextLineNo Integer
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
IsHandled Boolean

OnInsertFromVATEntryOnAfterVATEntrySetRange

[IntegrationEvent(False,False)]
local procedure OnInsertFromVATEntryOnAfterVATEntrySetRange(var VATEntry: Record "VAT Entry", RevType: Option, var TempRevertTransactionNoRecordInteger: Record Integer temporary)

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
RevType Option
TempRevertTransactionNoRecordInteger Table System.Utilities.Integer

OnInsertFromVATEntryOnStartRepeatVATEntry

[IntegrationEvent(False,False)]
local procedure OnInsertFromVATEntryOnStartRepeatVATEntry(var VATEntry: Record "VAT Entry")

Parameters

Name Type Description
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"

OnInsertFromVATEntryOnBeforeTempReversalEntryInsert

[IntegrationEvent(False,False)]
local procedure OnInsertFromVATEntryOnBeforeTempReversalEntryInsert(var TempReversalEntry: Record "Reversal Entry" temporary, RevType: Option, var TempRevertTransactionNo: Record Integer temporary)

Parameters

Name Type Description
TempReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
RevType Option
TempRevertTransactionNo Table System.Utilities.Integer

OnInsertFromGLEntryOnAfterGLEntrySetRange

[IntegrationEvent(False,False)]
local procedure OnInsertFromGLEntryOnAfterGLEntrySetRange(var GLEntry: Record "G/L Entry", RevType: Option, var TempRevertTransactionNoRecordInteger: Record Integer temporary)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
RevType Option
TempRevertTransactionNoRecordInteger Table System.Utilities.Integer

OnBeforeInsertCustTempRevertTransNo

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertCustTempRevertTransNo(var TempRevertTransactionNoRecordInteger: Record Integer temporary, CustLedgEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TempRevertTransactionNoRecordInteger Table System.Utilities.Integer
CustLedgEntryNo Integer
IsHandled Boolean

OnBeforeInsertVendTempRevertTransNo

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertVendTempRevertTransNo(var TempRevertTransactionNoRecordInteger: Record Integer temporary, VendLedgEntryNo: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TempRevertTransactionNoRecordInteger Table System.Utilities.Integer
VendLedgEntryNo Integer
IsHandled Boolean

OnBeforeVerifyReversalEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyReversalEntries(var ReversalEntry2: Record "Reversal Entry", Number: Integer, RevType: Option, var IsHandled: Boolean, var Result: Boolean)

Parameters

Name Type Description
ReversalEntry2 Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
Number Integer
RevType Option
IsHandled Boolean
Result Boolean

See also