Codeunit "Gen. Jnl.-Post Reverse"

ID 17
Namespace: Microsoft.Finance.GeneralLedger.Reversal

Properties

Name Value
Permissions TableData "G/L Entry" = rm, TableData "Cust. Ledger Entry" = rimd, TableData "Vendor Ledger Entry" = rimd, TableData "G/L Register" = rm, TableData "G/L Entry - VAT Entry Link" = rimd, TableData "VAT Entry" = rimd, TableData "Bank Account Ledger Entry" = rimd, TableData "Check Ledger Entry" = rimd, TableData "Detailed Cust. Ledg. Entry" = rimd, TableData "Detailed Vendor Ledg. Entry" = rimd, TableData "Employee Ledger Entry" = rimd, TableData "Detailed Employee Ledger Entry" = ri
TableNo Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

Methods

Reverse

procedure Reverse(var ReversalEntry: Record "Reversal Entry", var ReversalEntry2: Record "Reversal Entry")

Parameters

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

ReverseBankAccLedgEntry

procedure ReverseBankAccLedgEntry(BankAccountLedgerEntry: Record "Bank Account Ledger Entry", NewEntryNo: Integer, SourceCode: Code[10])

Parameters

Name Type Description
BankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
NewEntryNo Integer
SourceCode Code[10]

ReverseVAT

procedure ReverseVAT(GLEntry: Record "G/L Entry", SourceCode: Code[10])

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
SourceCode Code[10]

CheckDimComb

procedure CheckDimComb(EntryNo: Integer, DimSetID: Integer, TableID1: Integer, AccNo1: Code[20], TableID2: Integer, AccNo2: Code[20])

Parameters

Name Type Description
EntryNo Integer
DimSetID Integer
TableID1 Integer
AccNo1 Code[20]
TableID2 Integer
AccNo2 Code[20]

SetReversalDescription

procedure SetReversalDescription(RecVariant: Variant, var Description: Text[100])

Parameters

Name Type Description
RecVariant Variant
Description Text[100]

Events

OnAfterFilterReversalEntry

[IntegrationEvent(False,False)]
local procedure OnAfterFilterReversalEntry(var ReversalEntry: Record "Reversal Entry", RecVar: Variant)

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
RecVar Variant

OnReverseOnAfterStartPosting

[IntegrationEvent(True,False)]
local procedure OnReverseOnAfterStartPosting(var GenJournalLine: Record "Gen. Journal Line", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line", var GLRegister: Record "G/L Register", var GLRegister2: Record "G/L Register")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
GLRegister2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnAfterReverse

[IntegrationEvent(False,False)]
local procedure OnAfterReverse(GLRegister: Record "G/L Register", var GLRegister2: Record "G/L Register")

Parameters

Name Type Description
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
GLRegister2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnAfterReverseGLEntry

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

Parameters

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

OnBeforeReverse

[IntegrationEvent(False,False)]
local procedure OnBeforeReverse(var ReversalEntry: Record "Reversal Entry", var ReversalEntry2: Record "Reversal Entry", var IsHandled: Boolean)

Parameters

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

OnBeforeCheckDimComb

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDimComb(EntryNo: Integer, DimSetID: Integer, TableID1: Integer, AccNo1: Code[20], TableID2: Integer, AccNo2: Code[20], var IsHandled: Boolean, var DimensionManagement: Codeunit DimensionManagement)

Parameters

Name Type Description
EntryNo Integer
DimSetID Integer
TableID1 Integer
AccNo1 Code[20]
TableID2 Integer
AccNo2 Code[20]
IsHandled Boolean
DimensionManagement Codeunit Microsoft.Finance.Dimension.DimensionManagement

OnReverseGLEntryOnAfterInsertGLEntry

[IntegrationEvent(False,False)]
local procedure OnReverseGLEntryOnAfterInsertGLEntry(var GLEntry: Record "G/L Entry", GenJnlLine: Record "Gen. Journal Line", GLEntry2: Record "G/L Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseGLEntryOnBeforeInsertGLEntry

[IntegrationEvent(False,False)]
local procedure OnReverseGLEntryOnBeforeInsertGLEntry(var GLEntry: Record "G/L Entry", GenJnlLine: Record "Gen. Journal Line", GLEntry2: Record "G/L Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseGLEntryOnBeforeLoop

[IntegrationEvent(False,False)]
local procedure OnReverseGLEntryOnBeforeLoop(var GLEntry: Record "G/L Entry", var GenJournalLine: Record "Gen. Journal Line", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseGLEntryOnCaseElse

[IntegrationEvent(False,False)]
local procedure OnReverseGLEntryOnCaseElse(GLEntry2: Record "G/L Entry", GLEntry: Record "G/L Entry", GenJournalLine: Record "Gen. Journal Line", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line", var TempBankAccountLedgerEntry: Record "Bank Account Ledger Entry" temporary)

Parameters

Name Type Description
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"
TempBankAccountLedgerEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"

OnReverseCustLedgEntryOnAfterDtldCustLedgEntrySetFilters

[IntegrationEvent(False,False)]
local procedure OnReverseCustLedgEntryOnAfterDtldCustLedgEntrySetFilters(var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", NextDtldCustLedgEntryEntryNo: Integer)

Parameters

Name Type Description
DtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
NextDtldCustLedgEntryEntryNo Integer

OnReverseCustLedgEntryOnAfterInsertCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnReverseCustLedgEntryOnAfterInsertCustLedgEntry(var NewCustLedgerEntry: Record "Cust. Ledger Entry", CustLedgerEntry: Record "Cust. Ledger Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
NewCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseCustLedgEntryOnBeforeInsertCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnReverseCustLedgEntryOnBeforeInsertCustLedgEntry(var NewCustLedgerEntry: Record "Cust. Ledger Entry", CustLedgerEntry: Record "Cust. Ledger Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
NewCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseVATOnBeforeVATEntryModify

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

Parameters

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

OnReverseVATOnBeforeReversedVATEntryModify

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

Parameters

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

OnReverseVendLedgEntryOnAfterDtldVendLedgEntrySetFilters

[IntegrationEvent(False,False)]
local procedure OnReverseVendLedgEntryOnAfterDtldVendLedgEntrySetFilters(var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", NextDtldVendLedgEntryEntryNo: Integer)

Parameters

Name Type Description
DtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
NextDtldVendLedgEntryEntryNo Integer

OnReverseVendLedgEntryOnBeforeInsertVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnReverseVendLedgEntryOnBeforeInsertVendLedgEntry(var NewVendLedgEntry: Record "Vendor Ledger Entry", VendLedgEntry: Record "Vendor Ledger Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
NewVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseVendLedgEntryOnAfterInsertVendLedgEntry

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

Parameters

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

OnReverseEmplLedgEntryOnBeforeInsertEmplLedgEntry

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

Parameters

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

OnReverseBankAccLedgEntryOnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnReverseBankAccLedgEntryOnBeforeInsert(var NewBankAccLedgEntry: Record "Bank Account Ledger Entry", BankAccLedgEntry: Record "Bank Account Ledger Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
NewBankAccLedgEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
BankAccLedgEntry Table Microsoft.Bank.Ledger."Bank Account Ledger Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseCustLedgEntryOnBeforeInsertDtldCustLedgEntry

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

Parameters

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

OnReverseVendLedgEntryOnBeforeInsertDtldVendLedgEntry

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

Parameters

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

OnReverseEmplLedgEntryOnBeforeInsertDtldEmplLedgEntry

[IntegrationEvent(False,False)]
local procedure OnReverseEmplLedgEntryOnBeforeInsertDtldEmplLedgEntry(var NewDetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")

Parameters

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

OnReverseVATEntryOnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnReverseVATEntryOnBeforeInsert(var NewVATEntry: Record "VAT Entry", VATEntry: Record "VAT Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
NewVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseOnBeforeFinishPosting

[IntegrationEvent(False,False)]
local procedure OnReverseOnBeforeFinishPosting(var ReversalEntry: Record "Reversal Entry", var ReversalEntry2: Record "Reversal Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line", var GLRegister: Record "G/L Register")

Parameters

Name Type Description
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
ReversalEntry2 Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnReverseOnBeforeStartPosting

[IntegrationEvent(False,False)]
local procedure OnReverseOnBeforeStartPosting(var GenJournalLine: Record "Gen. Journal Line", var ReversalEntry: Record "Reversal Entry", var GLEntry: Record "G/L Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
ReversalEntry Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseOnBeforeReverseGLEntry

[IntegrationEvent(False,False)]
local procedure OnReverseOnBeforeReverseGLEntry(var ReversalEntry2: Record "Reversal Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line", var GenJournalLine: Record "Gen. Journal Line", TempRevertTransactionNo: Record Integer, var GLEntry2: Record "G/L Entry", GLRegister: Record "G/L Register")

Parameters

Name Type Description
ReversalEntry2 Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempRevertTransactionNo Table System.Utilities.Integer
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnApplyCustLedgEntryByReversalOnBeforeInsertDtldCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryByReversalOnBeforeInsertDtldCustLedgEntry(var NewDtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var IsHandled: Boolean, var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line", var NextDtldCustLedgEntryEntryNo: Integer)

Parameters

Name Type Description
NewDtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
DtldCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
IsHandled Boolean
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"
NextDtldCustLedgEntryEntryNo Integer

OnApplyCustLedgEntryByReversalOnAfterCustLedgEntryModify

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

Parameters

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

OnApplyVendLedgEntryByReversalOnBeforeInsertDtldVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryByReversalOnBeforeInsertDtldVendLedgEntry(var NewDtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry", var IsHandled: Boolean, var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line", var NextDtldVendLedgEntryEntryNo: Integer)

Parameters

Name Type Description
NewDtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
DtldVendLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
IsHandled Boolean
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"
NextDtldVendLedgEntryEntryNo Integer

OnApplyVendLedgEntryByReversalOnAfterVendLedgEntryModify

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

Parameters

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

OnApplyEmplLedgEntryByReversalOnBeforeInsertDtldEmplLedgEntry

[IntegrationEvent(False,False)]
local procedure OnApplyEmplLedgEntryByReversalOnBeforeInsertDtldEmplLedgEntry(var NewDetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry", DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry")

Parameters

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

OnReverseOnAfterFinishPosting

[IntegrationEvent(False,False)]
local procedure OnReverseOnAfterFinishPosting(var ReversalEntry2: Record "Reversal Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line", var GLRegister: Record "G/L Register", GLRegister2: Record "G/L Register")

Parameters

Name Type Description
ReversalEntry2 Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"
GLRegister Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"
GLRegister2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Register"

OnReverseOnBeforeCheckFAReverseEntry

[IntegrationEvent(False,False)]
local procedure OnReverseOnBeforeCheckFAReverseEntry(var FALedgerEntry: Record "FA Ledger Entry", var FAInsertLedgerEntry: Codeunit "FA Insert Ledger Entry", var ReversalEntry2: Record "Reversal Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line", var IsHandled: Boolean)

Parameters

Name Type Description
FALedgerEntry Table Microsoft.FixedAssets.Ledger."FA Ledger Entry"
FAInsertLedgerEntry Codeunit Microsoft.FixedAssets.Ledger."FA Insert Ledger Entry"
ReversalEntry2 Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"
IsHandled Boolean

OnReverseVendLedgEntryOnAfterInsertDtldVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnReverseVendLedgEntryOnAfterInsertDtldVendLedgEntry(var NewDetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry")

Parameters

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

OnReverseOnBeforeGetTransactionKey

[IntegrationEvent(False,False)]
local procedure OnReverseOnBeforeGetTransactionKey(var ReversalEntry2: Record "Reversal Entry", var TempIntegerAsRevertTransactionNo: Record Integer temporary)

Parameters

Name Type Description
ReversalEntry2 Table Microsoft.Finance.GeneralLedger.Reversal."Reversal Entry"
TempIntegerAsRevertTransactionNo Table System.Utilities.Integer

OnReverseGLEntryOnAfterReverseVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnReverseGLEntryOnAfterReverseVendLedgEntry(var TempVendorLedgerEntry: Record "Vendor Ledger Entry" temporary, var GLEntry: Record "G/L Entry", GLEntry2: Record "G/L Entry")

Parameters

Name Type Description
TempVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnReverseOnBeforeUpdateAnalysisView

[IntegrationEvent(False,False)]
local procedure OnReverseOnBeforeUpdateAnalysisView(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnReverseGLEntryOnAfterReverseVAT

[IntegrationEvent(False,False)]
local procedure OnReverseGLEntryOnAfterReverseVAT(GLEntry2: Record "G/L Entry", GLEntry: Record "G/L Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseGLEntryOnAfterReverseCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnReverseGLEntryOnAfterReverseCustLedgEntry(var TempCustLedgerEntry: Record "Cust. Ledger Entry" temporary, var GLEntry: Record "G/L Entry", GLEntry2: Record "G/L Entry")

Parameters

Name Type Description
TempCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
GLEntry2 Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"

OnReverseCustLedgEntryOnAfterInsertDtldCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnReverseCustLedgEntryOnAfterInsertDtldCustLedgEntry(var NewDetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")

Parameters

Name Type Description
NewDetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"

OnApplyCustLedgEntryByReversalOnAfterInsertDtldCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnApplyCustLedgEntryByReversalOnAfterInsertDtldCustLedgEntry(var NewDetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", CustLedgerEntry2: Record "Cust. Ledger Entry")

Parameters

Name Type Description
NewDetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
CustLedgerEntry2 Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnAfterCheckDimComb

[IntegrationEvent(False,False)]
local procedure OnAfterCheckDimComb(var DimensionManagement: Codeunit DimensionManagement)

Parameters

Name Type Description
DimensionManagement Codeunit Microsoft.Finance.Dimension.DimensionManagement

OnBeforeSaveReversalEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeSaveReversalEntries(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnBeforeDeleteReversalEntries

[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteReversalEntries(var IsHandled: Boolean)

Parameters

Name Type Description
IsHandled Boolean

OnApplyVendLedgEntryByReversalOnAfterInsertDtldVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnApplyVendLedgEntryByReversalOnAfterInsertDtldVendLedgEntry(var NewDetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry", VendorLedgerEntry2: Record "Vendor Ledger Entry")

Parameters

Name Type Description
NewDetailedVendorLedgEntry Table Microsoft.Purchases.Payables."Detailed Vendor Ledg. Entry"
VendorLedgerEntry2 Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnReverseVATEntryOnAfterInsert

[IntegrationEvent(False,False)]
local procedure OnReverseVATEntryOnAfterInsert(var NewVATEntry: Record "VAT Entry", VATEntry: Record "VAT Entry", var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")

Parameters

Name Type Description
NewVATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
VATEntry Table Microsoft.Finance.VAT.Ledger."VAT Entry"
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"

OnReverseCustLedgEntryOnBeforeFindLastDetailedCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnReverseCustLedgEntryOnBeforeFindLastDetailedCustLedgEntry(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")

Parameters

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

OnReverseCustLedgEntryOnAfterAssignNextDtldCustLedgEntryEntryNo

[IntegrationEvent(False,False)]
local procedure OnReverseCustLedgEntryOnAfterAssignNextDtldCustLedgEntryEntryNo(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry", var NextDtldCustLedgEntryEntryNo: Integer)

Parameters

Name Type Description
DetailedCustLedgEntry Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
NextDtldCustLedgEntryEntryNo Integer

OnReverseGLEntryOnBeforeTempCustLedgEntryCheckDimComb

[IntegrationEvent(False,False)]
local procedure OnReverseGLEntryOnBeforeTempCustLedgEntryCheckDimComb(var GLEntry: Record "G/L Entry", var TempCustLedgerEntry: Record "Cust. Ledger Entry" temporary)

Parameters

Name Type Description
GLEntry Table Microsoft.Finance.GeneralLedger.Ledger."G/L Entry"
TempCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnBeforeApplyCustLedgEntryByReversal

[IntegrationEvent(False,False)]
local procedure OnBeforeApplyCustLedgEntryByReversal(CustLedgerEntry: Record "Cust. Ledger Entry", CustLedgerEntry2: Record "Cust. Ledger Entry", DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry", AppliedEntryNo: Integer, var NextDtldCustLedgEntryEntryNo: Integer, var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line", var IsHandled: Boolean)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry2 Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
DetailedCustLedgEntry2 Table Microsoft.Sales.Receivables."Detailed Cust. Ledg. Entry"
AppliedEntryNo Integer
NextDtldCustLedgEntryEntryNo Integer
GenJnlPostLine Codeunit Microsoft.Finance.GeneralLedger.Posting."Gen. Jnl.-Post Line"
IsHandled Boolean

OnReverseCustLedgEntryOnBeforeModifyCustLedgerEntry

[IntegrationEvent(False,False)]
local procedure OnReverseCustLedgEntryOnBeforeModifyCustLedgerEntry(NewCustLedgerEntry: Record "Cust. Ledger Entry", var CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

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

See also