ComponentOne True DBInput Pro 8.0
RateType Property (TDBFinancialX)

 

Reference> TDBFinancialX Object> TDBFinancialX Object Properties> RateType Property (TDBFinancialX)

RateType Property (TDBFinancialX)

Sets/returns how to perform a tax rate calculation.

Syntax

object.RateType= value

Read/Write at run time. Not available at design time.

Values

Description

Run Time

0 - Percentage will be omitted when calculating tax rate.

dbiRateNormal

1 - Tax rate value will be calculated as percentage. (Default)

dbiRatePercentage

Remarks

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)

TaxType Property (TDBFinancialX)

TaxCalc Method (TDBFinancialX)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback