| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| 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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
COMPOSITESEGMENTKEY |
nvarchar(144) | Default = '' | Concatinated GUIDs from the segments that makue up the composite segment. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
PDACCOUNTSTRUCTUREID |
uniqueidentifier | ![]() |
PDACCOUNTSTRUCTURE.ID | FK to linked account structure element. |
PDCOMPOSITESEGMENTID |
uniqueidentifier | ![]() |
PDCOMPOSITESEGMENT.ID | The parent entry in the PDCOMPOSITESEGMENT Table |
PDACCOUNTSEGMENTVALUEID |
uniqueidentifier | ![]() |
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. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_PDCOMPOSITESEGMENTMAPPING_DATEADDED |
DATEADDED | ![]() |
||
IX_PDCOMPOSITESEGMENTMAPPING_DATECHANGED |
DATECHANGED | |||
PK_PDCOMPOSITESEGMENTMAPPING |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_PDCOMPOSITESEGMENTMAPPING_IUD |
|
TR_PDCOMPOSITESEGMENTMAPPING_AUDIT_UPDATE |
|
TR_PDCOMPOSITESEGMENTMAPPING_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
PDCOMPOSITESEGMENTMAPPINGENTRY |
PDCOMPOSITESEGMENTMAPPINGID |

ID
NAME
TSLONG
PDACCOUNTSTRUCTUREID
IX_PDCOMPOSITESEGMENTMAPPING_DATEADDED
IX_PDCOMPOSITESEGMENTMAPPING_DATECHANGED