Reference > TDBFinancialX Object > TDBFinancialX Object Properties > RateType Property (TDBFinancialX) |
RateType Property (TDBFinancialX)
Sets/returns how to perform a tax rate calculation.
object.RateType= value
Read/Write at run time. Not available at design time.
Description |
Run Time |
0 - Percentage will be omitted when calculating tax rate. |
dbiRateNormal |
1 - Tax rate value will be calculated as percentage. (Default) |
dbiRatePercentage |
The RateType property determines whether the tax value specified in the TaxRate property is calculated in percentage or not. If set to 0-Normal, the percentage calculation will be omitted.
If the RateType is set to 0-Normal when calculating a pre-tax total, setting the TaxRate property larger or equal to 1 will cause the TaxCalc method to fail.
If the RateType is set to 0-Percentage when calculating a pre-tax total, setting the TaxRate property larger or equal to 100 will also cause the TaxCalc method to fail.
See Also
TaxRate Property (TDBFinancialX)