This element will become obsolete from version 27.0. Use procedure CalculatePaymentStats(CustomerNo: Code[20]; var Stats: Dictionary of [Text, Text]) instead.
[Obsolete(Use procedure CalculatePaymentStats(CustomerNo: Code[20]; var Stats: Dictionary of [Text, Text]) instead.,27.0)]
procedure AvgDaysToPay(CustNo: Code[20]): Decimal
Parameters
Name
Type
Description
CustNo
Code[20]
Returns
Type
Description
Decimal
CalculatePaymentStats
procedure CalculatePaymentStats(CustomerNo: Code[20], var Stats: Dictionary of [Text, Text])
Parameters
Name
Type
Description
CustomerNo
Code[20]
Stats
Dictionary of [Text, Text]
CalcLastPaymentInfo
procedure CalcLastPaymentInfo(CustomerNo: Code[20], var Stats: Dictionary of [Text, Text])
Parameters
Name
Type
Description
CustomerNo
Code[20]
Stats
Dictionary of [Text, Text]
CalcNumberOfDistinctItemsSold
procedure CalcNumberOfDistinctItemsSold(CustomerNo: Code[20], var Stats: Dictionary of [Text, Text])
Parameters
Name
Type
Description
CustomerNo
Code[20]
Stats
Dictionary of [Text, Text]
CalculateInteractionStats
procedure CalculateInteractionStats(CustomerNo: Code[20], var Stats: Dictionary of [Text, Text])
Parameters
Name
Type
Description
CustomerNo
Code[20]
Stats
Dictionary of [Text, Text]
CalculateStatistic
procedure CalculateStatistic(Customer: Record Customer, var AdjmtCostLCY: Decimal, var AdjCustProfit: Decimal, var AdjProfitPct: Decimal, var CustInvDiscAmountLCY: Decimal, var CustPaymentsLCY: Decimal, var CustSalesLCY: Decimal, var CustProfit: Decimal)
procedure CalculateStatisticsWithCurrentCustomerValues(var Customer: Record Customer, var AdjmtCostLCY: Decimal, var AdjCustProfit: Decimal, var AdjProfitPct: Decimal, var CustInvDiscAmountLCY: Decimal, var CustPaymentsLCY: Decimal, var CustSalesLCY: Decimal, var CustProfit: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeSearchForExternalDocNo(var OriginalSalesHeader: Record "Sales Header", var ResultFound: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalculateStatisticsWithCurrentCustomerValues(var Customer: Record Customer, var AdjmtCostLCY: Decimal, var AdjCustProfit: Decimal, var AdjProfitPct: Decimal, var CustInvDiscAmountLCY: Decimal, var CustPaymentsLCY: Decimal, var CustSalesLCY: Decimal, var CustProfit: Decimal, var IsHandled: Boolean)