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)
Parameters
Name
Type
Description
Customer
Record Customer
AdjmtCostLCY
Decimal
AdjCustProfit
Decimal
AdjProfitPct
Decimal
CustInvDiscAmountLCY
Decimal
CustPaymentsLCY
Decimal
CustSalesLCY
Decimal
CustProfit
Decimal
CalculateStatisticsWithCurrentCustomerValues
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)
Parameters
Name
Type
Description
Customer
Record Customer
AdjmtCostLCY
Decimal
AdjCustProfit
Decimal
AdjProfitPct
Decimal
CustInvDiscAmountLCY
Decimal
CustPaymentsLCY
Decimal
CustSalesLCY
Decimal
CustProfit
Decimal
CalcAmountsOnPostedInvoices
procedure CalcAmountsOnPostedInvoices(CustNo: Code[20], var RecCount: Integer): Decimal
Parameters
Name
Type
Description
CustNo
Code[20]
RecCount
Integer
Returns
Type
Description
Decimal
CalcAmountsOnPostedCrMemos
procedure CalcAmountsOnPostedCrMemos(CustNo: Code[20], var RecCount: Integer): Decimal
Parameters
Name
Type
Description
CustNo
Code[20]
RecCount
Integer
Returns
Type
Description
Decimal
CalcAmountsOnOrders
procedure CalcAmountsOnOrders(CustNo: Code[20], var RecCount: Integer): Decimal
Parameters
Name
Type
Description
CustNo
Code[20]
RecCount
Integer
Returns
Type
Description
Decimal
CalcAmountsOnQuotes
procedure CalcAmountsOnQuotes(CustNo: Code[20], var RecCount: Integer): Decimal
This element will become obsolete from version 24.0. Replaced by procedure CalculateShipToBillToEnums()
[Obsolete(Replaced by procedure CalculateShipToBillToEnums(),24.0)]
procedure CalculateShipToBillToOptions(var ShipToOptions: Option, var BillToOptions: Option, var SalesHeader: Record "Sales Header")
Parameters
Name
Type
Description
ShipToOptions
Option
BillToOptions
Option
SalesHeader
Record "Sales Header"
CalculateShipBillToOptions
procedure CalculateShipBillToOptions(var ShipToOptions: Enum "Sales Ship-to Options", var BillToOptions: Enum "Sales Bill-to Options", var SalesHeader: Record "Sales Header")