DTW_BST_DIM_HISTORY


Description

History dimension definition table.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
HISTORY_CODE_ID INT 10 null
DTW_BST_DIM_DOCUMENT_TYPE.HISTORY_CODE_ID DTW_BST_FK_DOCUMENT_HISTORY R
DTW_BST_FACT_ENTRY.HISTORY_CODE_ID DTW_BST_FK_FACT_HISTORY_CODE R

History code unique ID.

OPERATION_TYPE VARCHAR 1 null

Entry operation type (Credit, Debit).

HISTORY_DESCRIPTION VARCHAR 50 null

History operation description with details (Sended PIX, Received PIX, etc).

HISTORY_STATUS VARCHAR 20 ACTIVE

status (active, inactive, deleted, etc).

REVERSAL_HISTORY_CODE_ID INT 10 null

Reversal History code unique ID.

CREATED_AT DATETIME 26 CURRENT_TIMESTAMP(6)

Timestamp value to register a record creation time.

UPDATED_AT DATETIME 26 CURRENT_TIMESTAMP(6)

Timestamp value to register a record update time.

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc HISTORY_CODE_ID

Relationships