EGO_CHANGE_AUDIT_ENTITIES
This table stores one row for all the redline attributes of the same entity/subentity and affected item.
Details
-
Schema: FUSION
-
Object owner: EGO
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
EGO_CHANGE_AUDIT_ENTITIES_PK |
AUDIT_ENTITY_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
AUDIT_ENTITY_ID | NUMBER | 18 | Yes | Unique identifier for the rows in ego_change_audit_entities. | |
CHANGE_ID | NUMBER | 18 | Yes | Identifies change order. Foreign key to ego_engineering_changes_b. | |
CHANGE_LINE_ID | NUMBER | 18 | Identifies change line. Foreign key to ego_change_lines_b. | ||
AFFECTED_OBJ_NAME | VARCHAR2 | 300 | This column stores the item number of affected object. | ||
AFFECTED_OBJ_SEQ | NUMBER | This column stores the change line sequence number. | |||
AFFECTED_OBJ_PK1 | NUMBER | 18 | This column stores PK1 of affected object. | ||
AFFECTED_OBJ_PK2 | NUMBER | 18 | This column stores PK2 of affected object. | ||
AFFECTED_OBJ_PK3 | NUMBER | 18 | This column stores PK3 of affected object. | ||
AFFECTED_OBJ_PK4 | NUMBER | 18 | This column stores PK4 of affected object. | ||
AFFECTED_OBJ_PK5 | NUMBER | 18 | This column stores PK5 of affected object. | ||
CO_STATUS_CODE | NUMBER | 18 | Status Code of the Change Order in which the action is done. Foreign key to ego_change_statuses_b. | ||
CO_STATUS_VALUE | VARCHAR2 | 80 | Stores CO Status Value, required for migrated COs. | ||
PK1_VALUE | NUMBER | 18 | This column stores Primary Key of the entity being audited. | ||
PK2_VALUE | NUMBER | 18 | This column stores PK2 of the entity being audited. | ||
PK3_VALUE | NUMBER | 18 | This column stores PK3 of the entity being audited. | ||
PK4_VALUE | NUMBER | 18 | This column stores PK4 of the entity being audited. | ||
PK5_VALUE | NUMBER | 18 | This column stores PK5 of the entity being audited. | ||
AUDIT_TYPE | VARCHAR2 | 50 | Audit type of the audit row (Redlines, Change Edits, Workflow). | ||
ACTION_TYPE | VARCHAR2 | 50 | This column stores the type of action performed. | ||
ACTION_TYPE_VALUE | VARCHAR2 | 4000 | This column stores user action type value for migrated COs. | ||
SUB_ACTION_TYPE | VARCHAR2 | 50 | This column stores user sub action type. | ||
SUB_ACTION_TYPE_VALUE | VARCHAR2 | 4000 | This column stores user sub action type value for migrated COs. | ||
ENTITY_TYPE | VARCHAR2 | 50 | This column stores the type of the entity being audited. | ||
ENTITY_CODE | VARCHAR2 | 50 | This column stores the attribute group name of the entity being audited. | ||
ENTITY_NAME | VARCHAR2 | 4000 | This column stores the attribute group display name of the entity being audited. | ||
SUB_ENTITY_CODE | VARCHAR2 | 4000 | This column stores the sub entity code of the audit entity. | ||
SUB_ENTITY_NAME | VARCHAR2 | 4000 | This column stores the display value of the sub entity code. | ||
COMMENTS | VARCHAR2 | 4000 | This column is used for storing action log comments. | ||
AUTHOR_ID | VARCHAR2 | 64 | GUID of the Logged in user performing the action. | ||
AUTHOR_NAME | VARCHAR2 | 4000 | Yes | Display Name of Logged in user performing the action. | |
AUTHOR_DATETIME | TIMESTAMP | Yes | Datetime of when the Logged in user performed the action. | ||
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. | |
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. | ||
MIGRATED_FLAG | VARCHAR2 | 1 | Flag denoting that data is migrated from other systems. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
EGO_CHANGE_AUDIT_ENTITIES | ego_engineering_changes_b | CHANGE_ID |
EGO_CHANGE_AUDIT_ENTITIES | ego_change_lines_b | CHANGE_LINE_ID |
EGO_CHANGE_AUDIT_ENTITIES | ego_change_statuses_b | CO_STATUS_CODE |
ego_change_audit_redline_attrs | ego_change_audit_entities | AUDIT_ENTITY_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
EGO_CHANGE_AUDIT_ENTITIES_N1 | Non Unique | FUSION_TS_TX_IDX | CHANGE_ID |
EGO_CHANGE_AUDIT_ENTITIES_N2 | Non Unique | FUSION_TS_TX_IDX | CHANGE_LINE_ID |
EGO_CHANGE_AUDIT_ENTITIES_N3 | Non Unique | FUSION_TS_TX_IDX | AUTHOR_DATETIME |
EGO_CHANGE_AUDIT_ENTITIES_U1 | Unique | FUSION_TS_TX_IDX | AUDIT_ENTITY_ID |