REVENUEFILTER
Holds information for revenue filters.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
Filter name |
ISDEFAULT |
bit |
|
Default = 0 |
True if the system default |
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
REVENUETYPECODES |
xml |
yes |
|
Revenue types |
TRANSACTIONTYPECODES |
xml |
yes |
|
Transaction types |
FUNCTIONNAME |
nvarchar(250) |
|
Default = '' |
|
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
IDSETREGISTERID |
uniqueidentifier |
yes |
IDSETREGISTER.ID
|
A foreign key to the ID set used to filter the records. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_REVENUEFILTER_DATEADDED |
DATEADDED |
|
|
yes |
IX_REVENUEFILTER_DATECHANGED |
DATECHANGED |
|
|
|
PK_REVENUEFILTER |
ID |
yes |
yes |
|
UC_REVENUEFILTER_NAME |
NAME |
yes |
|
|
Triggers
Referenced by