Skip to content

KVSADVGenJnlPostLineAdvBase#

Events#

OnAfterCopyDimensionsAndSourceFieldsFromGLEntryToGenJnlLine(Record G/L Entry, Record Gen. Journal Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCopyDimensionsAndSourceFieldsFromGLEntryToGenJnlLine(GLEntry: Record "G/L Entry"; var GenJournalLine: Record "Gen. Journal Line"; WithDim: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnAfterCopyDimensionsAndSourceFieldsFromGLEntryToGenJnlLine', '', false, false)]
local procedure DoSomethingOnAfterCopyDimensionsAndSourceFieldsFromGLEntryToGenJnlLine(GLEntry: Record "G/L Entry"; var GenJournalLine: Record "Gen. Journal Line"; WithDim: Boolean)
begin
end;

OnBeforeCopyDimensionsAndSourceFieldsFromGLEntryToGenJnlLine(Integer, Record Gen. Journal Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyDimensionsAndSourceFieldsFromGLEntryToGenJnlLine(SourceEntryNo: Integer; var GenJournalLine: Record "Gen. Journal Line"; var WithDim: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforeCopyDimensionsAndSourceFieldsFromGLEntryToGenJnlLine', '', false, false)]
local procedure DoSomethingOnBeforeCopyDimensionsAndSourceFieldsFromGLEntryToGenJnlLine(SourceEntryNo: Integer; var GenJournalLine: Record "Gen. Journal Line"; var WithDim: Boolean; var IsHandled: Boolean)
begin
end;

OnAfterCopyAdvLedgEntDimInGenJnlLine(Record G/L Entry, Record Gen. Journal Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCopyAdvLedgEntDimInGenJnlLine(GLEntry: Record "G/L Entry"; var GenJournalLine: Record "Gen. Journal Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnAfterCopyAdvLedgEntDimInGenJnlLine', '', false, false)]
local procedure DoSomethingOnAfterCopyAdvLedgEntDimInGenJnlLine(GLEntry: Record "G/L Entry"; var GenJournalLine: Record "Gen. Journal Line")
begin
end;

OnBeforeAdvPostExchRateAsAdv(Record Detailed CV Ledg. Entry Buffer, Record Gen. Journal Line, Record VAT Entry, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAdvPostExchRateAsAdv(DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforeAdvPostExchRateAsAdv', '', false, false)]
local procedure DoSomethingOnBeforeAdvPostExchRateAsAdv(DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary; var IsHandled: Boolean)
begin
end;

OnBeforeSaveTempGenJnlLineForAdvExchRatePosting(Record Gen. Journal Line, Record Detailed CV Ledg. Entry Buffer, Record Gen. Journal Line, Record VAT Entry) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSaveTempGenJnlLineForAdvExchRatePosting(var TempGenJournalLinesToPost: Record "Gen. Journal Line" temporary; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforeSaveTempGenJnlLineForAdvExchRatePosting', '', false, false)]
local procedure DoSomethingOnBeforeSaveTempGenJnlLineForAdvExchRatePosting(var TempGenJournalLinesToPost: Record "Gen. Journal Line" temporary; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary)
begin
end;

OnAfterAdvPostExchRateAsAdv(Record Detailed CV Ledg. Entry Buffer, Record Gen. Journal Line, Record VAT Entry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterAdvPostExchRateAsAdv(DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnAfterAdvPostExchRateAsAdv', '', false, false)]
local procedure DoSomethingOnAfterAdvPostExchRateAsAdv(DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary)
begin
end;

OnBeforePostJobAdvExchRateForSales(Record Sales Invoice Line, Record Gen. Journal Line, Record Gen. Journal Line, Record Detailed CV Ledg. Entry Buffer, Record Gen. Journal Line, Record VAT Entry) :#

[IntegrationEvent(false, false)]
local procedure OnBeforePostJobAdvExchRateForSales(SalesInvoiceLine: Record "Sales Invoice Line"; var GenJournalLineForJobPosting: Record "Gen. Journal Line"; var TempGenJournalLinesToPost: Record "Gen. Journal Line" temporary; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforePostJobAdvExchRateForSales', '', false, false)]
local procedure DoSomethingOnBeforePostJobAdvExchRateForSales(SalesInvoiceLine: Record "Sales Invoice Line"; var GenJournalLineForJobPosting: Record "Gen. Journal Line"; var TempGenJournalLinesToPost: Record "Gen. Journal Line" temporary; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary)
begin
end;

OnBeforePostJobAdvExchRateForPurchase(Record Purch. Inv. Line, Record Gen. Journal Line, Record Gen. Journal Line, Record Detailed CV Ledg. Entry Buffer, Record Gen. Journal Line, Record VAT Entry) :#

[IntegrationEvent(false, false)]
local procedure OnBeforePostJobAdvExchRateForPurchase(PurchInvoiceLine: Record "Purch. Inv. Line"; var GenJournalLineForJobPosting: Record "Gen. Journal Line"; var TempGenJournalLinesToPost: Record "Gen. Journal Line" temporary; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforePostJobAdvExchRateForPurchase', '', false, false)]
local procedure DoSomethingOnBeforePostJobAdvExchRateForPurchase(PurchInvoiceLine: Record "Purch. Inv. Line"; var GenJournalLineForJobPosting: Record "Gen. Journal Line"; var TempGenJournalLinesToPost: Record "Gen. Journal Line" temporary; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line"; var TempAdvVATEntry: Record "VAT Entry" temporary)
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnAfterCopyAdvFieldsToNewCVLedgerEntry(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnAfterCopyAdvFieldsToNewCVLedgerEntry', '', false, false)]
local procedure DoSomethingOnAfterCopyAdvFieldsToNewCVLedgerEntry(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAdvFieldsToNewCVLedgerEntry(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforeCopyAdvFieldsToNewCVLedgerEntry', '', false, false)]
local procedure DoSomethingOnBeforeCopyAdvFieldsToNewCVLedgerEntry(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var OldCVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewCVLedgEntryBuf: Record "CV Ledger Entry Buffer")
begin
end;

OnBeforePostAdditionalGenJnlLinesFromSingleInstance(Codeunit Gen. Jnl.-Post Line, Boolean, Record Gen. Journal Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforePostAdditionalGenJnlLinesFromSingleInstance(var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; RunWithCheck: Boolean; var TempGenJnlLinesToPost: Record "Gen. Journal Line" temporary; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforePostAdditionalGenJnlLinesFromSingleInstance', '', false, false)]
local procedure DoSomethingOnBeforePostAdditionalGenJnlLinesFromSingleInstance(var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; RunWithCheck: Boolean; var TempGenJnlLinesToPost: Record "Gen. Journal Line" temporary; var IsHandled: Boolean)
begin
end;

OnBeforeInsertGLEntryFromVATEntry(Record Gen. Journal Line, Record G/L Entry, Record VAT Entry, Codeunit Gen. Jnl.-Post Line) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertGLEntryFromVATEntry(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; VATEntry: Record "VAT Entry"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforeInsertGLEntryFromVATEntry', '', false, false)]
local procedure DoSomethingOnBeforeInsertGLEntryFromVATEntry(GenJnlLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry"; VATEntry: Record "VAT Entry"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")
begin
end;

OnBeforeCalcRealizationFactorForAdvancePayment(Record VAT Entry, Decimal, Decimal, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcRealizationFactorForAdvancePayment(VATEntry: Record "VAT Entry"; FullAmount: Decimal; ApplicationAmount: Decimal; var Result: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforeCalcRealizationFactorForAdvancePayment', '', false, false)]
local procedure DoSomethingOnBeforeCalcRealizationFactorForAdvancePayment(VATEntry: Record "VAT Entry"; FullAmount: Decimal; ApplicationAmount: Decimal; var Result: Decimal; var IsHandled: Boolean)
begin
end;

OnAfterCalcVATAmountsForPaymentRealization(Decimal, Decimal, Decimal, Decimal, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcVATAmountsForPaymentRealization(var Amount: Decimal; var Base: Decimal; var AmountAddCurr: Decimal; var BaseAddCurr: Decimal; RealizationFactor: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnAfterCalcVATAmountsForPaymentRealization', '', false, false)]
local procedure DoSomethingOnAfterCalcVATAmountsForPaymentRealization(var Amount: Decimal; var Base: Decimal; var AmountAddCurr: Decimal; var BaseAddCurr: Decimal; RealizationFactor: Decimal)
begin
end;

OnBeforeCalcVATAmountsForPaymentRealization(Decimal, Decimal, Decimal, Decimal, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcVATAmountsForPaymentRealization(var Amount: Decimal; var Base: Decimal; var AmountAddCurr: Decimal; var BaseAddCurr: Decimal; RealizationFactor: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVGenJnlPostLineAdvBase", 'OnBeforeCalcVATAmountsForPaymentRealization', '', false, false)]
local procedure DoSomethingOnBeforeCalcVATAmountsForPaymentRealization(var Amount: Decimal; var Base: Decimal; var AmountAddCurr: Decimal; var BaseAddCurr: Decimal; RealizationFactor: Decimal)
begin
end;