Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | CHAR | 36 | null |
|
|
Identifiers the pending balance |
|||||
| ENTRY_ID | CHAR | 36 | null |
|
|
Identifiers the pending entry. |
|||||
| ACCOUNT_ID | CHAR | 36 | null |
|
|
Checking account unique ID. |
|||||
| BALANCE_TYPE_ID | CHAR | 36 | null |
|
|
Foreign key constraint to DTW_BST_DIM_BALANCE_TYPE_ID |
|||||
| CURRENCY | CHAR | 3 | null |
|
|
Holds the currency of the value associated with the given balance |
|||||
| AMOUNT | DECIMAL | 19 | null |
|
|
Holds the value of the given balance |
|||||
| CREATED_AT | DATETIME | 26 | √ | CURRENT_TIMESTAMP(6) |
|
|
When the pending balance was created within the balance statement |
||||
| UPDATED_AT | DATETIME | 26 | √ | CURRENT_TIMESTAMP(6) |
|
|
When the pending balance was lastly updated |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | ID |
| DTW_BST_PEND_BALANCE_NAT_ID | Must be unique | Asc/Asc | ENTRY_ID + BALANCE_TYPE_ID |
| FK_PEND_BALANCE_TYPE_ID | Performance | Asc | BALANCE_TYPE_ID |

