{"title":"Codeunit 12 Gen. Jnl.-Post Line, obsolete","url":"https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/obsolete/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-19","changed":"2026-11-04","object":{"type":"codeunit","id":12,"name":"Gen. Jnl.-Post Line","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line/","json":"https://jonas-paprotka.de/ref/codeunit/12-gen-jnl-post-line.json"},"aspect":"obsolete","total":15,"rows":[{"kind":"event","name":"OnAfterCustLedgEntryInsert(var CustLedgerEntry: Record \"Cust. Ledger Entry\"; GenJournalLine: Record \"Gen. Journal Line\"; DtldLedgEntryInserted: Boolean)","obsolete":{"state":"Pending","reason":"This event is obsolete. Use OnAfterCustLedgEntryInsertInclPreviewMode instead.","tag":"23.0"},"obsoleteSince":23,"last":23},{"kind":"event","name":"OnAfterVendLedgEntryInsert(var VendorLedgerEntry: Record \"Vendor Ledger Entry\"; GenJournalLine: Record \"Gen. Journal Line\"; var DtldLedgEntryInserted: Boolean)","obsolete":{"state":"Pending","reason":"This event is obsolete. Use OnAfterVendLedgEntryInsertInclPreviewMode instead.","tag":"23.0"},"obsoleteSince":23,"last":23},{"kind":"event","name":"OnBeforeCreateGLEntriesForTotalAmounts(var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; GenJournalLine: Record \"Gen. Journal Line\"; var GLAccNo: Code[20]; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Replaced by event OnBeforeCreateGLEntriesForTotalAmountsV19().","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnBeforeUpdateTotalAmounts(var TempInvPostBuf: Record \"Invoice Post. Buffer\" temporary; var DimSetID: Integer; var AmountToCollect: Decimal; var AmountACYToCollect: Decimal; var IsHandled: Boolean; var DtldCVLedgEntryBuf: Record \"Detailed CV Ledg. Entry Buffer\")","obsolete":{"state":"Pending","reason":"Replaced by event OnBeforeUpdateTotalAmountsV19().","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnBeforeCreateGLEntryForTotalAmountsForInvPostBuf(var GenJnlLine: Record \"Gen. Journal Line\"; InvPostBuf: Record \"Invoice Post. Buffer\"; var GLAccNo: Code[20])","obsolete":{"state":"Pending","reason":"Replaced by event OnBeforeCreateGLEntryForTotalAmountsForDimPostBuf().","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeCreateGLEntry(var GenJnlLine: Record \"Gen. Journal Line\"; var TempInvPostBuf: Record \"Invoice Post. Buffer\" temporary; var GLAccNo: Code[20])","obsolete":{"state":"Pending","reason":"Replaced by. OnCreateGLEntriesForTotalAmountsUnapplyOnBeforeCreateGLEntryV19().","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnBeforeCreateGLEntriesForTotalAmountsUnapply(DetailedCustLedgEntry: Record \"Detailed Cust. Ledg. Entry\"; var CustomerPostingGroup: Record \"Customer Posting Group\"; GenJournalLine: Record \"Gen. Journal Line\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Replaced by event OnBeforeCreateGLEntriesForTotalAmountsUnapplyV19().","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnBeforeCreateGLEntriesForTotalAmountsUnapplyVendor(DetailedVendorLedgEntry: Record \"Detailed Vendor Ledg. Entry\"; var VendorPostingGroup: Record \"Vendor Posting Group\"; GenJournalLine: Record \"Gen. Journal Line\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Replaced by event OnBeforeCreateGLEntriesForTotalAmountsUnapplyVendorV19().","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnPostDtldCustLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts(var CustPostingGr: Record \"Customer Posting Group\"; var DtldCVLedgEntryBuf: Record \"Detailed CV Ledg. Entry Buffer\"; var GenJnlLine: Record \"Gen. Journal Line\"; var TempInvPostBuf: Record \"Invoice Post. Buffer\" temporary; AdjAmount: array[4] of Decimal; SaveEntryNo: Integer; GLAccNo: Code[20]; LedgerEntryInserted: Boolean; AddCurrencyCode: Code[10]; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Replaced by event OnPostDtldCustLedgEntriesOnBeforeCreateGLEntriesForTotalAmountsV19().","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnBeforeCopyDimPostBufToInvPostBuf(var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\"; var TempDimPostingBuffer: Record \"Dimension Posting Buffer\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Invoice Post Buffer refactoring","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnBeforeCopyInvPostBufToDimPostBuf(var TempDimPostingBuffer: Record \"Dimension Posting Buffer\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Invoice Post Buffer refactoring","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnBeforeInsertVATForGLEntry(var GenJnlLine: Record \"Gen. Journal Line\"; var VATPostingSetup: Record \"VAT Posting Setup\"; GLEntryVATAmount: Decimal; SrcCurrGLEntryVATAmt: Decimal; UnrealizedVAT: Boolean; var IsHandled: Boolean; var VATEntry: Record \"VAT Entry\"; TaxJurisdiction: Record \"Tax Jurisdiction\"; SrcCurrCode: Code[10]; AddCurrencyCode: Code[10])","obsolete":{"state":"Pending","reason":"Replaced with OnBeforeInsertVATForGLEntryFromBuffer","tag":"23.0"},"obsoleteSince":22,"last":25},{"kind":"event","name":"OnAfterCustLedgEntryInsertInclPreviewMode(var CustLedgerEntry: Record \"Cust. Ledger Entry\"; GenJournalLine: Record \"Gen. Journal Line\"; DtldLedgEntryInserted: Boolean; PreviewMode: Boolean)","obsolete":{"state":"Pending","reason":"This event is obsolete. Use OnAfterCustLedgEntryInsert instead.","tag":"25.0"},"obsoleteSince":24,"last":27},{"kind":"event","name":"OnAfterVendLedgEntryInsertInclPreviewMode(var VendorLedgerEntry: Record \"Vendor Ledger Entry\"; GenJournalLine: Record \"Gen. Journal Line\"; var DtldLedgEntryInserted: Boolean; PreviewMode: Boolean)","obsolete":{"state":"Pending","reason":"This event is obsolete. Use OnAfterVendLedgEntryInsert instead.","tag":"25.0"},"obsoleteSince":24,"last":27},{"kind":"event","name":"OnBeforeInsertDeferralNonDeductibleVATGLEntries(var NonDeductibleVATPct: Decimal; DeferralPostingBuffer: Record \"Deferral Posting Buffer\"; VATPostingSetup: Record \"VAT Posting Setup\"; GenJournalLine: Record \"Gen. Journal Line\"; DeferralTemplate: Record \"Deferral Template\"; var VATAmountRounding: Decimal; var PositiveNDVATAmountRounding: Decimal; var NegativeNDVATAmountRounding: Decimal; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This event is replaced by OnBeforeInsertDeferralNonDeductibleVATGLEntries2.","tag":"29.0"},"obsoleteSince":28,"last":29}]}