EGO_VERSIONS_B
EGO Versions. Can store versions of any objects. Typically used for storing item versions
Details
-
Schema: FUSION
-
Object owner: EGO
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
EGO_VERSIONS_B_PK |
VERSION_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| VERSION_ID | NUMBER | 18 | Yes | Unique identifier for the rows in ego_versions_b | |
| ENTITY_NAME | VARCHAR2 | 80 | Yes | Identifier determining the name of entity represented by the version | |
| PK1_VALUE | NUMBER | 18 | Yes | Identifier representing inventory_item_id of the item being represented by version | |
| PK2_VALUE | NUMBER | 18 | Identifier representing organization_id of the item being represented by version | ||
| PK3_VALUE | NUMBER | 18 | Identifier representing revision_id of the item being represented by version | ||
| PK4_VALUE | NUMBER | 18 | Used to refer any other identifiers from other tables | ||
| PK5_VALUE | NUMBER | 18 | Used to refer any other identifiers from other tables | ||
| VERSION_CODE | VARCHAR2 | 10 | Yes | Identifier determining code of the version | |
| VERSION_NUMBER | NUMBER | 18 | Yes | Stores 1 for CURRENT status code rows and Version_id for PENDING rows | |
| STATUS_CODE | VARCHAR2 | 30 | Yes | Identifier determining the status of the version | |
| VERSION_LABEL | VARCHAR2 | 80 | No longer used. | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
| CHANGE_ID | NUMBER | 18 | Identifier of the change order to which this version belongs | ||
| CHANGE_LINE_ID | NUMBER | 18 | Identifier of the change line to which this version belongs | ||
| IMPLEMENTATION_DATE | TIMESTAMP | Identifier for the datetime on which version is implemented | |||
| START_EFFECTIVITY_DATE | DATE | Used to store the datetime from which the version stands effective | |||
| END_EFFECTIVITY_DATE | DATE | Used to store the datetime from which the version stands ineffective | |||
| LOCKED_BY | VARCHAR2 | 64 | No longer used. | ||
| RELEASED_BY | VARCHAR2 | 64 | No longer used. | ||
| MODIFIED | VARCHAR2 | 5 | No longer used. | ||
| INTERNAL_FLAG | VARCHAR2 | 1 | Internal Flag identifies whether the version is displayed in the UI | ||
| 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. | ||
| DESCRIPTION | VARCHAR2 | 240 | Used to store description of the version | ||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
| JOB_DEFINITION_NAME | VARCHAR2 | 100 | Enterprise Service Scheduler: indicates the name of the job that created or last updated the row. | ||
| JOB_DEFINITION_PACKAGE | VARCHAR2 | 900 | Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row. | ||
| THREAD_ID | NUMBER | 18 | This column will hold the thread id in which this version was effectivated | ||
| PHASE_NUMBER | NUMBER | 3 | The phase number in which this version will be effectivated within a single effectivation thread. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| ego_item_revision_eff_tl | ego_versions_b | VERSION_ID |
| ego_item_eff_b | ego_versions_b | VERSION_ID |
| ego_item_supplier_eff_tl | ego_versions_b | VERSION_ID |
| ego_item_revision_eff_b | ego_versions_b | VERSION_ID |
| ego_item_supplier_eff_b | ego_versions_b | VERSION_ID |
| ego_item_eff_tl | ego_versions_b | VERSION_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| EGO_VERSIONS_B_N1 | Non Unique | FUSION_TS_TX_DATA | ENTITY_NAME, PK1_VALUE, PK2_VALUE, PK3_VALUE, PK4_VALUE, PK5_VALUE, STATUS_CODE |
| EGO_VERSIONS_B_N2 | Non Unique | FUSION_TS_TX_DATA | PK1_VALUE |
| EGO_VERSIONS_B_N3 | Non Unique | FUSION_TS_TX_DATA | THREAD_ID |
| EGO_VERSIONS_B_N4 | Non Unique | FUSION_TS_TX_DATA | START_EFFECTIVITY_DATE, STATUS_CODE |
| EGO_VERSIONS_B_U1 | Unique | FUSION_TS_TX_DATA | ENTITY_NAME, PK1_VALUE, PK2_VALUE, PK3_VALUE, PK4_VALUE, PK5_VALUE, VERSION_CODE, VERSION_NUMBER, STATUS_CODE |
| EGO_VERSIONS_B_U2 | Unique | FUSION_TS_TX_DATA | VERSION_ID |