| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
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. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ACCOUNTINGELEMENTSECURITYGROUPID |
uniqueidentifier | ![]() |
ACCOUNTINGELEMENTSECURITYGROUP.ID | The ID of the security group that is assigned. |
DATAELEMENTID |
uniqueidentifier | ![]() |
PDACCOUNTSEGMENTVALUE.ID | The accounting element to which the security group is assigned. |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_ACCOUNTINGELEMENTSECURITYGROUPELEMENT_DATAELEMENTID |
DATAELEMENTID | |||
IX_ACCOUNTINGELEMENTSECURITYGROUPELEMENT_DATEADDED |
DATEADDED | ![]() |
||
IX_ACCOUNTINGELEMENTSECURITYGROUPELEMENT_DATECHANGED |
DATECHANGED | |||
PK_ACCOUNTINGELEMENTSECURITYGROUPELEMENT |
ID | ![]() |
![]() |
|
UIX_ACCOUNTINGELEMENTSECURITYGROUPELEMENT_ACCOUNTINGELEMENTSECURITYGROUPID_DATAELEMENTID |
ACCOUNTINGELEMENTSECURITYGROUPID, DATAELEMENTID | ![]() |
| Trigger Name | Description |
|---|---|
TR_ACCOUNTINGELEMENTSECURITYGROUPELEMENT_AUDIT_UPDATE |
|
TR_ACCOUNTINGELEMENTSECURITYGROUPELEMENT_AUDIT_DELETE |

ID
DATEADDED
TSLONG
ACCOUNTINGELEMENTSECURITYGROUPID
IX_ACCOUNTINGELEMENTSECURITYGROUPELEMENT_DATAELEMENTID
IX_ACCOUNTINGELEMENTSECURITYGROUPELEMENT_DATEADDED