Calculates the Rebate due for a Value, given parameters such as the method and period covered.

Syntax

finAccountFunctions.CalculateRebate(value, calculationMethod, calculationLess, dateStart, dateEnd, dateRebate, rebate, [frequencyCycle], [message])

Parameters

NameTypeOptionalByRefDescription
value Decimal The Value.
calculationMethod isefinElementCreditCalculationMethod The Rebate Method.
calculationLess Double Extra percentage to deduct from the calculated Rebate, as in RO78 less 10%.
dateStart Date The start date of the overall period the Value applies to.
dateEnd Date The end date of the overall period the Value applies to.
dateRebate Date The date to calculate the Rebate as at. If prior to dateStart rebate=Value, if after dateEnd rebate=0.
rebate Decimal ByRef The Rebate calculated.
frequencyCycle String Optional If "Proportional" method is used, the frequency of payments within the overall period.
message String Optional ByRef Returns a message describing how the Rebate was calculated.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finAccountFunctions
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0