LOCALCORP
Contains the zip code to merchant account mappings
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
TERRITORYABBREV |
nvarchar(15) |
|
Default = '' |
Contains the territory abbreviation |
TERRITORYNAME |
nvarchar(255) |
|
Default = '' |
Contains the full spelling of the Territory |
DIVISIONABBREV |
nvarchar(15) |
|
Default = '' |
Contains the division abbreviation |
DIVISIONNAME |
nvarchar(255) |
|
Default = '' |
Contains the full spelling of the Division |
ZIPCODE |
nvarchar(5) |
|
Default = '' |
Contains the zip code of the TSA unit |
AREACOMMAND |
nvarchar(255) |
|
Default = '' |
Contains the area command name |
LOCALCORP |
nvarchar(255) |
|
Default = '' |
Contains the name of the local corp |
STATEABBREV |
nvarchar(2) |
|
Default = '' |
Contains the state abbreviation |
CITY |
nvarchar(255) |
|
Default = '' |
Contains the City where the TSA unit is located |
MERCHANTACCT |
nvarchar(255) |
|
Default = '' |
Contains the merchant account name for this TSA unit |
MERCHANTACCTID |
int |
|
Default = 0 |
Contains the integer ID from the ClientMerchantAccounts table |
BBPSMERCHANTACCTID |
uniqueidentifier |
|
|
Contains the BBPSID from the ClientMerchantAccounts table |
ISACTIVE |
bit |
|
Default = 0 |
Indicates if the record is active and to be used by the donation form |
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. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
DESIGNATIONID |
uniqueidentifier |
|
DESIGNATION.ID
|
The associated designation ID |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_LOCALCORP_DATEADDED |
DATEADDED |
|
|
yes |
IX_LOCALCORP_DATECHANGED |
DATECHANGED |
|
|
|
IX_LOCALCORP_STATEABBREV_CITY |
STATEABBREV, CITY |
|
|
|
IX_LOCALCORP_ZIPCODE |
ZIPCODE |
|
|
|
PK_LOCALCORP |
ID |
yes |
yes |
|
Triggers
Referenced by