APPEAL
Stores information pertaining to appeal records.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
The name of the appeal. |
DESCRIPTION |
nvarchar(255) |
|
Default = '' |
The description for the appeal. |
STARTDATE |
datetime |
yes |
|
The date that the appeal was established and/or became effective. |
ENDDATE |
datetime |
yes |
|
The date that the appeal ceased to be effective or should cease to be effective. |
GOAL |
money |
|
Default = 0 |
Monetary goal for the appeal. |
ISACTIVE |
bit |
|
Default = 1 |
|
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
ORGANIZATIONGOAL |
money |
|
Default = 0 |
Monetary goal for the appeal in organization currency. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
APPEALCATEGORYCODEID |
uniqueidentifier |
yes |
APPEALCATEGORYCODE.LOCALID
|
FK to APPEALCATEGORYCODE |
BUSINESSUNITCODEID |
uniqueidentifier |
yes |
BUSINESSUNITCODE.ID
|
FK to BUSINESSUNITCODE |
APPEALREPORT1CODEID |
uniqueidentifier |
yes |
APPEALREPORT1CODE.ID
|
Code table for first arbitrary appeal report code. |
SITEID |
uniqueidentifier |
yes |
SITE.ID
|
The site associated with this appeal. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
MEMBERSHIPPROGRAMID |
uniqueidentifier |
yes |
MEMBERSHIPPROGRAM.ID
|
The membership program associated with this appeal. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert from goal to organization goal. |
BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this appeal. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_APPEAL_APPEALCATEGORYCODEID |
APPEALCATEGORYCODEID |
|
|
|
IX_APPEAL_APPEALREPORT1CODEID |
APPEALREPORT1CODEID |
|
|
|
IX_APPEAL_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_APPEAL_BUSINESSUNITCODEID |
BUSINESSUNITCODEID |
|
|
|
IX_APPEAL_DATEADDED |
DATEADDED |
|
|
yes |
IX_APPEAL_DATECHANGED |
DATECHANGED |
|
|
|
IX_APPEAL_ID |
ID |
|
|
|
IX_APPEAL_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
IX_APPEAL_SITEID |
SITEID |
|
|
|
PK_APPEAL |
ID |
yes |
yes |
|
UC_APPEAL_NAME |
NAME |
yes |
|
|
Triggers
Referenced by