| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
PERCENTAGE |
decimal(20, 4) | Default = 0 | The percentage of the Tax Item | |
DATEADDED |
datetime | Default = getdate() | Indicates the date this record was added. | |
DATECHANGED |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
TS |
timestamp | Timestamp. | ||
TSLONG |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
TAXID |
uniqueidentifier | TAX.ID | The ID of the Tax that the Tax Item belongs to | |
TAXENTITYCODEID |
uniqueidentifier | TAXENTITYCODE.ID | The ID of the Tax Entity that belongs to this Tax | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_TAXITEM_DATEADDED |
DATEADDED | ![]() |
||
IX_TAXITEM_DATECHANGED |
DATECHANGED | |||
PK_TAXITEM |
ID | ![]() |
![]() |
|
UIX_TAXITEM_TAXENTITYCODEID_TAXID |
TAXENTITYCODEID, TAXID | ![]() |
| Trigger Name | Description |
|---|---|
TR_TAXITEM_AUDIT_UPDATE |
|
TR_TAXITEM_AUDIT_DELETE |

ID
PERCENTAGE
TSLONG
TAXID
IX_TAXITEM_DATEADDED
IX_TAXITEM_DATECHANGED