Table 179 "Reversal Entry"
Base Application · Microsoft.Finance.GeneralLedger.Reversal
Across versions
- BC23present
- BC249 events changed, 2 fields added
- BC25unchanged
- BC261 fields changed, 1 fields added
- BC271 procedures removed
- BC286 fields changed
- BC2922 fields changed, 1 events added
- BC30unchanged
Neighbourhood 21 connected objects and pages
Base Application · Microsoft.Finance.GeneralLedger.Reversal · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Reversal Entry |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Line No. | Integer | — | |
| 2 | Entry Type | Enum “Reversal Entry Type” | — | enum Enum 180 “Reversal Entry Type” |
| 3 | Entry No. Δ BC29 | Integer | Specifies the entry number of the original ledger entry that is being reversed. | TableRelation Table 17 “G/L Entry”, Table 21 “Cust. Ledger Entry”, Table 25 “Vendor Ledger Entry” (if (“Entry Type” = const(“G/L Account”)) “G/L Entry” else if (“Entry Type” = const(Customer)) “Cust. Ledger Entry” else if (“Entry Type” = const(Vendor)) “Vendor Ledger Entry” else if (“Entry Type” = const(“Bank Account”)) “Bank Account Ledger Entry” else if (“Entry Type” = const(“Fixed Asset”)) “FA…) |
| 4 | G/L Register No. Δ BC29 | Integer | Specifies the number of the general ledger register, where the general ledger entry in this record was posted. | TableRelation Table 45 “G/L Register” (G/L Register) |
| 5 | Source Code Δ BC29 | Code[10] | Specifies the source code that specifies where the entry was created. | TableRelation Table 230 “Source Code” (Source Code) |
| 6 | Journal Batch Name Δ BC29 | Code[10] | Specifies the name of the journal batch, a personalized journal layout, that the entries were posted from. | |
| 7 | Transaction No. Δ BC29 | Integer | Specifies the number of the transaction that was reversed. | |
| 8 | Source Type Δ BC29 | Enum “Gen. Journal Source Type” | Specifies the source type that applies to the source number that is shown in the Source No. field. | enum Enum 82 “Gen. Journal Source Type” |
| 9 | Source No. Δ BC29 | Code[20] | Specifies where the entry originated. | TableRelation Table 18 “Customer”, Table 23 “Vendor”, Table 270 “Bank Account” (if (“Source Type” = const(Customer)) Customer else if (“Source Type” = const(Vendor)) Vendor else if (“Source Type” = const(“Bank Account”)) “Bank Account” else if (“Source Type” = const(“Fixed Asset”)) “Fixed Asset” else if (“Source Type” = const(Employee)) Employee) |
| 10 | Currency Code Δ BC29 | Code[10] | Specifies the currency code for the amount on the line. | TableRelation Table 4 “Currency” |
| 11 | Description Δ BC29 | Text[100] | Specifies a description of the record. | |
| 12 | Amount Δ BC29 | Decimal | Specifies the amount on the entry to be reversed. | |
| 13 | Debit Amount Δ BC29 | Decimal | Specifies the total of the ledger entries that represent debits. | |
| 14 | Credit Amount Δ BC29 | Decimal | Specifies the total of the ledger entries that represent credits. | |
| 15 | Amount (LCY) Δ BC28 | Decimal | Specifies the amount of the entry in LCY. via Page 183 “Reverse Transaction Entries” | |
| 16 | Debit Amount (LCY) Δ BC28 | Decimal | Specifies the total of the ledger entries that represent debits, expressed in LCY. via Page 183 “Reverse Transaction Entries” | |
| 17 | Credit Amount (LCY) Δ BC28 | Decimal | Specifies the total of the ledger entries that represent credits, expressed in LCY. via Page 183 “Reverse Transaction Entries” | |
| 18 | VAT Amount Δ BC28 Δ BC29 | Decimal | Specifies the amount of VAT that is included in the total amount. | |
| 19 | Posting Date Δ BC29 | Date | Specifies the posting date for the entry. | |
| 20 | Document Type Δ BC29 | Enum “Gen. Journal Document Type” | Specifies the document type that the entry belongs to. | enum Enum 6 “Gen. Journal Document Type” |
| 21 | Document No. Δ BC29 | Code[20] | Specifies the document number of the transaction that created the entry. | |
| 22 | Account No. Δ BC29 | Code[20] | Specifies the account number that the reversal was posted to. | |
| 23 | Account Name Δ BC29 | Text[100] | Specifies erroneous postings that you want to undo by using the Reverse function. | |
| 25 | Bal. Account Type Δ BC29 | Enum “Gen. Journal Account Type” | Specifies the type of account that a balancing entry is posted to, such as BANK for a cash account. | enum Enum 81 “Gen. Journal Account Type” |
| 26 | Bal. Account No. Δ BC29 | Code[20] | Specifies the number of the general ledger, customer, vendor, or bank account that the balancing entry is posted to, such as a cash account for cash purchases. | TableRelation Table 15 “G/L Account”, Table 18 “Customer”, Table 23 “Vendor” (if (“Bal. Account Type” = const(“G/L Account”)) “G/L Account” else if (“Bal. Account Type” = const(Customer)) Customer else if (“Bal. Account Type” = const(Vendor)) Vendor else if (“Bal. Account Type” = const(“Bank Account”)) “Bank Account” else if (“Bal. Account Type” = const(“Fixed Asset”)) “Fixed…) |
| 27 | FA Posting Category Δ BC26 Δ BC29 | Enum “FA Ledger Posting Category” | Specifies the posting category that is used for fixed assets. | enum Enum 5631 “FA Ledger Posting Category” |
| 28 | FA Posting Type Δ BC29 | Enum “Reversal Entry FA Posting Type” | Specifies the posting type, if Account Type field contains Fixed Asset. | enum Enum 5604 “Reversal Entry FA Posting Type” |
| 30 | Reversal Type | Option | — | OptionCaption: Transaction,Register |
| 31 | Source Currency Amount + BC24 Δ BC28 | Decimal | — | |
| 32 | Source Currency VAT Amount + BC24 Δ BC28 | Decimal | — | |
| 33 | Source Currency Code + BC26 | Code[10] | — | TableRelation Table 4 “Currency” |
Keys
- Key1: Line No. (clustered)
- Key2: Entry Type
- Key3: Document No., Posting Date, Entry Type, Entry No.
- Key4: Entry Type, Entry No.
- Key5: Transaction No.
Events published
OnAfterCaption(ReversalEntry: Record "Reversal Entry"; var NewCaption: Text)(integration): Integration event raised after calculating the caption for a reversal entry, allowing customization of the display text.OnAfterCheckEntries(var MaxPostingDate: Date; var ReversalEntry: Record "Reversal Entry")(integration): Integration event raised after completing entry validation checks, allowing custom validation logic.OnAfterCheckBankAcc(BankAccount: Record "Bank Account"; BankAccountLedgerEntry: Record "Bank Account Ledger Entry")(integration): Integration event raised after validating bank account ledger entries for reversal eligibility.OnAfterCheckGLAcc(var GLAccount: Record "G/L Account"; GLEntry: Record "G/L Entry")(integration): Integration event raised after validating G/L account settings for reversal operations.OnAfterCheckCust(Customer: Record Customer; CustLedgerEntry: Record "Cust. Ledger Entry")(integration): Integration event raised after validating customer ledger entries for reversal eligibility.OnAfterCheckVend(Vendor: Record Vendor; VendorLedgerEntry: Record "Vendor Ledger Entry")(integration): Integration event raised after validating vendor ledger entries for reversal eligibility.OnAfterCheckEmpl(Employee: Record Employee; EmployeeLedgerEntry: Record "Employee Ledger Entry")(integration): Integration event raised after validating employee ledger entries for reversal eligibility.OnAfterCheckFA(FixedAsset: Record "Fixed Asset"; FALedgerEntry: Record "FA Ledger Entry")(integration): Integration event raised after validating fixed asset ledger entries for reversal eligibility.OnAfterCheckMaintenance(FixedAsset: Record "Fixed Asset"; MaintenanceLedgerEntry: Record "Maintenance Ledger Entry")(integration): Integration event raised after validating maintenance ledger entries for reversal eligibility.OnAfterCheckVAT(var VATEntry: Record "VAT Entry")(integration): Integration event raised after validating VAT entries for reversal eligibility.OnAfterCheckDtldCustLedgEntry(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; CustLedgerEntry: Record "Cust. Ledger Entry")(integration): Integration event raised after validating detailed customer ledger entries for reversal consistency.OnAfterCheckDtldVendLedgEntry(DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry")(integration): Integration event raised after validating detailed vendor ledger entries for reversal consistency.OnAfterCheckDtldEmplLedgEntry(DetailedEmployeeLedgerEntry: Record "Detailed Employee Ledger Entry"; EmployeeLedgerEntry: Record "Employee Ledger Entry")(integration): Integration event raised after validating detailed employee ledger entries for reversal consistency.OnAfterCopyFromBankAccLedgEntry(var ReversalEntry: Record "Reversal Entry"; BankAccLedgEntry: Record "Bank Account Ledger Entry")(integration): Integration event raised after copying field values from a bank account ledger entry to a reversal entry.OnAfterCopyFromCustLedgEntry(var ReversalEntry: Record "Reversal Entry"; CustLedgerEntry: Record "Cust. Ledger Entry")(integration): Integration event raised after copying field values from a customer ledger entry to a reversal entry.OnAfterCopyFromFALedgEntry(var ReversalEntry: Record "Reversal Entry"; FALedgerEntry: Record "FA Ledger Entry")(integration): Integration event raised after copying field values from a fixed asset ledger entry to a reversal entry.OnAfterCopyFromGLEntry(var ReversalEntry: Record "Reversal Entry"; GLEntry: Record "G/L Entry")(integration): Integration event raised after copying field values from a G/L entry to a reversal entry.OnAfterCopyFromMaintenanceEntry(var ReversalEntry: Record "Reversal Entry"; MaintenanceLedgerEntry: Record "Maintenance Ledger Entry")(integration): Integration event raised after copying field values from a maintenance ledger entry to a reversal entry.OnAfterCopyFromVATEntry(var ReversalEntry: Record "Reversal Entry"; VATEntry: Record "VAT Entry")(integration): Integration event raised after copying field values from a VAT entry to a reversal entry.OnAfterCopyFromVendLedgEntry(var ReversalEntry: Record "Reversal Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry")(integration): Integration event raised after copying field values from a vendor ledger entry to a reversal entry.OnAfterCopyFromEmplLedgEntry(var ReversalEntry: Record "Reversal Entry"; EmployeeLedgerEntry: Record "Employee Ledger Entry")(integration): Integration event raised after copying field values from an employee ledger entry to a reversal entry.OnAfterInsertFromBankAccLedgEntry(var TempRevertTransactionNo: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary; var BankAccLedgEntry: Record "Bank Account Ledger Entry")Δ BC24 (integration): Integration event raised after inserting a reversal entry from a bank account ledger entry.OnAfterInsertFromCustLedgEntry(var TempRevertTransactionNo: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary; var CustLedgEntry: Record "Cust. Ledger Entry")Δ BC24 (integration): Integration event raised after inserting a reversal entry from a customer ledger entry.OnAfterInsertFromEmplLedgEntry(var TempRevertTransactionNo: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary; var EmplLedgEntry: Record "Employee Ledger Entry")Δ BC24 (integration): Integration event raised after inserting a reversal entry from an employee ledger entry.OnAfterInsertFromFALedgEntry(var TempRevertTransactionNo: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary; var FALedgerEntry: Record "FA Ledger Entry")Δ BC24 (integration): Integration event raised after inserting a reversal entry from a fixed asset ledger entry.OnAfterInsertFromGLEntry(var TempRevertTransactionNo: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary; var GLEntry: Record "G/L Entry")Δ BC24 (integration): Integration event raised after inserting a reversal entry from a general ledger entry.OnAfterInsertFromMaintenanceLedgEntry(var TempRevertTransactionNo: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary; var MaintenanceLedgEntry: Record "Maintenance Ledger Entry")Δ BC24 (integration): Integration event raised after inserting a reversal entry from a maintenance ledger entry.OnAfterInsertReversalEntry(var TempRevertTransactionNo: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary)Δ BC24 (integration): Integration event raised after completing the insertion of a reversal entry record.OnAfterInsertFromVATEntry(var TempRevertTransactionNo: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary; var VATEntry: Record "VAT Entry")Δ BC24 (integration): Integration event raised after inserting a reversal entry from a VAT entry.OnAfterInsertFromVendLedgEntry(var TempRevertTransactionNo: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary; var VendLedgEntry: Record "Vendor Ledger Entry")Δ BC24 (integration): Integration event raised after inserting a reversal entry from a vendor ledger entry.OnAfterReverseEntries(Number: Integer; RevType: Integer; HideDialog: Boolean)(integration): Integration event raised after completing the reversal of entries for a transaction or register.OnAfterSetReverseFilter(Number: Integer; RevType: Option Transaction,Register; GLRegister: Record "G/L Register"; var ReversalEntry: Record "Reversal Entry")(integration): Integration event raised after setting filters for reversal entries based on transaction or register.OnBeforeCheckEntries(ReversalEntry: Record "Reversal Entry"; TableID: Integer; var SkipCheck: Boolean)(integration): Integration event raised before performing entry validation checks for reversal.OnBeforeCheckEmpl(var EmployeeLedgerEntry: Record "Employee Ledger Entry")(integration): Integration event raised before validating employee ledger entries for reversal.OnBeforeCheckFA(var FALedgerEntry: Record "FA Ledger Entry"; var IsHandled: Boolean)(integration): Integration event raised before validating fixed asset ledger entries for reversal.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")(integration): Integration event raised before validating fixed asset posting date for reversal.OnBeforeCheckMaintenance(var MaintenanceLedgerEntry: Record "Maintenance Ledger Entry")(integration): Integration event raised before validating maintenance ledger entries for reversal.OnBeforeCheckGLAcc(var GLEntry: Record "G/L Entry")(integration): Integration event raised before validating G/L account settings for reversal.OnBeforeCheckGLEntry(var ReversalEntry: Record "Reversal Entry"; GLEntry: Record "G/L Entry"; var IsHandled: Boolean)(integration): Integration event raised before validating G/L entry for reversal.- subscribers: Codeunit 6908 “Expense Event Subscriber” OnBeforeCheckGLEntryReversalEntryEvent
OnBeforeCheckRegister(RegisterNo: Integer; var IsHandled: Boolean; var ReversalEntry: Record "Reversal Entry")(integration): Integration event raised before validating register entries for reversal.OnBeforeInsertReversalEntry(var ReversalEntry: Record "Reversal Entry"; Number: Integer; RevType: Option Transaction,Register; var IsHandled: Boolean)(integration): Integration event raised before inserting a new reversal entry record.OnBeforeReverseEntries(Number: Integer; RevType: Integer; var IsHandled: Boolean; HideDialog: Boolean; var ReversalEntry: Record "Reversal Entry"; var HideWarningDialogs: Boolean)+ BC24 − BC24 (integration): Integration event raised before starting the reversal process for entries.- subscribers: Codeunit 2630 “Stat. Acc. Reverse Entry” HandleOnBeforeInsertReversalEntry
OnInsertFromCustLedgEntryOnBeforeTempReversalEntryInsert(var TempReversalEntry: Record "Reversal Entry" temporary; CustLedgEntry: Record "Cust. Ledger Entry")(integration): Integration event raised before inserting temporary reversal entry from customer ledger entry.OnInsertFromGLEntryOnBeforeClearTempReversalEntry(GLEntry: Record "G/L Entry")(integration): Integration event raised before clearing temporary reversal entry in G/L entry processing.OnInsertFromGLEntryOnBeforeTempReversalEntryInsert(var TempReversalEntry: Record "Reversal Entry" temporary; GLEntry: Record "G/L Entry"; RevType: Option Transaction,Register; var TempRevertTransactionNoRecordInteger: Record "Integer" temporary; ReversalEntry: Record "Reversal Entry")(integration): Integration event raised before inserting temporary reversal entry from G/L entry.OnInsertFromVendLedgEntryOnBeforeTempReversalEntryInsert(var TempReversalEntry: Record "Reversal Entry" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry")(integration): Integration event raised before inserting temporary reversal entry from vendor ledger entry.OnBeforeCaption(ReversalEntry: Record "Reversal Entry"; var Result: Text; var IsHandled: Boolean)+ BC24 (integration): Integration event raised before generating caption text for reversal entries.OnBeforeCheckVAT(var VATEntry: Record "VAT Entry"; var IsHandled: Boolean)(integration): Integration event raised before validating VAT entries for reversal.OnBeforeCheckBankAcc(var BankAccLedgEntry: Record "Bank Account Ledger Entry"; var IsHandled: Boolean; var SkipBankAccountLedgerEntryOpenCheck: Boolean; var SkipBankAccountLedgerEntryStatementNoCheck: Boolean)+ BC29 − BC29 (integration): Integration event raised before validating bank account ledger entries for reversal.OnBeforeCheckVend(var VendLedgEntry: Record "Vendor Ledger Entry")(integration): Integration event raised before validating vendor ledger entries for reversal.OnBeforeCheckCust(var CustLedgEntry: Record "Cust. Ledger Entry")(integration): Integration event raised before validating customer ledger entries for reversal.OnCheckGLAccOnBeforeTestFields(GLAcc: Record "G/L Account"; GLEntry: Record "G/L Entry"; var IsHandled: Boolean)(integration): Integration event raised before testing G/L account fields during reversal validation.OnBeforeCheckPostingDate(PostingDate: Date; Caption: Text[50]; EntryNo: Integer; var IsHandled: Boolean; var ReversalEntry: Record "Reversal Entry"; var MaxPostingDate: Date)(integration): Integration event raised before validating posting dates for reversal entries.OnBeforeCheckDtldCustLedgEntry(CustLedgEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)(integration): Integration event raised before validating detailed customer ledger entries for reversal.OnBeforeCCheckDtldVendLedgEntry(VendLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)(integration): Integration event raised before validating detailed vendor ledger entries for reversal.OnInsertFromVendLedgEntryOnBeforeCheckSameTransaction(VendLedgEntry: Record "Vendor Ledger Entry"; var DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry"; var IsHandled: Boolean)(integration): Integration event raised before checking same transaction in vendor ledger entry processing.OnInsertFromCustLedgEntryOnBeforeCheckSameTransaction(CustLedgEntry: Record "Cust. Ledger Entry"; var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var IsHandled: Boolean)(integration): Integration event raised before checking same transaction in customer ledger entry processing.OnReverseEntriesOnAfterInsertReversalEntry(var TempReversalEntry: Record "Reversal Entry" temporary; Number: Integer; RevType: Option Transaction,Register)(integration): Integration event raised after inserting reversal entry during reverse entries processing.OnBeforeSetReverseFilter(Number: Integer; RevType: Option Transaction,Register; 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)(integration): Integration event raised before setting filters for reversal processing across all ledger entry types.OnInsertFromBankAccLedgEntryOnStartRepeatBankAccLedgEntry(var BankAccountLedgerEntry: Record "Bank Account Ledger Entry")(integration): Integration event raised at the start of bank account ledger entry processing loop.OnBeforeInsertFromFALedgEntry(var TempRevertTransactionNoRecordInteger: Record "Integer"; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer; var TempReversalEntry: Record "Reversal Entry" temporary; var FALedgerEntry: Record "FA Ledger Entry"; var IsHandled: Boolean)(integration): Integration event raised before inserting reversal entries from fixed asset ledger entries.OnInsertFromVATEntryOnAfterVATEntrySetRange(var VATEntry: Record "VAT Entry"; RevType: Option Transaction,Register; var TempRevertTransactionNoRecordInteger: Record "Integer" temporary)(integration): Integration event raised after setting VAT entry range filters during reversal processing.OnInsertFromVATEntryOnStartRepeatVATEntry(var VATEntry: Record "VAT Entry")(integration): Integration event raised at the start of VAT entry processing loop during reversal.OnInsertFromVATEntryOnBeforeTempReversalEntryInsert(var TempReversalEntry: Record "Reversal Entry" temporary; RevType: Option Transaction,Register; var TempRevertTransactionNo: Record "Integer" temporary)(integration): Integration event raised before inserting temporary reversal entry from VAT entry.OnInsertFromGLEntryOnAfterGLEntrySetRange(var GLEntry: Record "G/L Entry"; RevType: Option Transaction,Register; var TempRevertTransactionNoRecordInteger: Record "Integer" temporary)(integration): Integration event raised after setting G/L entry range filters during reversal processing.OnBeforeInsertCustTempRevertTransNo(var TempRevertTransactionNoRecordInteger: Record "Integer" temporary; CustLedgEntryNo: Integer; var IsHandled: Boolean)(integration): Integration event raised before inserting customer temporary revert transaction number.OnBeforeInsertVendTempRevertTransNo(var TempRevertTransactionNoRecordInteger: Record "Integer" temporary; VendLedgEntryNo: Integer; var IsHandled: Boolean)(integration): Integration event raised before inserting vendor temporary revert transaction number.OnBeforeVerifyReversalEntries(var ReversalEntry2: Record "Reversal Entry"; Number: Integer; RevType: Option Transaction,Register; var IsHandled: Boolean; var Result: Boolean)(integration): Integration event raised before verifying reversal entries for processing validity.
Procedures
ReverseTransaction(TransactionNo: Integer): Reverses all ledger entries from a specific transaction number.ReverseRegister(RegisterNo: Integer): Reverses all ledger entries from a specific G/L register number.InsertReversalEntry(Number: Integer; RevType: Option Transaction,Register)(protected)CheckEntries(): Validates all entries in the reversal list for reversal eligibility and business rule compliance.SetReverseFilter(Number: Integer; RevType: Option Transaction,Register): Sets up filters on ledger entry tables for reversal processing based on transaction or register number.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"): Copies reversal filters from global ledger entry variables to passed ledger entry record variables.ShowGLEntries(): Opens the G/L Entries page filtered for reversal candidates.ShowCustLedgEntries(): Opens the Customer Ledger Entries page filtered for reversal candidates.ShowVendLedgEntries(): Opens the Vendor Ledger Entries page filtered for reversal candidates.ShowBankAccLedgEntries(): Opens the Bank Account Ledger Entries page filtered for reversal candidates.ShowFALedgEntries(): Opens the Fixed Asset Ledger Entries page filtered for reversal candidates.ShowMaintenanceLedgEntries(): Opens the Maintenance Ledger Entries page filtered for reversal candidates.ShowVATEntries(): Opens the VAT Entries page filtered for reversal candidates.Caption(): Text: Returns a caption describing the entry for display purposes.CheckPostingDate(PostingDate: Date; TableCaption: Text; EntryNo: Integer): Validates that the posting date allows reversal based on allowed posting date range.CheckFAPostingDate(FAPostingDate: Date; TableCaption: Text; EntryNo: Integer): Validates that the Fixed Asset posting date allows reversal based on FA allowed posting date range.TestFieldError(): Raises an error indicating missing required field values for reversal operation.AlreadyReversedEntry(TableCaption: Text; EntryNo: Integer): Raises an error indicating the entry has already been reversed.VerifyReversalEntries(var ReversalEntry2: Record "Reversal Entry"; Number: Integer; RevType: Option Transaction,Register): Boolean: Verifies that reversal entries are valid and consistent for the specified transaction or register.Equal(ReversalEntry2: Record "Reversal Entry"): Boolean: Compares two reversal entries for equality based on Entry Type and Entry No.ReversalErrorForChangedEntry(TableCaption: Text; EntryNo: Integer): Text[1024]: Returns an error message for entries that have been changed since reversal preparation.SetHideDialog(NewHideDialog: Boolean): Sets whether to hide dialog boxes during reversal processing.SetHideWarningDialogs(): Sets both dialog hiding and warning dialog hiding for batch processing.SetBankAccountStatement(BankAccountNo: Code[20]; StatementNo: Code[20]): Sets the bank account statement context for bank account ledger entry reversals.InsertFromCustLedgEntry(var TempTransactionInteger: Record "Integer" temporary; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer)(protected)InsertFromVendLedgEntry(var TempTransactionNoInteger: Record "Integer" temporary; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer)(protected)InsertFromEmplLedgerEntry(var TempTransactionNoInteger: Record "Integer" temporary; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer)(protected)InsertFromBankAccLedgEntry(TempTransactionNoInteger: Record "Integer" temporary; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer)(protected)InsertFromFALedgEntry(TempTransactionNoInteger: Record "Integer" temporary; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer)(protected)InsertFromMaintenanceLedgEntry(TempTransactionNoInteger: Record "Integer" temporary; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer)(protected)InsertFromVATEntry(var TempTransactionNoInteger: Record "Integer" temporary; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer)(protected)InsertFromGLEntry(var TempTransactionNoInteger: Record "Integer" temporary; Number: Integer; RevType: Option Transaction,Register; var NextLineNo: Integer)(protected)CopyFromCustLedgEntry(CustLedgerEntry: Record "Cust. Ledger Entry"): Copies field values from a Customer Ledger Entry to populate reversal entry information.CopyFromBankAccLedgEntry(BankAccountLedgerEntry: Record "Bank Account Ledger Entry"): Copies field values from a Bank Account Ledger Entry to populate reversal entry information.CopyFromFALedgEntry(FALedgerEntry: Record "FA Ledger Entry"): Copies field values from a Fixed Asset Ledger Entry to populate reversal entry information.CopyFromGLEntry(GLEntry: Record "G/L Entry"): Copies field values from a G/L Entry to populate reversal entry information.CopyFromMaintenanceEntry(MaintenanceLedgerEntry: Record "Maintenance Ledger Entry"): Copies field values from a Maintenance Ledger Entry to populate reversal entry information.CopyFromVATEntry(VATEntry: Record "VAT Entry"): Copies field values from a VAT Entry to populate reversal entry information.CopyFromVendLedgEntry(VendorLedgerEntry: Record "Vendor Ledger Entry"): Copies field values from a Vendor Ledger Entry to populate reversal entry information.CopyFromEmployeeLedgerEntry(EmployeeLedgerEntry: Record "Employee Ledger Entry"): Copies field values from an Employee Ledger Entry to populate reversal entry information.
Plus 19 local procedures.
Relations
- Bal. Account No.: TableRelation Table 15 “G/L Account” (conditional)
- Entry No.: TableRelation Table 17 “G/L Entry” (conditional)
- Bal. Account No.: TableRelation Table 18 “Customer” (conditional)
- Source No.: TableRelation Table 18 “Customer” (conditional)
- Entry No.: TableRelation Table 21 “Cust. Ledger Entry” (conditional)
- Bal. Account No.: TableRelation Table 23 “Vendor” (conditional)
- Source No.: TableRelation Table 23 “Vendor” (conditional)
- Source Code: TableRelation Table 230 “Source Code”
- Entry No.: TableRelation Table 25 “Vendor Ledger Entry” (conditional)
- Bal. Account No.: TableRelation Table 270 “Bank Account” (conditional)
- Source No.: TableRelation Table 270 “Bank Account” (conditional)
- Entry No.: TableRelation Table 271 “Bank Account Ledger Entry” (conditional)
- Currency Code: TableRelation Table 4 “Currency”
- Source Currency Code: TableRelation Table 4 “Currency”
- G/L Register No.: TableRelation Table 45 “G/L Register”
- Source No.: TableRelation Table 5200 “Employee” (conditional)
- Source No.: TableRelation Table 5600 “Fixed Asset” (conditional)
Pages and codeunits on this table
- Page 183 “Reverse Transaction Entries” (source table)
- Page 2629 “Stat. Acc. Reverse Entries” (source table)
- Codeunit 179 “Reversal-Post” (codeunit runs on it)
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 179 “Reversal-Post” (3 calls:
ReverseEntries → (object),ReverseEntries → SetHideDialog,ReverseEntries → SetPrint) - Codeunit 11 “Gen. Jnl.-Check Line” (1 call:
CheckPostingDate → DateNotAllowed) - Codeunit 5616 “Depreciation Calculation” (1 call:
CheckFA → FAName)
Recent changes
- 2026-08-28 #10630 Extend OnBeforeCheckBankAcc to skip specific bank reversal checks (main, BC30, feature)
Countries that replace it
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Reversal Entry"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.