Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | CHAR | 36 | null |
|
|
Identifies the entry |
|||||||||||||||||||||||||||||
| ENTRY_BATCH_ID | CHAR | 36 | null |
|
|
Holds the underlying entry batch |
|||||||||||||||||||||||||||||
| TYPE | VARCHAR | 32 | null |
|
|
Holds the underlying entry type (possible values LEDGER, EXCLUSION) |
|||||||||||||||||||||||||||||
| DESCRIPTION | VARCHAR | 40 | √ | null |
|
|
Holds an optional description of the underlying entry |
||||||||||||||||||||||||||||
| UPDATED_AT | DATETIME | 26 | CURRENT_TIMESTAMP(6) |
|
|
When the entry was lastly updated |
|||||||||||||||||||||||||||||
| HISTORY_CODE_ID | VARCHAR | 64 | null |
|
|
The history code of the underlying entry |
|||||||||||||||||||||||||||||
| AS_OF | DATE | 10 | null |
|
|
The accounting date of the given entry |
|||||||||||||||||||||||||||||
| CURRENCY | CHAR | 3 | null |
|
|
The currency on which the amount of the underlying entry is expressed |
|||||||||||||||||||||||||||||
| AMOUNT | DECIMAL | 19 | null |
|
|
The value of the underlying entry |
|||||||||||||||||||||||||||||
| VERSION | TINYINT | 3 | √ | 0 |
|
|
Holds the version of the given intent |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | ID |
| DTW_TR_ENTRY_ENTRY_BATCH_IDX | Performance | Asc | ENTRY_BATCH_ID |
| DTW_TR_ENTRY_HISTORY_CODE_IDX | Performance | Asc | HISTORY_CODE_ID |
| DTW_TR_ENTRY_TYPE_IDX | Performance | Asc | TYPE |

