PDACCOUNTCODEMAPSUBLEDGER
Account code mapping subledger types table.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| SUBLEDGER |
nvarchar(25) |
|
Default = '' |
Sub Ledger for mapping |
| SUBLEDGERTYPE |
tinyint |
|
Default = 0 |
Numeric representation of Segment type (Development 1, Ticketing 2, Fixed Assets 3 |
| DESCRIPTION |
nvarchar(100) |
|
Default = '' |
Sub Ledger for mapping |
| 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. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| SITEID |
uniqueidentifier |
yes |
SITE.ID
|
Site used by this segment |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_PDACCOUNTCODEMAPSUBLEDGER_DATEADDED |
DATEADDED |
|
|
yes |
| IX_PDACCOUNTCODEMAPSUBLEDGER_DATECHANGED |
DATECHANGED |
|
|
|
| PK_PDACCOUNTCODEMAPSUBLEDGER |
ID |
yes |
yes |
|
| UC_PDACCOUNTCODEMAPSUBLEDGER_SUBLEDGER |
SUBLEDGER |
yes |
|
|
Triggers