Skip to content

KVSADVAdvApplicationMgtSales#

Events#

OnBeforeCheckDirectApplyOfAdance(Record Cust. Ledger Entry, Boolean) :#

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

OnBeforeCheckApplyingDocType(Record Cust. Ledger Entry, Record Cust. Ledger Entry, Variant) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckApplyingDocType(CVLedgEntryToUpdate: Record "Cust. Ledger Entry"; ApplyingCVLedgEntry: Record "Cust. Ledger Entry"; arg: Variant): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVAdvApplicationMgtSales", 'OnBeforeCheckApplyingDocType', '', false, false)]
local procedure DoSomethingOnBeforeCheckApplyingDocType(CVLedgEntryToUpdate: Record "Cust. Ledger Entry"; ApplyingCVLedgEntry: Record "Cust. Ledger Entry"; arg: Variant)
begin
end;

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

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

OnBeforePostCorrectionOfAdvClosCrMemoForUnapplication(Record Gen. Journal Line, Record Detailed Cust. Ledg. Entry, Record Sales Cr.Memo Header, Boolean) :#

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

OnAfterPostCorrectionOfAdvClosCrMemoForUnapplication(Record Gen. Journal Line, Record Detailed Cust. Ledg. Entry, Record Sales Cr.Memo Header, Code[20]) :#

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

OnBeforeCheckAdvanceApplicationAllowedForCVLedgerEntry(Record Cust. Ledger Entry, Boolean) :#

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

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

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

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

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

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

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

OnBeforeCheckCVLedgerEntryReversalAllowed(Record Cust. Ledger Entry, Boolean) :#

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