Page "Apply Customer Entries"

ID 232
Namespace: Microsoft.Sales.Receivables

Properties

Name Value
Caption Apply Customer Entries
DataCaptionFields 3
DeleteAllowed False
InsertAllowed False
LinksAllowed False
PageType Worksheet
SourceTable Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

Methods

SetGenJnlLine

procedure SetGenJnlLine(NewGenJnlLine: Record "Gen. Journal Line", ApplnTypeSelect: Integer)

Parameters

Name Type Description
NewGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
ApplnTypeSelect Integer

SetSales

procedure SetSales(NewSalesHeader: Record "Sales Header", var NewCustLedgEntry: Record "Cust. Ledger Entry", ApplnTypeSelect: Integer)

Parameters

Name Type Description
NewSalesHeader Table Microsoft.Sales.Document."Sales Header"
NewCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ApplnTypeSelect Integer

SetService

Obsolete

This element will become obsolete from version 25.0. Use page Serv. Apply Customer Entries instead.

[Obsolete(Use page Serv. Apply Customer Entries instead.,25.0)]
procedure SetService(NewServHeader: Record "Service Header", var NewCustLedgEntry: Record "Cust. Ledger Entry", ApplnTypeSelect: Integer)

Parameters

Name Type Description
NewServHeader Table Microsoft.Service.Document."Service Header"
NewCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ApplnTypeSelect Integer

SetCustLedgEntry

procedure SetCustLedgEntry(NewCustLedgEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
NewCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

SetApplyingCustLedgEntry

procedure SetApplyingCustLedgEntry()

SetCustApplId

procedure SetCustApplId(CurrentRec: Boolean)

Parameters

Name Type Description
CurrentRec Boolean

CheckCustLedgEntry

procedure CheckCustLedgEntry(var CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

CalcApplnAmount

procedure CalcApplnAmount()

CheckRounding

procedure CheckRounding()

GetCustLedgEntry

procedure GetCustLedgEntry(var CustLedgEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

SetAppliesToID

procedure SetAppliesToID(AppliesToID2: Code[50])

Parameters

Name Type Description
AppliesToID2 Code[50]

ExchangeLedgerEntryAmounts

procedure ExchangeLedgerEntryAmounts(Type: Enum "Customer Apply Calculation Type", CurrencyCode: Code[10], var CalcCustLedgEntry: Record "Cust. Ledger Entry", PostingDate: Date)

Parameters

Name Type Description
Type Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"
CurrencyCode Code[10]
CalcCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
PostingDate Date

CalcOppositeEntriesAmount

procedure CalcOppositeEntriesAmount(var TempAppliedCustLedgerEntry: Record "Cust. Ledger Entry" temporary): Decimal

Parameters

Name Type Description
TempAppliedCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

Returns

Type Description
Decimal

GetApplnCurrencyCode

procedure GetApplnCurrencyCode(): Code[10]

Returns

Type Description
Code[10]

GetCalcType

procedure GetCalcType(): Integer

Returns

Type Description
Integer

SetCalcType

procedure SetCalcType(NewCalcType: Enum "Customer Apply Calculation Type")

Parameters

Name Type Description
NewCalcType Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"

Events

OnAfterCalcApplnAmount

[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")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
AppliedAmount Decimal
ApplyingAmount Decimal
CalcType Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"
AppliedCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterCalcApplnAmountToApply

[IntegrationEvent(False,False)]
local procedure OnAfterCalcApplnAmountToApply(CustLedgerEntry: Record "Cust. Ledger Entry", var ApplnAmountToApply: Decimal)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ApplnAmountToApply Decimal

OnAfterCalcApplnRemainingAmount

[IntegrationEvent(False,False)]
local procedure OnAfterCalcApplnRemainingAmount(CustLedgerEntry: Record "Cust. Ledger Entry", var ApplnRemainingAmount: Decimal)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ApplnRemainingAmount Decimal

OnAfterExchangeLedgerEntryAmounts

[IntegrationEvent(False,False)]
local procedure OnAfterExchangeLedgerEntryAmounts(var CalcCustLedgEntry: Record "Cust. Ledger Entry", CustLedgerEntry: Record "Cust. Ledger Entry", CurrencyCode: Code[10])

Parameters

Name Type Description
CalcCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CurrencyCode Code[10]

OnAfterGetAppliesToID

[IntegrationEvent(True,False)]
local procedure OnAfterGetAppliesToID(CalcType: Enum "Customer Apply Calculation Type", var AppliesToID: Code[50])

Parameters

Name Type Description
CalcType Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"
AppliesToID Code[50]

OnAfterLookupOKOnPush

[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")

Parameters

Name Type Description
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnAfterSetApplyingCustLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterSetApplyingCustLedgEntry(var ApplyingCustLedgEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", SalesHeader: Record "Sales Header")

Parameters

Name Type Description
ApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnBeforeCalcApplnAmount

[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)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
AppliedCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CalculationType Option
ApplicationType Option
IsHandled Boolean

OnBeforeCheckRounding

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckRounding(CalcType: Enum "Customer Apply Calculation Type", var ApplnRounding: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
CalcType Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"
ApplnRounding Decimal
IsHandled Boolean

OnBeforeHandledChosenEntries

[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")

Parameters

Name Type Description
Type Option
CurrentAmount Decimal
CurrencyCode Code[10]
PostingDate Date
AppliedCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
IsHandled Boolean
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnBeforeEarlierPostingDateError

[IntegrationEvent(False,False)]
local procedure OnBeforeEarlierPostingDateError(ApplyingCustLedgerEntry: Record "Cust. Ledger Entry", CustLedgerEntry: Record "Cust. Ledger Entry", var RaiseError: Boolean, CalcType: Option, var OK: Boolean)

Parameters

Name Type Description
ApplyingCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
RaiseError Boolean
CalcType Option
OK Boolean

OnBeforePostDirectApplication

[IntegrationEvent(True,False)]
local procedure OnBeforePostDirectApplication(var CustLedgerEntry: Record "Cust. Ledger Entry", PreviewMode: Boolean, var IsHandled: Boolean, var ApplyingCustLedgEntry: Record "Cust. Ledger Entry" temporary)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
PreviewMode Boolean
IsHandled Boolean
ApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnBeforeSetApplyingCustLedgEntry

Obsolete

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)

Parameters

Name Type Description
ApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
CalcType Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"
ServHeader Table Microsoft.Service.Document."Service Header"
IsHandled Boolean

OnBeforeSetApplyingCustLedgerEntry

[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)

Parameters

Name Type Description
ApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
CalcType Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"
IsHandled Boolean

OnBeforeSetCustEntryApplID

[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")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CurrentRec Boolean
ApplyingAmount Decimal
ApplyingCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
AppliesToID Code[50]
IsHandled Boolean
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnCalcApplnAmountOnCalcTypeGenJnlLineOnApplnTypeToDocNoOnBeforeSetAppliedAmount

[IntegrationEvent(False,False)]
local procedure OnCalcApplnAmountOnCalcTypeGenJnlLineOnApplnTypeToDocNoOnBeforeSetAppliedAmount(var AppliedCustLedgEntry: Record "Cust. Ledger Entry", ApplnDate: Date, ApplnCurrencyCode: Code[10])

Parameters

Name Type Description
AppliedCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ApplnDate Date
ApplnCurrencyCode Code[10]

OnCheckCustLedgEntryOnBeforeCheckAgainstApplnCurrency

[IntegrationEvent(False,False)]
local procedure OnCheckCustLedgEntryOnBeforeCheckAgainstApplnCurrency(var CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line", var TempApplyingCustLedgEntry: Record "Cust. Ledger Entry" temporary, CalcType: Enum "Customer Apply Calculation Type")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
TempApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CalcType Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"

OnCalcApplnAmountOnCalcTypeGenJnlLineOnApplnTypeToDocNoOnAfterSetAppliedAmount

[IntegrationEvent(False,False)]
local procedure OnCalcApplnAmountOnCalcTypeGenJnlLineOnApplnTypeToDocNoOnAfterSetAppliedAmount(var AppliedCustLedgEntry: Record "Cust. Ledger Entry", ApplnDate: Date, ApplnCurrencyCode: Code[10], var AppliedAmount: Decimal)

Parameters

Name Type Description
AppliedCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ApplnDate Date
ApplnCurrencyCode Code[10]
AppliedAmount Decimal

OnCalcApplnAmountOnCalcTypeSalesHeaderOnApplnTypeToDocNoOnBeforeSetAppliedAmount

[IntegrationEvent(False,False)]
local procedure OnCalcApplnAmountOnCalcTypeSalesHeaderOnApplnTypeToDocNoOnBeforeSetAppliedAmount(var AppliedCustLedgEntry: Record "Cust. Ledger Entry", ApplnDate: Date, ApplnCurrencyCode: Code[10])

Parameters

Name Type Description
AppliedCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ApplnDate Date
ApplnCurrencyCode Code[10]

OnFindFindApplyingEntryOnAfterCustLedgEntrySetFilters

[IntegrationEvent(False,False)]
local procedure OnFindFindApplyingEntryOnAfterCustLedgEntrySetFilters(ApplyingCustLedgerEntry: Record "Cust. Ledger Entry", var CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
ApplyingCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnFindApplyingEntryOnBeforeCalcApplnAmount

[IntegrationEvent(True,False)]
local procedure OnFindApplyingEntryOnBeforeCalcApplnAmount(var CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnHandleChosenEntriesOnAfterTempAppliedCustLedgEntryInsert

[IntegrationEvent(True,False)]
local procedure OnHandleChosenEntriesOnAfterTempAppliedCustLedgEntryInsert(var TempAppliedCustLedgerEntry: Record "Cust. Ledger Entry" temporary)

Parameters

Name Type Description
TempAppliedCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnHandleChosenEntriesOnBeforeDeleteTempAppliedCustLedgEntry

[IntegrationEvent(False,False)]
local procedure OnHandleChosenEntriesOnBeforeDeleteTempAppliedCustLedgEntry(var AppliedCustLedgEntry: Record "Cust. Ledger Entry", TempAppliedCustLedgEntry: Record "Cust. Ledger Entry" temporary, CurrencyCode: Code[10])

Parameters

Name Type Description
AppliedCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
TempAppliedCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CurrencyCode Code[10]

OnSetCustApplIdAfterCheckAgainstApplnCurrency

Obsolete

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")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CalcType Option
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ServHeader Table Microsoft.Service.Document."Service Header"
ApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnSetCustApplIdOnAfterCheckAgainstApplnCurrency

[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")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry2 Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CalcType Option
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
SalesHeader Table Microsoft.Sales.Document."Sales Header"
ApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnSetApplyingCustLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount

[IntegrationEvent(True,False)]
local procedure OnSetApplyingCustLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount(var CustLedgerEntry: Record "Cust. Ledger Entry", var ApplyingAmount: Decimal, var TempApplyingCustLedgEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ApplyingAmount Decimal
TempApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnOnQueryClosePageOnBeforeRunCustEntryEdit

[IntegrationEvent(True,False)]
local procedure OnOnQueryClosePageOnBeforeRunCustEntryEdit(var CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

OnPostDirectApplicationBeforeSetValues

[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)

Parameters

Name Type Description
GLSetup Table Microsoft.Finance.GeneralLedger.Setup."General Ledger Setup"
NewApplyUnapplyParameters Table Microsoft.Finance.ReceivablesPayables."Apply Unapply Parameters"

OnAfterSetApplyingCustLedgEntrySalesHeader

[IntegrationEvent(False,False)]
local procedure OnAfterSetApplyingCustLedgEntrySalesHeader(var TempApplyingCustLedgEntry: Record "Cust. Ledger Entry" temporary, var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
TempApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnAfterSetApplyingCustLedgEntryServiceHeader

Obsolete

This element will become obsolete from version 25.0. Use page Serv. Apply Customer Entries instead.

[Obsolete(Use page Serv. Apply Customer Entries instead.,25.0)]
[IntegrationEvent(False,False)]
local procedure OnAfterSetApplyingCustLedgEntryServiceHeader(var TempApplyingCustLedgEntry: Record "Cust. Ledger Entry" temporary, var ServiceHeader: Record "Service Header")

Parameters

Name Type Description
TempApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
ServiceHeader Table Microsoft.Service.Document."Service Header"

OnAfterSetApplyingCustLedgEntryGenJnlLine

[IntegrationEvent(False,False)]
local procedure OnAfterSetApplyingCustLedgEntryGenJnlLine(var TempApplyingCustLedgEntry: Record "Cust. Ledger Entry" temporary, var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
TempApplyingCustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnExchangeLedgerEntryAmountsOnBeforeCalculateAmounts

[IntegrationEvent(False,False)]
local procedure OnExchangeLedgerEntryAmountsOnBeforeCalculateAmounts(var CalcCustLedgerEntry: Record "Cust. Ledger Entry", CustLedgerEntry: Record "Cust. Ledger Entry", CurrencyCode: Code[10], CalculateCurrency: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
CalcCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CurrencyCode Code[10]
CalculateCurrency Boolean
IsHandled Boolean

OnCheckCustLedgEntryOnAfterEarlierPostingDateTest

[IntegrationEvent(False,False)]
local procedure OnCheckCustLedgEntryOnAfterEarlierPostingDateTest(ApplyingCustLedgerEntry: Record "Cust. Ledger Entry", CustLedgerEntry: Record "Cust. Ledger Entry", CalcType: Enum "Customer Apply Calculation Type", var OK: Boolean)

Parameters

Name Type Description
ApplyingCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CalcType Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"
OK Boolean

OnQueryClosePageOnAfterEarlierPostingDateTest

[IntegrationEvent(False,False)]
local procedure OnQueryClosePageOnAfterEarlierPostingDateTest(ApplyingCustLedgerEntry: Record "Cust. Ledger Entry", CustLedgerEntry: Record "Cust. Ledger Entry", CalcType: Enum "Customer Apply Calculation Type", var OK: Boolean)

Parameters

Name Type Description
ApplyingCustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
CalcType Enum Microsoft.Sales.Receivables."Customer Apply Calculation Type"
OK Boolean

OnCheckCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWhenEntryNoIsNotNull

[IntegrationEvent(False,False)]
local procedure OnCheckCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWhenEntryNoIsNotNull(CustLedgerEntry: Record "Cust. Ledger Entry", GenJournalLine: Record "Gen. Journal Line")

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnPostDirectApplicationOnAfterApply

[IntegrationEvent(False,False)]
local procedure OnPostDirectApplicationOnAfterApply(var CustLedgerEntry: Record "Cust. Ledger Entry", var NewApplyUnapplyParameters: Record "Apply Unapply Parameters" temporary, PreviewMode: Boolean, Applied: Boolean)

Parameters

Name Type Description
CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"
NewApplyUnapplyParameters Table Microsoft.Finance.ReceivablesPayables."Apply Unapply Parameters"
PreviewMode Boolean
Applied Boolean

See also