Table of Contents

KVSADVGenJnlPostLineAdvPurch

Events

OnBeforePostUnrealAdvRealizeReceivablesForPayment(Record Gen. Journal Line, Record VAT Entry, Decimal, Decimal, Decimal, Decimal, Boolean, Decimal, Decimal, Decimal, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnBeforePostUnrealAdvRealizeReceivablesForPayment(var GenJournalLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; VATAmount: Decimal; VATBase: Decimal; VATAmountAddCurr: Decimal; VATBaseAddCurr: Decimal; var IsHandled: Boolean; NonDeductibleVATBase: Decimal; NonDeductibleVATAmount: Decimal; NonDeductibleVATBaseAddCurr: Decimal; NonDeductibleVATAmountAddCurr: Decimal): 

OnAfterPostUnrealAdvRealizeReceivablesForPayment(Record Gen. Journal Line, Record VAT Entry, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnAfterPostUnrealAdvRealizeReceivablesForPayment(var GenJournalLine: Record "Gen. Journal Line"; var VATEntry: Record "VAT Entry"; VATAmount: Decimal; VATBase: Decimal; VATAmountAddCurr: Decimal; VATBaseAddCurr: Decimal; NonDeductibleVATBase: Decimal; NonDeductibleVATAmount: Decimal; NonDeductibleVATBaseAddCurr: Decimal; NonDeductibleVATAmountAddCurr: Decimal): 

OnBeforeCloseAdvanceNetAmount(Record Detailed CV Ledg. Entry Buffer, Record CV Ledger Entry Buffer, Record Gen. Journal Line) :

[IntegrationEvent(false, false)]
local procedure OnBeforeCloseAdvanceNetAmount(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"): 

OnAfterCloseAdvanceNetAmount(Record Detailed CV Ledg. Entry Buffer, Record CV Ledger Entry Buffer, Record Gen. Journal Line, Record Vendor Ledger Entry) :

[IntegrationEvent(false, false)]
local procedure OnAfterCloseAdvanceNetAmount(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var GenJnlLine: Record "Gen. Journal Line"; CVLedgerEntry: Record "Vendor Ledger Entry"): 

OnAfterTransferAdvFieldsForDtldCVLedgEntryByUnapply(Record Detailed Vendor Ledg. Entry, Record Detailed Vendor Ledg. Entry) :

[IntegrationEvent(false, false)]
local procedure OnAfterTransferAdvFieldsForDtldCVLedgEntryByUnapply(var NewDtldCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; OldDtldCVLedgEntry: Record "Detailed Vendor Ledg. Entry"): 

OnAfterGetAdvanceUnrealAccount(Record VAT Entry, Record VAT Posting Setup, Record Vendor Posting Group, Record Purch. Inv. Line) :

[IntegrationEvent(false, false)]
local procedure OnAfterGetAdvanceUnrealAccount(NewVATEntry: Record "VAT Entry"; var VATPostingSetup: Record "VAT Posting Setup"; var CVAccountPostingGroup: Record "Vendor Posting Group"; PostedInvoiceLine: Record "Purch. Inv. Line"): 

OnBeforeRealizeCVAccountPostingByUnapplication(Record Gen. Journal Line, Record VAT Entry, Record VAT Posting Setup, Boolean, Decimal, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnBeforeRealizeCVAccountPostingByUnapplication(GenJnlLine: Record "Gen. Journal Line"; VATEntry: Record "VAT Entry"; VATPostingSetup: Record "VAT Posting Setup"; var IsHandled: Boolean; var CheckAmountLCY: Decimal; var CheckAmountAddCurr: Decimal): 

OnAfterRealizeCVAccountPostingByUnapplication(Record Gen. Journal Line, Record VAT Entry, Record VAT Posting Setup, Codeunit Gen. Jnl.-Post Line, Codeunit KVSADVGenJnlPostLineAdvBase, Record VAT Entry, Record Vendor Posting Group, Decimal, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnAfterRealizeCVAccountPostingByUnapplication(GenJnlLine: Record "Gen. Journal Line"; VATEntry: Record "VAT Entry"; VATPostingSetup: Record "VAT Posting Setup"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; var GenJnlPostLineAdvBase: Codeunit "KVSADVGenJnlPostLineAdvBase"; UnrealizedVATEntry: Record "VAT Entry"; CVAccountPostingGr: Record "Vendor Posting Group"; var CheckAmountLCY: Decimal; var CheckAmountAddCurr: Decimal): 

OnBeforeReplaceGLAccountForAdvanceReceivablesPosting(Record Gen. Journal Line, Code[20], Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeReplaceGLAccountForAdvanceReceivablesPosting(GenJournalLine: Record "Gen. Journal Line"; var GLAccNo: Code[20]; var IsHandled: Boolean): 

OnAfterSetVATEntryFilterPostUnrealAdvRealizePayablesForPaymentForDirectVATRealizedInvoices(Record Gen. Journal Line, Record Vendor Ledger Entry, Record CV Ledger Entry Buffer, Decimal, Record VAT Entry) :

[IntegrationEvent(false, false)]
local procedure OnAfterSetVATEntryFilterPostUnrealAdvRealizePayablesForPaymentForDirectVATRealizedInvoices(var GenJournalLine: Record "Gen. Journal Line"; var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; ApplicationAmount: Decimal; var InvoiceVATEntry: Record "VAT Entry"): 

OnAfterPostUnrealAdvRealizePayablesForPaymentForDirectVATRealizedInvoices(Record Gen. Journal Line, Record Vendor Ledger Entry, Record CV Ledger Entry Buffer, Decimal, Record VAT Entry) :

[IntegrationEvent(false, false)]
local procedure OnAfterPostUnrealAdvRealizePayablesForPaymentForDirectVATRealizedInvoices(var GenJournalLine: Record "Gen. Journal Line"; var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; ApplicationAmount: Decimal; InvoiceVATEntry: Record "VAT Entry"): 

OnAfterSetFilterUnrealizedPostUnrealAdvRealizePayablesForUnapplication(Record Gen. Journal Line, Record Detailed Vendor Ledg. Entry, Record Detailed Vendor Ledg. Entry, Record VAT Entry) :

[IntegrationEvent(false, false)]
local procedure OnAfterSetFilterUnrealizedPostUnrealAdvRealizePayablesForUnapplication(GenJnlLine: Record "Gen. Journal Line"; InvoiceDtldCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; PaymentDtldCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; var VATEntry: Record "VAT Entry"): 

OnAfterSetFilterDirectVATRealizationPostUnrealAdvRealizePayablesForUnapplication(Record Gen. Journal Line, Record Detailed Vendor Ledg. Entry, Record Detailed Vendor Ledg. Entry, Record VAT Entry) :

[IntegrationEvent(false, false)]
local procedure OnAfterSetFilterDirectVATRealizationPostUnrealAdvRealizePayablesForUnapplication(GenJnlLine: Record "Gen. Journal Line"; InvoiceDtldCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; PaymentDtldCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; var VATEntry: Record "VAT Entry"): 

OnBeforePostUnrealAdvRealizePayablesForPaymentForRealizedVATAdvance(Record Gen. Journal Line, Record VAT Entry, Record VAT Entry, Record Vendor Ledger Entry, Record CV Ledger Entry Buffer, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnBeforePostUnrealAdvRealizePayablesForPaymentForRealizedVATAdvance(var GenJournalLine: Record "Gen. Journal Line"; InvoiceVATEntry: Record "VAT Entry"; var RealizedVATEntry: Record "VAT Entry"; var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; ApplicationAmount: Decimal): 

OnBeforePostUnrealAdvRealizePayablesForPaymentForUnrealizedVATAdvance(Record Gen. Journal Line, Record VAT Entry, Record Vendor Ledger Entry, Record CV Ledger Entry Buffer, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnBeforePostUnrealAdvRealizePayablesForPaymentForUnrealizedVATAdvance(var GenJournalLine: Record "Gen. Journal Line"; var InvoiceVATEntry: Record "VAT Entry"; var TempOldVendLedgEntry: Record "Vendor Ledger Entry" temporary; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; ApplicationAmount: Decimal): 

OnPostUnrealAdvRealizePayablesForPaymentBeforeTransferNetAmount(Record Gen. Journal Line, Record Vendor Posting Group, Record VAT Posting Setup, Decimal, Decimal, Record VAT Entry, Record Vendor Ledger Entry, Boolean, Decimal, Decimal, Decimal, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnPostUnrealAdvRealizePayablesForPaymentBeforeTransferNetAmount(var GenJournalLine: Record "Gen. Journal Line"; var CVAccountPostingGroup: Record "Vendor Posting Group"; var VATPostSetup: Record "VAT Posting Setup"; var VATBase: Decimal; var VATBaseAddCurr: Decimal; var VATEntry: Record "VAT Entry"; var TempOldCVLedgEntry: Record "Vendor Ledger Entry" temporary; var IsHandled: Boolean; NonDeductibleVATBase: Decimal; NonDeductibleVATAmount: Decimal; NonDeductibleVATBaseAddCurr: Decimal; NonDeductibleVATAmountAddCurr: Decimal): 

OnPostUnrealAdvRealizePayablesForPaymentAfterTransferNetAmount(Record Gen. Journal Line, Record Vendor Posting Group, Record VAT Posting Setup, Decimal, Decimal, Record VAT Entry, Record Vendor Ledger Entry, Record G/L Entry, Decimal, Decimal, Decimal, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnPostUnrealAdvRealizePayablesForPaymentAfterTransferNetAmount(var GenJournalLine: Record "Gen. Journal Line"; var CVAccountPostingGroup: Record "Vendor Posting Group"; var VATPostSetup: Record "VAT Posting Setup"; var VATBase: Decimal; var VATBaseAddCurr: Decimal; var VATEntry: Record "VAT Entry"; var TempOldCVLedgEntry: Record "Vendor Ledger Entry" temporary; var NewGLEntry: Record "G/L Entry"; NonDeductibleVATBase: Decimal; NonDeductibleVATAmount: Decimal; NonDeductibleVATBaseAddCurr: Decimal; NonDeductibleVATAmountAddCurr: Decimal): 

OnPostUnrealAdvRealizePayablesForPaymentBeforeTransferPayables(Record Gen. Journal Line, Record Vendor Posting Group, Record VAT Posting Setup, Decimal, Decimal, Decimal, Decimal, Record VAT Entry, Record Vendor Ledger Entry, Boolean, Decimal, Decimal, Decimal, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnPostUnrealAdvRealizePayablesForPaymentBeforeTransferPayables(var GenJournalLine: Record "Gen. Journal Line"; var CVAccountPostingGroup: Record "Vendor Posting Group"; var VATPostSetup: Record "VAT Posting Setup"; var VATAmount: Decimal; var VATAmountAddCurr: Decimal; var VATBase: Decimal; var VATBaseAddCurr: Decimal; var VATEntry: Record "VAT Entry"; var TempOldCVLedgEntry: Record "Vendor Ledger Entry" temporary; var IsHandled: Boolean; NonDeductibleVATBase: Decimal; NonDeductibleVATAmount: Decimal; NonDeductibleVATBaseAddCurr: Decimal; NonDeductibleVATAmountAddCurr: Decimal): 

OnPostUnrealAdvRealizePayablesForPaymentAfterTransferPayables(Record Gen. Journal Line, Record Vendor Posting Group, Record VAT Posting Setup, Decimal, Decimal, Decimal, Decimal, Record VAT Entry, Record Vendor Ledger Entry, Record G/L Entry, Decimal, Decimal, Decimal, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnPostUnrealAdvRealizePayablesForPaymentAfterTransferPayables(var GenJournalLine: Record "Gen. Journal Line"; var CVAccountPostingGroup: Record "Vendor Posting Group"; var VATPostSetup: Record "VAT Posting Setup"; var VATAmount: Decimal; var VATAmountAddCurr: Decimal; var VATBase: Decimal; var VATBaseAddCurr: Decimal; var VATEntry: Record "VAT Entry"; var TempOldCVLedgEntry: Record "Vendor Ledger Entry" temporary; var NewGLEntry: Record "G/L Entry"; NonDeductibleVATBase: Decimal; NonDeductibleVATAmount: Decimal; NonDeductibleVATBaseAddCurr: Decimal; NonDeductibleVATAmountAddCurr: Decimal): 

OnBeforeDiffRealizeCVAccountPostingByUnapplication(Record Gen. Journal Line, Record VAT Entry, Record Vendor Ledger Entry, Record VAT Posting Setup, Boolean, Decimal, Decimal, Boolean, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeDiffRealizeCVAccountPostingByUnapplication(GenJournalLine: Record "Gen. Journal Line"; RealizedVATEntry: Record "VAT Entry"; InvoiceVendorLedgerEntry: Record "Vendor Ledger Entry"; VATPostingSetup: Record "VAT Posting Setup"; InvoiceWithDirectVATRealization: Boolean; DifferenceAmountLCY: Decimal; DifferenceAmountAddCurr: Decimal; var DifferencePosted: Boolean; var IsHandled: Boolean): 

OnAfterDiffRealizeCVAccountPostingByUnapplication(Record Gen. Journal Line, Record VAT Entry, Record Vendor Ledger Entry, Record VAT Posting Setup, Boolean, Decimal, Decimal, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnAfterDiffRealizeCVAccountPostingByUnapplication(GenJournalLine: Record "Gen. Journal Line"; RealizedVATEntry: Record "VAT Entry"; InvoiceVendorLedgerEntry: Record "Vendor Ledger Entry"; VATPostingSetup: Record "VAT Posting Setup"; InvoiceWithDirectVATRealization: Boolean; DifferenceAmountLCY: Decimal; DifferenceAmountAddCurr: Decimal; var DifferencePosted: Boolean): 

OnSetAdvanceChainatVendorUnrealizedVATforPaymentOnAfterSetFilterOnInvoiceVATEntry(Record VAT Entry, Record Gen. Journal Line, Record Vendor Ledger Entry) :

[IntegrationEvent(false, false)]
local procedure OnSetAdvanceChainatVendorUnrealizedVATforPaymentOnAfterSetFilterOnInvoiceVATEntry(var VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line"; VendorLedgerEntry: Record "Vendor Ledger Entry"):