| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
LONGDESCRIPTIONID |
nvarchar(36) | Default = '' | FK (not enforced) to the table pointed to in the PDACCOUNTSTRUCTURE segment | |
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. |
LONGDESCRIPTION |
nvarchar(512) (Computed) | ![]() |
([dbo].[UFN_PDACCOUNTSEGMENTMAP_GETLONGDESCRIPTION](LONGDESCRIPTIONID, ISDEFAULT)) | Long description. |
ISCONSTANTVALUE |
bit | Default = 0 | Flag for constant valued segments. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
PDACCOUNTSTRUCTUREID |
uniqueidentifier | ![]() |
PDACCOUNTSTRUCTURE.ID | FK to linked account structure element. |
PDACCOUNTSEGMENTVALUEID |
uniqueidentifier | ![]() |
PDACCOUNTSEGMENTVALUE.ID | FK to the table pointed to in the PDAccountSegmentValue |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_PDACCOUNTSEGMENTMAPPING_DATEADDED |
DATEADDED | ![]() |
||
IX_PDACCOUNTSEGMENTMAPPING_DATECHANGED |
DATECHANGED | |||
IX_PDACCOUNTSEGMENTMAPPING_LONGDESCRIPTIONID_PDACCOUNTSTRUCTUREID_ISDEFAULT_PDACCOUNTSEGMENTVALUEID |
LONGDESCRIPTIONID, PDACCOUNTSTRUCTUREID, ISDEFAULT, PDACCOUNTSEGMENTVALUEID | |||
PK_PDACCOUNTSEGMENTMAPPING |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_PDACCOUNTSEGMENTMAPPING_AUDIT_UPDATE |
|
TR_PDACCOUNTSEGMENTMAPPING_AUDIT_DELETE |
|
TR_PDACCOUNTSEGMENTMAPPING_IUD |

ID
LONGDESCRIPTIONID
TSLONG
PDACCOUNTSTRUCTUREID
IX_PDACCOUNTSEGMENTMAPPING_DATEADDED
IX_PDACCOUNTSEGMENTMAPPING_DATECHANGED