[IntegrationEvent(True,False)]
local procedure OnAfterCalcApplnAmount(CustLedgerEntry: Record "Cust. Ledger Entry", var AppliedAmount: Decimal, var ApplyingAmount: Decimal, var CalcType: Enum "Customer Apply Calculation Type", var AppliedCustLedgEntry: Record "Cust. Ledger Entry", var GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnAfterCalcApplnAmountToApply(CustLedgerEntry: Record "Cust. Ledger Entry", var ApplnAmountToApply: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcApplnRemainingAmount(CustLedgerEntry: Record "Cust. Ledger Entry", var ApplnRemainingAmount: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterLookupOKOnPush(var OK: Boolean)
Parameters
Name
Type
Description
OK
Boolean
OnAfterOnOpenPage
[IntegrationEvent(True,False)]
local procedure OnAfterOnOpenPage(var GenJnlLine: Record "Gen. Journal Line", var CustLedgerEntry: Record "Cust. Ledger Entry", var ApplyingCustLedgEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(True,False)]
local procedure OnAfterSetApplyingCustLedgEntry(var ApplyingCustLedgEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", SalesHeader: Record "Sales Header")
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcApplnAmount(var CustLedgerEntry: Record "Cust. Ledger Entry", var GenJournalLine: Record "Gen. Journal Line", SalesHeader: Record "Sales Header", var AppliedCustLedgerEntry: Record "Cust. Ledger Entry", CalculationType: Option, ApplicationType: Option, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckRounding(CalcType: Enum "Customer Apply Calculation Type", var ApplnRounding: Decimal, var IsHandled: Boolean)
[IntegrationEvent(True,False)]
local procedure OnBeforeHandledChosenEntries(Type: Option, CurrentAmount: Decimal, CurrencyCode: Code[10], PostingDate: Date, var AppliedCustLedgerEntry: Record "Cust. Ledger Entry", var IsHandled: Boolean, var CustLedgEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeEarlierPostingDateError(ApplyingCustLedgerEntry: Record "Cust. Ledger Entry", CustLedgerEntry: Record "Cust. Ledger Entry", var RaiseError: Boolean, CalcType: Option, var OK: Boolean)
[IntegrationEvent(True,False)]
local procedure OnBeforePostDirectApplication(var CustLedgerEntry: Record "Cust. Ledger Entry", PreviewMode: Boolean, var IsHandled: Boolean, var ApplyingCustLedgEntry: Record "Cust. Ledger Entry" temporary)
This element will become obsolete from version 25.0. Relaced by event OnBeforeSetApplyingCustLedgerEntry without ServHeader parameters
[Obsolete(Relaced by event OnBeforeSetApplyingCustLedgerEntry without ServHeader parameters,25.0)]
[IntegrationEvent(True,False)]
local procedure OnBeforeSetApplyingCustLedgEntry(var ApplyingCustLedgEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", SalesHeader: Record "Sales Header", var CalcType: Enum "Customer Apply Calculation Type", ServHeader: Record "Service Header", var IsHandled: Boolean)
[IntegrationEvent(True,False)]
local procedure OnBeforeSetApplyingCustLedgerEntry(var ApplyingCustLedgEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", SalesHeader: Record "Sales Header", var CalcType: Enum "Customer Apply Calculation Type", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeSetCustEntryApplID(CustLedgerEntry: Record "Cust. Ledger Entry", CurrentRec: Boolean, var ApplyingAmount: Decimal, var ApplyingCustLedgerEntry: Record "Cust. Ledger Entry", AppliesToID: Code[50], var IsHandled: Boolean, var GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnFindFindApplyingEntryOnAfterCustLedgEntrySetFilters(ApplyingCustLedgerEntry: Record "Cust. Ledger Entry", var CustLedgerEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(True,False)]
local procedure OnHandleChosenEntriesOnAfterTempAppliedCustLedgEntryInsert(var TempAppliedCustLedgerEntry: Record "Cust. Ledger Entry" temporary)
This element will become obsolete from version 25.0. Replaced by event OnSetCustApplIdOnAfterCheckAgainstApplnCurrency ServHeader parameter
[Obsolete(Replaced by event OnSetCustApplIdOnAfterCheckAgainstApplnCurrency ServHeader parameter,25.0)]
[IntegrationEvent(False,False)]
local procedure OnSetCustApplIdAfterCheckAgainstApplnCurrency(var CustLedgerEntry: Record "Cust. Ledger Entry", CalcType: Option, var GenJnlLine: Record "Gen. Journal Line", SalesHeader: Record "Sales Header", ServHeader: Record "Service Header", ApplyingCustLedgEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnSetCustApplIdOnAfterCheckAgainstApplnCurrency(var CustLedgerEntry: Record "Cust. Ledger Entry", var CustLedgerEntry2: Record "Cust. Ledger Entry", CalcType: Option, var GenJnlLine: Record "Gen. Journal Line", SalesHeader: Record "Sales Header", ApplyingCustLedgEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(True,False)]
local procedure OnSetApplyingCustLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount(var CustLedgerEntry: Record "Cust. Ledger Entry", var ApplyingAmount: Decimal, var TempApplyingCustLedgEntry: Record "Cust. Ledger Entry")
[IntegrationEvent(False,False)]
local procedure OnPostDirectApplicationBeforeSetValues(var ApplicationDate: Date)
Parameters
Name
Type
Description
ApplicationDate
Date
OnPostDirectApplicationBeforeApply
[IntegrationEvent(False,False)]
local procedure OnPostDirectApplicationBeforeApply(GLSetup: Record "General Ledger Setup", var NewApplyUnapplyParameters: Record "Apply Unapply Parameters" temporary)
[IntegrationEvent(False,False)]
local procedure OnAfterSetApplyingCustLedgEntrySalesHeader(var TempApplyingCustLedgEntry: Record "Cust. Ledger Entry" temporary, var SalesHeader: Record "Sales Header")
[IntegrationEvent(False,False)]
local procedure OnAfterSetApplyingCustLedgEntryGenJnlLine(var TempApplyingCustLedgEntry: Record "Cust. Ledger Entry" temporary, var GenJnlLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnCheckCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWhenEntryNoIsNotNull(CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line")
[IntegrationEvent(False,False)]
local procedure OnPostDirectApplicationOnAfterApply(var CustLedgerEntry: Record "Cust. Ledger Entry", var NewApplyUnapplyParameters: Record "Apply Unapply Parameters" temporary, PreviewMode: Boolean, Applied: Boolean)