TAX (4.0SP20)

Contains Name and Description for a Tax

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

NAME

nvarchar(100)

false

''

Name of tax

DESCRIPTION

nvarchar(255)

false

''

Description of tax

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.

ISACTIVE

bit

false

1

Indicates whether this tax is currently available for use

APPLIESTOMERCHANDISE

bit

false

0

Indicates whether this tax applies to taxable merchandise.

TOTALTAX

decimal(7, 4) (Computed)

true

DEFAULTFORMERCHANDISE

bit

false

0

Indexes
Index Name Field(s) Unique Primary Clustered

IX_TAX_DATEADDED

DATEADDED

False

False

True

IX_TAX_DATECHANGED

DATECHANGED

False

False

False

PK_TAX

ID

True

True

False

UC_TAX_NAME

NAME

True

False

False

Triggers
Trigger Name Description

TR_TAX_AUDIT_UPDATE

TR_TAX_AUDIT_DELETE

Referenced by
Referenced by Field

DISCOUNTTAX

TAXID

FEETAX

TAXID

MERCHANDISEPRODUCT

TAXID

PROGRAMTAX

TAXID

RESOURCETAX

TAXID

REVENUESPLITORDER

TAXID

SALESORDERITEMTAX

TAXID

TAXGLMAPPING

ID

TAXITEM

TAXID

VOLUNTEERTYPETAX

TAXID