PDCOMPOSITESEGMENTMAPPING
Holds mapping parent for Composite Segments.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(50) |
|
Default = '' |
Composite Segment name |
| ISDEFAULT |
bit |
|
Default = 0 |
Is this the default value for the segment. |
| 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. |
| COMPOSITESEGMENTKEY |
nvarchar(144) |
|
Default = '' |
Concatenated GUIDs from the segments that makue up the composite segment. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| PDACCOUNTSTRUCTUREID |
uniqueidentifier |
yes |
PDACCOUNTSTRUCTURE.ID
|
FK to linked account structure element. |
| PDCOMPOSITESEGMENTID |
uniqueidentifier |
yes |
PDCOMPOSITESEGMENT.ID
|
The parent entry in the PDCOMPOSITESEGMENT Table |
| PDACCOUNTSEGMENTVALUEID |
uniqueidentifier |
yes |
PDACCOUNTSEGMENTVALUE.ID
|
FK to the table pointed to in the PDAccountSegmentValue(short description) |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_PDCOMPOSITESEGMENTMAPPING_DATEADDED |
DATEADDED |
|
|
yes |
| IX_PDCOMPOSITESEGMENTMAPPING_DATECHANGED |
DATECHANGED |
|
|
|
| PK_PDCOMPOSITESEGMENTMAPPING |
ID |
yes |
yes |
|
Triggers
Referenced by