Skip to content

KVSADVAdvApplicationMgtPurch#

Events#

OnBeforeCheckDirectApplyOfAdance(Record Vendor Ledger Entry, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDirectApplyOfAdance(CVLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnBeforeCheckDirectApplyOfAdance', '', false, false)]
local procedure DoSomethingOnBeforeCheckDirectApplyOfAdance(CVLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)
begin
end;

OnBeforeCheckApplyingDocType(Record Vendor Ledger Entry, Record Vendor Ledger Entry, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckApplyingDocType(CVLedgEntryToUpdate: Record "Vendor Ledger Entry"; ApplyingCVLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnBeforeCheckApplyingDocType', '', false, false)]
local procedure DoSomethingOnBeforeCheckApplyingDocType(CVLedgEntryToUpdate: Record "Vendor Ledger Entry"; ApplyingCVLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)
begin
end;

OnAfterSetFilterForUnappliedDtltdCVLedgerEntriesForClosCrMemoCorrection(Record Detailed Vendor Ledg. Entry, Record Detailed Vendor Ledg. Entry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSetFilterForUnappliedDtltdCVLedgerEntriesForClosCrMemoCorrection(UnapplyingDtldCVLedgerEntry: Record "Detailed Vendor Ledg. Entry"; var UnappliedDtldCVLedgerEntry: Record "Detailed Vendor Ledg. Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnAfterSetFilterForUnappliedDtltdCVLedgerEntriesForClosCrMemoCorrection', '', false, false)]
local procedure DoSomethingOnAfterSetFilterForUnappliedDtltdCVLedgerEntriesForClosCrMemoCorrection(UnapplyingDtldCVLedgerEntry: Record "Detailed Vendor Ledg. Entry"; var UnappliedDtldCVLedgerEntry: Record "Detailed Vendor Ledg. Entry")
begin
end;

OnBeforePostCorrectionOfAdvClosCrMemoForUnapplication(Record Gen. Journal Line, Record Detailed Vendor Ledg. Entry, Record Purch. Cr. Memo Hdr., Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforePostCorrectionOfAdvClosCrMemoForUnapplication(GenJournalLine: Record "Gen. Journal Line"; DetailedCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; var AdvClosCMHeader: Record "Purch. Cr. Memo Hdr."; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnBeforePostCorrectionOfAdvClosCrMemoForUnapplication', '', false, false)]
local procedure DoSomethingOnBeforePostCorrectionOfAdvClosCrMemoForUnapplication(GenJournalLine: Record "Gen. Journal Line"; DetailedCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; var AdvClosCMHeader: Record "Purch. Cr. Memo Hdr."; var IsHandled: Boolean)
begin
end;

OnAfterPostCorrectionOfAdvClosCrMemoForUnapplication(Record Gen. Journal Line, Record Detailed Vendor Ledg. Entry, Record Purch. Cr. Memo Hdr., Code[20]) :#

[IntegrationEvent(false, false)]
local procedure OnAfterPostCorrectionOfAdvClosCrMemoForUnapplication(GenJournalLine: Record "Gen. Journal Line"; DetailedCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; AdvClosCMHeader: Record "Purch. Cr. Memo Hdr."; AdvPostedInvNo: Code[20]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnAfterPostCorrectionOfAdvClosCrMemoForUnapplication', '', false, false)]
local procedure DoSomethingOnAfterPostCorrectionOfAdvClosCrMemoForUnapplication(GenJournalLine: Record "Gen. Journal Line"; DetailedCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; AdvClosCMHeader: Record "Purch. Cr. Memo Hdr."; AdvPostedInvNo: Code[20])
begin
end;

OnBeforeCheckAdvanceApplicationAllowedForCVLedgerEntry(Record Vendor Ledger Entry, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckAdvanceApplicationAllowedForCVLedgerEntry(var CVLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnBeforeCheckAdvanceApplicationAllowedForCVLedgerEntry', '', false, false)]
local procedure DoSomethingOnBeforeCheckAdvanceApplicationAllowedForCVLedgerEntry(var CVLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)
begin
end;

OnAfterCalcClosingAmountAvailableForApplication(Record Detailed Vendor Ledg. Entry, Record KVSADVPostedAdvClosCrMemoEntry, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcClosingAmountAvailableForApplication(DtldCVLedgerEntry: Record "Detailed Vendor Ledg. Entry"; ClCMEntry: Record "KVSADVPostedAdvClosCrMemoEntry"; var TotalClCMAmt: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnAfterCalcClosingAmountAvailableForApplication', '', false, false)]
local procedure DoSomethingOnAfterCalcClosingAmountAvailableForApplication(DtldCVLedgerEntry: Record "Detailed Vendor Ledg. Entry"; ClCMEntry: Record "KVSADVPostedAdvClosCrMemoEntry"; var TotalClCMAmt: Decimal)
begin
end;

OnAfterCalcExchRateAmountAvailableForApplication(Record Detailed Vendor Ledg. Entry, Record KVSADVPostedAdvClosCrMemoEntry, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcExchRateAmountAvailableForApplication(DtldCVLedgerEntry: Record "Detailed Vendor Ledg. Entry"; ClCMEntry: Record "KVSADVPostedAdvClosCrMemoEntry"; var TotalExchRateAmt: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnAfterCalcExchRateAmountAvailableForApplication', '', false, false)]
local procedure DoSomethingOnAfterCalcExchRateAmountAvailableForApplication(DtldCVLedgerEntry: Record "Detailed Vendor Ledg. Entry"; ClCMEntry: Record "KVSADVPostedAdvClosCrMemoEntry"; var TotalExchRateAmt: Decimal)
begin
end;

OnBeforeCheckDtldLedgEntryUnapplicationAllowed(Record Detailed Vendor Ledg. Entry, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDtldLedgEntryUnapplicationAllowed(DetailedCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnBeforeCheckDtldLedgEntryUnapplicationAllowed', '', false, false)]
local procedure DoSomethingOnBeforeCheckDtldLedgEntryUnapplicationAllowed(DetailedCVLedgEntry: Record "Detailed Vendor Ledg. Entry"; var IsHandled: Boolean)
begin
end;

OnBeforeCheckCVLedgerEntryReversalAllowed(Record Vendor Ledger Entry, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckCVLedgerEntryReversalAllowed(CVLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtPurch", 'OnBeforeCheckCVLedgerEntryReversalAllowed', '', false, false)]
local procedure DoSomethingOnBeforeCheckCVLedgerEntryReversalAllowed(CVLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)
begin
end;