| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
DUNS |
nvarchar(10) | Default = '' | ||
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 |
|---|---|---|---|---|
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CONSTITUENTID |
uniqueidentifier | ![]() |
CONSTITUENT.LOCALID | FK to CONSTITUENT |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_WPRELATIONSHIP_BO_CONSTITUENTID |
CONSTITUENTID | |||
IX_WPRELATIONSHIP_BO_DATEADDED |
DATEADDED | ![]() |
||
IX_WPRELATIONSHIP_BO_DATECHANGED |
DATECHANGED | |||
IX_WPRELATIONSHIP_BO_DUNS |
DUNS | |||
PK_WPRELATIONSHIP_BO |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_WPRELATIONSHIP_BO_AUDIT_UPDATE |
|
TR_WPRELATIONSHIP_BO_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
WPBUSINESSOWNERSHIP |
WPRELATIONSHIP_BO_ID |
WPRELATIONSHIP_BO_IND |
WPRELATIONSHIP_BO_ID |

ID
DUNS
TSLONG
ADDEDBYID
IX_WPRELATIONSHIP_BO_CONSTITUENTID
IX_WPRELATIONSHIP_BO_DATEADDED