Open topic with navigation
Discount constituency eligibility.
ID
uniqueidentifier
DISCOUNTID
false
DISCOUNT.ID
The ID of the Discount record the Constituency Code is for.
CONSTITUENCYCODEID
true
CONSTITUENCYCODE.ID
The ID of the Constituency Code to be discounted.
ADDEDBYID
CHANGEAGENT.ID
FK to CHANGEAGENT.
CHANGEDBYID
CONSTITUENCYSYSTEMNAMEID
CONSTITUENCYDEFINITION.ID
The ID of the Constituency System Name to be discounted.
SEQUENCE
int
0
The sequence in which constituency codes are entered.
DATEADDED
datetime
getdate()
Indicates the date this record was added.
DATECHANGED
Indicates the date this record was last changed.
TS
timestamp
Timestamp.
TSLONG
bigint (Computed)
Numeric representation of the timestamp.
IX_DISCOUNTCONSTITUENCY_DATEADDED
False
True
IX_DISCOUNTCONSTITUENCY_DATECHANGED
PK_DISCOUNTCONSTITUENCY
UIX_DISCOUNTCONSTITUENCY_DISCOUNTID_CONSTITUENCYSYSTEMNAMEID_CONSTITUENCYCODEID
TR_DISCOUNTCONSTITUENCY_AUDIT_UPDATE
TR_DISCOUNTCONSTITUENCY_AUDIT_DELETE