GLREVENUECATEGORYMAPPING
Provides a mapping between different revenue categories and GL codes.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
ACCOUNTCODE |
nvarchar(100) |
|
Default = '' |
GL account code |
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. |
REVENUECATEGORYNAME |
nvarchar(100) |
|
Default = '' |
The name of the revenue category for this mapping. |
ACTIVE |
bit |
|
Default = 1 |
Specifies whether or not this revenue category is active. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_GLREVENUECATEGORYMAPPING_DATEADDED |
DATEADDED |
|
|
yes |
IX_GLREVENUECATEGORYMAPPING_DATECHANGED |
DATECHANGED |
|
|
|
PK_GLREVENUECATEGORYMAPPING |
ID |
yes |
yes |
|
UC_GLREVENUECATEGORYMAPPING_REVENUECATEGORYNAME |
REVENUECATEGORYNAME |
yes |
|
|
Triggers
Referenced by