CST_INTERNAL_TXN_TYPES_B
The Costing transaction types base table used to derive the costing transactions. For now all the data is seeded, but it can store user-defined transaction types too. This table is used along with INV_TRANSACTION_TYPES in the view CST_ALL_TXN_TYPES_V. But this table has been designed so that it can hold inventory transaction types too & for this reason, the PK includes the BASE_TXN_SOURCE_TYPE_ID.
Details
-
Schema: FUSION
-
Object owner: CST
-
Object type: TABLE
-
Tablespace: REFERENCE
Primary Key
Name | Columns |
---|---|
CST_INTERNAL_TXN_TYPES_B_PK |
BASE_TXN_TYPE_ID, BASE_TXN_SOURCE_TYPE_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
BASE_TXN_TYPE_ID | NUMBER | 18 | Yes | Costing internal transaction type identifier | |
BASE_TXN_SOURCE_TYPE_ID | NUMBER | 18 | Yes | Inventory transaction source type identifier. For Origin as 'INV', the value comes from INV_TRANSACTION_SOURCE_TYPES table and for Origin as 'CST' the value is from lookup_type CST_BAST_TXN_SOURCES | |
BASE_TXN_ACTION_ID | NUMBER | 18 | Yes | Inventory transaction action identifier. For Origin as INV, the value comes from lookup INV_TRANSACTION_ACTIONS and for Origin as CST the value is from lookup_type CST_BASE_TXN_ACTIONS. | |
USER_DEFINED_FLAG | VARCHAR2 | 1 | Yes | Indicates whether this is seeded or created by user. | |
START_DATE | DATE | Date when the transaction type is enabled | |||
END_DATE | DATE | Date after which the transaction type is disabled | |||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
SEED_DATA_SOURCE | VARCHAR2 | 512 | Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file. | ||
ORA_SEED_SET1 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N. | |
ORA_SEED_SET2 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
CST_INTERNAL_TXN_TYPES_B | cst_txn_source_actions | BASE_TXN_SOURCE_TYPE_ID, BASE_TXN_ACTION_ID |
cst_transactions | cst_internal_txn_types_b | BASE_TXN_TYPE_ID, BASE_TXN_SOURCE_TYPE_ID |
cst_inv_transactions | cst_internal_txn_types_b | CST_INV_TRANSACTION_ID, BASE_TXN_SOURCE_TYPE_ID |
cst_txn_source_actions | cst_internal_txn_types_b | BASE_TXN_SOURCE_TYPE_ID, BASE_TXN_ACTION_ID |
cst_internal_txn_types_tl | cst_internal_txn_types_b | BASE_TXN_TYPE_ID, BASE_TXN_SOURCE_TYPE_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
CST_INTERNAL_TXN_TYPES_B_U1 | Unique | FUSION_TS_TX_DATA | BASE_TXN_TYPE_ID, BASE_TXN_SOURCE_TYPE_ID, ORA_SEED_SET1 |
CST_INTERNAL_TXN_TYPES_B_U11 | Unique | FUSION_TS_TX_DATA | BASE_TXN_TYPE_ID, BASE_TXN_SOURCE_TYPE_ID, ORA_SEED_SET2 |
CST_INTERNAL_TXN_TYPES_B_U2 | Unique | Default | BASE_TXN_SOURCE_TYPE_ID, BASE_TXN_ACTION_ID, ORA_SEED_SET1 |
CST_INTERNAL_TXN_TYPES_B_U21 | Unique | Default | BASE_TXN_SOURCE_TYPE_ID, BASE_TXN_ACTION_ID, ORA_SEED_SET2 |