|
Name |
|
|
Dimensional Type |
Fact |
|
Comment |
Individual transactions recorded to card access system's ledgers. |
|
CKT_MF_CARDTRANSACTION |
|
Name |
Parent Table |
Foreign Key Columns |
|
Relationship_228 |
MD_Building_SurrogateKey |
|
|
Relationship_229 |
MD_CardPat_SurrogateKey |
|
|
Relationship_230 |
MD_CardTransType_SurrogateKey |
|
|
Relationship_231 |
MD_CardLoc_SurrogateKey |
|
|
Relationship_232 |
MD_Time_TimeInteger |
|
|
Relationship_233 |
MD_Date_DateInteger |
|
|
Relationship_234 |
MD_CollPers_SurrogateKeyDStu |
|
|
Relationship_235 |
MD_CollPers_SurrogateKeyEmp |
|
|
Relationship_236 |
MD_Room_SurrogateKey |
|
Name |
|
Name |
Comment |
Domain |
Data Type |
Length |
|
MD_CardPat_SurrogateKey |
|
<None> |
numeric |
|
|
MD_CardTransType_SurrogateKey |
|
<None> |
numeric |
|
|
MD_Time_TimeInteger |
Integer representing the time of day in the format HHMMSS (e.g., 23:01:01 at one minute one second after eleven o'clock in the evening). Not typically used for reporting. |
<None> |
int |
|
|
MD_Date_DateInteger |
Integer representation of the date (e.g., 20070101 for 1 Jan 2007). Defaults to 99991231, for situations where a date is required but none is available. |
DW_DateInteger |
int |
|
|
MD_CardLoc_SurrogateKey |
|
<None> |
numeric |
|
|
MD_Building_SurrogateKey |
|
<None> |
numeric |
|
|
MD_CollPers_SurrogateKeyDStu |
|
<None> |
numeric |
|
|
MD_CollPers_SurrogateKeyEmp |
|
<None> |
numeric |
|
|
MD_Room_SurrogateKey |
|
<None> |
numeric |
|
|
MF_CardTrans_System |
Name of system from which transactions are being liften. Defaults to CSGold. As of 2012 we have only CS Gold data in this field. |
DW_CodeDesc |
varchar(32) |
32 |
|
MF_CardTrans_ID |
Don't expose any of the ID fields to users here. This one is created ad hoc, in the case of CS Gold by converting the table number, transaction ID generation, transaction ID, and transaction ID sequence number to strings and concatenating them, with zero padding to make a 36-character ID. This key should uniquely identify a transaction within a given MF_CardTrans_System. |
DW_UniqueIdentifier36Char |
varchar(36) |
36 |
|
MF_CardTrans_RealID |
Don't expose any of these ID fields to users. This one contains the 'real' transaction ID in the source system, as an integer (if such an integer exists, apart from the MF_CardTrans_ID). This is not populated for OneCard, since a single transaction ID doesn't really exist there. Rather the transaction ID is compound, consisting of a generation number and an ID (the ID alone is not unique). |
<None> |
bigint |
|
|
MF_CardTrans_Ledger |
Name of ledger from which transaction was taken. |
DW_CodeDesc |
varchar(32) |
32 |
|
MF_CardTrans_Value |
|
<None> |
money |
|
|
MF_CardTrans_IsCompleted |
|
DW_YesOrNoNOTNULL |
char(3) |
3 |
|
MF_CardTrans_AuditKey |
|
DW_AuditKey |
bigint |
|
|
MF_CardTrans_Timestamp |
|
<None> |
timestamp |
|
|
Name |
Unique |
Cluster |
Primary |
Foreign Key |
Alternate Key |
Table |
|
MF_CARDTRANSACTION_PK |
TRUE |
FALSE |
TRUE |
FALSE |
FALSE |
|
|
RELATIONSHIP_240_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_245_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_246_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_247_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_248_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_241_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_242_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_243_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
|
RELATIONSHIP_244_FK |
FALSE |
FALSE |
FALSE |
TRUE |
FALSE |
|
Name |
|
Identifier_1 |
|
|
|