Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
ISPRIMARY | bit | Default = 0 | Indicates this is the primary member. | |
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. | |
ISCAREGIVER | bit | Default = 0 | Indicates if the member is care giver. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
CONSTITUENTID | uniqueidentifier | CONSTITUENT.LOCALID | Foreign key to the constituent record. | |
SALESORDERITEMMEMBERSHIPID | uniqueidentifier | SALESORDERITEMMEMBERSHIP.ID | The sales order item membership for this member record. | |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
MEMBERID | uniqueidentifier | MEMBER.ID | Stores MEMBERID for members being renewed. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
IX_SALESORDERITEMMEMBER_CONSTITUENTID | CONSTITUENTID | |||
IX_SALESORDERITEMMEMBER_DATEADDED | DATEADDED | |||
IX_SALESORDERITEMMEMBER_DATECHANGED | DATECHANGED | |||
IX_SALESORDERITEMMEMBER_SALESORDERITEMMEMBERSHIPID | SALESORDERITEMMEMBERSHIPID | |||
PK_SALESORDERITEMMEMBER | ID |
Trigger Name | Description |
---|---|
TR_SALESORDERITEMMEMBER_AUDIT_UPDATE | |
TR_SALESORDERITEMMEMBER_AUDIT_DELETE |
Referenced by | Field |
---|---|
SALESORDERITEMMEMBERSHIPCARD | SALESORDERITEMMEMBERID |