FENXTACCOUNTSTRUCTURE
Primary Key
| Primary Key | Field Type |
|---|---|
| ID | uniqueidentifier |
Fields
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| SEGMENTID | int | Default = 0 | ||
| SEPARATOR | nvarchar(20) | Default = '' | ||
| SEGMENTTYPE | nvarchar(50) | Default = '' | ||
| SEGMENTLENGTH | int | Default = 0 | ||
| SEGMENTSEQUENCE | int | Default = 0 | ||
| SEGMENTSTART | int | Default = 0 | ||
| DATEADDED | datetime | Default = getdate() | ||
| DATECHANGED | datetime | Default = getdate() | ||
| TS | timestamp | |||
| TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) |
Foreign Keys
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| PDACCOUNTSYSTEMID | uniqueidentifier | yes | PDACCOUNTSYSTEM.ID | |
| ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
| CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
| Index Name | Fields | Unique | Primary | Clustered |
|---|---|---|---|---|
| IX_FENXTACCOUNTSTRUCTURE_DATEADDED | DATEADDED | |||
| IX_FENXTACCOUNTSTRUCTURE_DATECHANGED | DATECHANGED | |||
| PK_FENXTACCOUNTSTRUCTURE | ID | yes | yes | |
| UIX_FENXTACCOUNTSTRUCTURE_PDACCOUNTSYSTEMID_SEGMENTID | PDACCOUNTSYSTEMID, SEGMENTID | yes | yes |
Triggers
| Trigger Name | Description |
|---|---|
| TR_FENXTACCOUNTSTRUCTURE_AUDIT_UPDATE | |
| TR_FENXTACCOUNTSTRUCTURE_AUDIT_DELETE |