VATTAXRATE (4.0SP20)

Contains value added tax rates.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DESCRIPTION

nvarchar(50)

false

''

Description of the value added tax rate.

TAXRATE

decimal(7, 3)

false

0

The decimal representation (0-100) of the tax rate.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_VATTAXRATE_DATEADDED

DATEADDED

False

False

True

IX_VATTAXRATE_DATECHANGED

DATECHANGED

False

False

False

PK_VATTAXRATE

ID

True

True

False

UC_VATTAXRATE_DESCRIPTION

DESCRIPTION

True

False

False

Triggers
Trigger Name Description

TR_VATTAXRATE_AUDIT_UPDATE

TR_VATTAXRATE_AUDIT_DELETE

Referenced by
Referenced by Field

BATCHREVENUE

VATTAXRATEID

REVENUEVAT

VATTAXRATEID