{"title":"Codeunit 80 Sales-Post, obsolete","url":"https://jonas-paprotka.de/ref/codeunit/80-sales-post/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-10-05","object":{"type":"codeunit","id":80,"name":"Sales-Post","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/80-sales-post/","json":"https://jonas-paprotka.de/ref/codeunit/80-sales-post.json"},"aspect":"obsolete","total":59,"rows":[{"kind":"procedure","name":"CalcInvoiceDiscountPosting(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; SalesLineACY: Record \"Sales Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\")","obsolete":{"state":"Pending","reason":"Moved to Sales Invoice Posting implementation.","tag":"19.0"},"obsoleteSince":19,"last":25},{"kind":"procedure","name":"CalcLineDiscountPosting(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; SalesLineACY: Record \"Sales Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\")","obsolete":{"state":"Pending","reason":"Moved to Sales Invoice Posting implementation.","tag":"19.0"},"obsoleteSince":19,"last":25},{"kind":"event","name":"OnAfterCreatePostedDeferralScheduleFromSalesDoc(var SalesLine: Record \"Sales Line\"; var PostedDeferralHeader: Record \"Posted Deferral Header\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnAfterCreatePostedDeferralSchedule in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnAfterGetSalesAccount(SalesLine: Record \"Sales Line\"; GenPostingSetup: Record \"General Posting Setup\"; var SalesAccountNo: Code[20])","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnAfterGetSalesAccount in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnAfterFillInvoicePostBuffer(var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; SalesLine: Record \"Sales Line\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; CommitIsSuppressed: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnAfterFillInvoicePostingBuffer in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnAfterFillDeferralPostingBuffer(var SalesLine: Record \"Sales Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; UseDate: Date; InvDefLineNo: Integer; DeferralLineNo: Integer; CommitIsSuppressed: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnAfterPrepareDeferralLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnAfterInvoicePostingBufferSetAmounts(var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; SalesLine: Record \"Sales Line\")","obsolete":{"state":"Pending","reason":"Moved to Sales Invoice Posting implementation.","tag":"19.0"},"obsoleteSince":20,"last":20},{"kind":"event","name":"OnAfterPostCustomerEntry(var GenJnlLine: Record \"Gen. Journal Line\"; var SalesHeader: Record \"Sales Header\"; var TotalSalesLine: Record \"Sales Line\"; var TotalSalesLineLCY: Record \"Sales Line\"; CommitIsSuppressed: Boolean; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPostLedgerEntryOnAfterGenJnlPostLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnAfterPostBalancingEntry(var GenJnlLine: Record \"Gen. Journal Line\"; var SalesHeader: Record \"Sales Header\"; var TotalSalesLine: Record \"Sales Line\"; var TotalSalesLineLCY: Record \"Sales Line\"; CommitIsSuppressed: Boolean; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPostBalancingEntryOnAfterGenJnlPostLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnAfterPostInvPostBuffer(var GenJnlLine: Record \"Gen. Journal Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var SalesHeader: Record \"Sales Header\"; GLEntryNo: Integer; CommitIsSuppressed: Boolean; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\"; xSalesLine: Record \"Sales Line\")","obsolete":{"state":"Pending","reason":"Moved to Sales Invoice Posting implementation.","tag":"19.0"},"obsoleteSince":19,"last":19},{"kind":"event","name":"OnAfterUpdatePostingNos(var SalesHeader: Record \"Sales Header\"; var NoSeriesMgt: Codeunit NoSeriesManagement; CommitIsSuppressed: Boolean)","obsolete":{"state":"Pending","reason":"Parameter NoSeriesMgt is obsolete and will be removed, update your subscriber accordingly.","tag":"24.0"},"obsoleteSince":24,"last":26},{"kind":"event","name":"OnBeforeCreateServItemOnSalesInvoice(SalesHeader: Record \"Sales Header\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Moved to codeunit Serv. Sales Post","tag":"25.0"},"obsoleteSince":25,"last":27},{"kind":"event","name":"OnBeforeInitNewLineFromInvoicePostBuffer(var GenJnlLine: Record \"Gen. Journal Line\"; SalesHeader: Record \"Sales Header\"; InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnBeforeInitGenJnlLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnBeforePostCustomerEntry(var GenJnlLine: Record \"Gen. Journal Line\"; var SalesHeader: Record \"Sales Header\"; var TotalSalesLine: Record \"Sales Line\"; var TotalSalesLineLCY: Record \"Sales Line\"; CommitIsSuppressed: Boolean; PreviewMode: Boolean; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPostLedgerEntryOnBeforeGenJnlPostLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnBeforeRunPostCustomerEntry(var SalesHeader: Record \"Sales Header\"; var TotalSalesLine2: Record \"Sales Line\"; var TotalSalesLineLCY2: Record \"Sales Line\"; CommitIsSuppressed: Boolean; PreviewMode: Boolean; DocType: Enum \"Gen. Journal Document Type\"; DocNo: Code[20]; ExtDocNo: Code[35]; SourceCode: Code[10]; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnBeforePostLedgerEntry in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnBeforeRunGenJnlPostLine(var GenJnlLine: Record \"Gen. Journal Line\"; SalesInvHeader: Record \"Sales Invoice Header\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnBeforeRunGenJnlPostLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnBeforePostBalancingEntry(var GenJnlLine: Record \"Gen. Journal Line\"; SalesHeader: Record \"Sales Header\"; var TotalSalesLine: Record \"Sales Line\"; var TotalSalesLineLCY: Record \"Sales Line\"; CommitIsSuppressed: Boolean; PreviewMode: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPostBalancingEntryOnBeforeGenJnlPostLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnBeforePostInvPostBuffer(var GenJnlLine: Record \"Gen. Journal Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var SalesHeader: Record \"Sales Header\"; CommitIsSuppressed: Boolean; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\"; PreviewMode: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPostLinesOnBeforeGenJnlLinePost in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnBeforePostInvoicePostBuffer(SalesHeader: Record \"Sales Header\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var TotalSalesLine: Record \"Sales Line\"; var TotalSalesLineLCY: Record \"Sales Line\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnBeforePostLines in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnBeforeUpdatePostingNos(var SalesHeader: Record \"Sales Header\"; var NoSeriesMgt: Codeunit NoSeriesManagement; CommitIsSuppressed: Boolean; var ModifyHeader: Boolean)","obsolete":{"state":"Pending","reason":"Parameter NoSeriesMgt is obsolete and will be removed, update your subscriber accordingly.","tag":"24.0"},"obsoleteSince":24,"last":26},{"kind":"event","name":"OnAfterSetApplyToDocNo(var GenJournalLine: Record \"Gen. Journal Line\"; SalesHeader: Record \"Sales Header\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnAfterSetApplyToDocNo in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnBeforeCalcInvoiceDiscountPosting(var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; TotalVAT: Decimal; TotalVATACY: Decimal; TotalAmount: Decimal; TotalAmountACY: Decimal; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnBeforeCalcInvoiceDiscountPosting in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnBeforeCalcInvoiceDiscountPostingProcedure(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; SalesLineACY: Record \"Sales Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnBeforeCalcInvoiceDiscountPosting in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnCalcLineDiscountPostingProcedure(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; SalesLineACY: Record \"Sales Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnBeforeCalcLineDiscountPosting in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnBeforeCalcLineDiscountPosting(var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; TotalVAT: Decimal; TotalVATACY: Decimal; TotalAmount: Decimal; TotalAmountACY: Decimal; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnBeforeCalcLineDiscountPosting in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnBeforeInvoicePostingBufferSetAmounts(SalesLine: Record \"Sales Line\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var TotalVAT: Decimal; var TotalVATACY: Decimal; var TotalAmount: Decimal; var TotalAmountACY: Decimal; var TotalVATBase: Decimal; var TotalVATBaseACY: Decimal)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnBeforeSetAmounts in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnBeforePostGLAndCustomer(var SalesHeader: Record \"Sales Header\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var CustLedgerEntry: Record \"Cust. Ledger Entry\"; CommitIsSuppressed: Boolean; PreviewMode: Boolean; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Replaced by event OnBeforePostInvoice","tag":"20.0"},"obsoleteSince":20,"last":22},{"kind":"event","name":"OnBeforeTempDeferralLineInsert(var TempDeferralLine: Record \"Deferral Line\" temporary; DeferralLine: Record \"Deferral Line\"; SalesLine: Record \"Sales Line\"; var DeferralCount: Integer; var TotalDeferralCount: Integer)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnBeforeTempDeferralLineInsert in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnBeforeUpdateShippingNo(var SalesHeader: Record \"Sales Header\"; WhseShip: Boolean; WhseReceive: Boolean; InvtPickPutaway: Boolean; PreviewMode: Boolean; var ModifyHeader: Boolean; var IsHandled: Boolean; var NoSeriesMgt: Codeunit NoSeriesManagement)","obsolete":{"state":"Pending","reason":"Parameter NoSeriesMgt is obsolete and will be removed, update your subscriber accordingly.","tag":"24.0"},"obsoleteSince":24,"last":26},{"kind":"event","name":"OnFillInvoicePostingBufferOnBeforeDeferrals(var SalesLine: Record \"Sales Line\"; var TotalAmount: Decimal; var TotalAmountACY: Decimal; UseDate: Date)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnFillInvoicePostingBufferOnBeforeDeferrals in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnBeforeFillDeferralPostingBuffer(var SalesLine: Record \"Sales Line\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; UseDate: Date; InvDefLineNo: Integer; DeferralLineNo: Integer; CommitIsSuppressed: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnBeforePrepareDeferralLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnBeforeFillInvoicePostingBuffer(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; SalesLineACY: Record \"Sales Line\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnBeforePrepareLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnFillInvoicePostingBufferOnBeforeSetAccount(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; var SalesAccount: Code[20])","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnBeforeSetAccount in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnFillInvoicePostingBufferOnAfterSetLineDiscAccount(var SalesLine: Record \"Sales Line\"; var GenPostingSetup: Record \"General Posting Setup\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\"; SalesHeader: Record \"Sales Header\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnAfterSetLineDiscAccount in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnFillInvoicePostingBufferOnAfterSetInvDiscAccount(var SalesLine: Record \"Sales Line\"; var GenPostingSetup: Record \"General Posting Setup\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\"; SalesHeader: Record \"Sales Header\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnAfterSetInvoiceDiscAccount in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnFillInvoicePostingBufferOnAfterUpdateInvoicePostBuffer(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary)","obsolete":{"state":"Pending","reason":"Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnAfterUpdateInvoicePostingBuffer in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":22},{"kind":"event","name":"OnFillInvoicePostingBufferOnAfterCalcInvoiceDiscountPosting(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; var InvoiceDiscountPosting: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnAfterSetInvoiceDiscountPosting in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnFillInvoicePostingBufferOnAfterCalcLineDiscountPosting(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; var LineDiscountPosting: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnAfterSetLineDiscountPosting in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnFillInvoicePostingBufferOnBeforeSetInvDiscAccount(SalesLine: Record \"Sales Line\"; GenPostingSetup: Record \"General Posting Setup\"; var InvDiscAccount: Code[20]; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnBeforeSetInvoiceDiscAccount in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnFillInvoicePostingBufferOnBeforeSetLineDiscAccount(SalesLine: Record \"Sales Line\"; GenPostingSetup: Record \"General Posting Setup\"; var LineDiscAccount: Code[20]; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnBeforeSetLineDiscAccount in codeunit 825 \"Sales Post Invoice Events\".","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnPostBalancingEntryOnAfterFindCustLedgEntry(var CustLedgEntry: Record \"Cust. Ledger Entry\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPostBalancingEntryOnAfterFindCustLedgEntry in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnPostBalancingEntryOnBeforeFindCustLedgEntry(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; DocType: Option; DocNo: Code[20]; ExtDocNo: Code[35]; var CustLedgerEntry: Record \"Cust. Ledger Entry\"; var EntryFound: Boolean; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPostBalancingEntryOnBeforeFindCustLedgEntry in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnPostInvoicePostBufferOnBeforeTempInvoicePostBufferDeleteAll(var SalesHeader: Record \"Sales Header\"; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\"; var TotalSalesLine: Record \"Sales Line\"; var TotalSalesLineLCY: Record \"Sales Line\"; GenJnlLineDocType: Enum \"Gen. Journal Document Type\"; GenJnlLineDocNo: Code[20]; GenJnlLineExtDocNo: Code[35]; SrcCode: Code[10])","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPostLinesOnBeforeTempInvoicePostingBufferDeleteAll in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnPostInvoicePostBufferLineOnAfterCopyFromInvoicePostBuffer(var SalesHeader: Record \"Sales Header\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var GenJnlLine: Record \"Gen. Journal Line\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareGenJnlLineOnAfterCopyToGenJnlLine in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnPostSalesLineOnAfterCaseType(SalesHeader: Record \"Sales Header\"; var SalesLine: Record \"Sales Line\"; GenJnlLineDocNo: Code[20]; GenJnlLineExtDocNo: Code[35]; GenJnlLineDocType: Integer; SrcCode: Code[10]; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\")","obsolete":{"state":"Pending","reason":"Replaced by event OnPostSalesLineOnBeforePostSalesLine()","tag":"21.0"},"obsoleteSince":20,"last":23},{"kind":"event","name":"OnAfterInvoicePostingBufferAssignAmounts(SalesLine: Record \"Sales Line\"; var TotalAmount: Decimal; var TotalAmountLCY: Decimal; SalesLineACY: Record \"Sales Line\"; var TotalVAT: Decimal; var TotalVATACY: Decimal; var TotalVATBase: Decimal; var TotalVATBaseACY: Decimal; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var InvoicePostBuffer: Record \"Invoice Post. Buffer\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnAfterInitTotalAmounts in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnBeforeSetAmountsForBalancingEntry(var CustLedgEntry: Record \"Cust. Ledger Entry\"; var GenJnlLine: Record \"Gen. Journal Line\"; var IsHandled: Boolean; var TotalSalesLineLCY2: Record \"Sales Line\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnBeforeSetAmountsForBalancingEntry in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":19,"last":26},{"kind":"event","name":"OnInsertInvoiceHeaderOnBeforeSetPaymentInstructions(var SalesHeader: Record \"Sales Header\"; var SalesInvHeader: Record \"Sales Invoice Header\"; var SalesShptHeader: Record \"Sales Shipment Header\")","obsolete":{"state":"Pending","reason":"Removed as part of Invoicing","tag":"19.0"},"obsoleteSince":19,"last":21},{"kind":"event","name":"OnPostBalancingEntryOnAfterInitNewLine(SalesHeader: Record \"Sales Header\"; var GenJnlLine: Record \"Gen. Journal Line\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Event is currently missing. Check out GitHub Issue: https://github.com/microsoft/ALAppExtensions/issues/21198.","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnPostInvoicePostBufferOnAfterPostSalesGLAccounts(var SalesHeader: Record \"Sales Header\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\"; var TotalSalesLine: Record \"Sales Line\"; var TotalSalesLineLCY: Record \"Sales Line\"; DocumentNo: Code[20]; GLEntryNo: Integer; SourceCode: Code[10])","obsolete":{"state":"Pending","reason":"Moved to Sales Invoice Posting implementation.","tag":"19.0"},"obsoleteSince":19,"last":19},{"kind":"event","name":"OnBeforeGetSalesAccount(SalesLine: Record \"Sales Line\"; GenPostingSetup: Record \"General Posting Setup\"; var SalesAccountNo: Code[20]; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Moved to Sales Invoice Posting implementation.","tag":"20.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnAfterPostInvPostBuffer(var GenJnlLine: Record \"Gen. Journal Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var SalesHeader: Record \"Sales Header\"; GLEntryNo: Integer; CommitIsSuppressed: Boolean; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\"; xSalesLine: Record \"Sales Line\"; GenJnlLineDocNo: Code[20]; GenJnlLineExtDocNo: Code[35]; var GenJnlLineDocType: Enum \"Gen. Journal Document Type\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPostLinesOnAfterGenJnlLinePost in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnBeforePostGLAndCustomer2(var SalesHeader: Record \"Sales Header\"; var CustLedgerEntry: Record \"Cust. Ledger Entry\"; CommitIsSuppressed: Boolean; PreviewMode: Boolean; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\"; var IsHandled: Boolean)","obsolete":{"state":"Pending","reason":"Replaced by event OnBeforePostInvoice()","tag":"19.0"},"obsoleteSince":20,"last":22},{"kind":"event","name":"OnPostInvoicePostBufferOnAfterPostSalesGLAccounts(var SalesHeader: Record \"Sales Header\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\"; var TotalSalesLine: Record \"Sales Line\"; var TotalSalesLineLCY: Record \"Sales Line\"; DocumentNo: Code[20]; var GLEntryNo: Integer; SourceCode: Code[10])","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Event is currently missing. Please request it for the new Sales Invoice Posting.","tag":"19.0"},"obsoleteSince":20,"last":26},{"kind":"event","name":"OnAfterGetAmountsForDeferral(SalesLine: Record \"Sales Line\"; var AmtToDefer: Decimal; var AmtToDeferACY: Decimal; var DeferralAccount: Code[20])","obsolete":{"state":"Pending","reason":"This event is never raised.","tag":"27.0"},"obsoleteSince":27,"last":29},{"kind":"event","name":"OnAfterInvoicePostingBufferSetAmounts(var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; SalesLine: Record \"Sales Line\"; SalesLineACY: Record \"Sales Line\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnAfterSetAmounts in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":21,"last":26},{"kind":"event","name":"OnSetPostingPreviewDocumentNo(var PreviewDocumentNo: Code[20]; var SalesHeader: Record \"Sales Header\")","obsolete":{"state":"Pending","reason":"This event is no longer used.","tag":"27.0"},"obsoleteSince":27,"last":29},{"kind":"event","name":"OnFillInvoicePostingBufferOnAfterUpdateInvoicePostBuffer(SalesHeader: Record \"Sales Header\"; SalesLine: Record \"Sales Line\"; var InvoicePostBuffer: Record \"Invoice Post. Buffer\"; var TempInvoicePostBuffer: Record \"Invoice Post. Buffer\" temporary; var GenJnlLineDocNo: Code[20]; var GenJnlPostLine: Codeunit \"Gen. Jnl.-Post Line\")","obsolete":{"state":"Pending","reason":"This integration event is no longer invoked. Moved to Sales Invoice Posting implementation. Use the new event OnPrepareLineOnAfterUpdateInvoicePostingBuffer in codeunit 825 \"Sales Post Invoice Events\".","tag":"19.0"},"obsoleteSince":23,"last":26},{"kind":"event","name":"OnGetPostingPreviewDocumentNos(var PreviewDocumentNos: List of [Code[20]])","obsolete":{"state":"Pending","reason":"This event is no longer used.","tag":"27.0"},"obsoleteSince":27,"last":29}]}