EGP_ITEM_HISTORY
This table stores the history of the item entity changes.
Details
-
Schema: FUSION
-
Object owner: EGP
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
EGP_ITEM_HISTORY_PK |
HISTORY_RECORD_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| HISTORY_RECORD_ID | NUMBER | 18 | Yes | Unique identifier of a history record. | |
| PARENT_RECORD_ID | NUMBER | 18 | Yes | Identifies the parent record of the history record. | |
| ENTITY_NAME | VARCHAR2 | 30 | Yes | Name of the entity to which the history record belongs. | |
| INVENTORY_ITEM_ID | NUMBER | 18 | Yes | Unique identifier of the item to which the history record belongs. | |
| ORGANIZATION_ID | NUMBER | 18 | Yes | Unique identifier of an item's organization. | |
| ITEM_DEFINITION_ORG_ID | NUMBER | 18 | Yes | Unique identifier of an item's definition organization. | |
| MASTER_ORGANIZATION_ID | NUMBER | 18 | Yes | Unique identifier of an item's master organization. | |
| ITEM_NUMBER | VARCHAR2 | 300 | Unique number of the item to which the history record belongs. | ||
| ORGANIZATION_CODE | VARCHAR2 | 18 | Unique code of an item's organization. | ||
| ACTION_TYPE | VARCHAR2 | 30 | Yes | Represents the type of action performed on the audited entity. | |
| ITEM_OBJECT_TYPE | VARCHAR2 | 400 | Indicates the type of object to which the history record belongs. | ||
| CHANGE_ID | NUMBER | 18 | Unique identifier of the change order that performed the update. | ||
| CHANGE_NOTICE | VARCHAR2 | 50 | Unique number of the change order that performed the update. | ||
| PK1_VALUE | NUMBER | 18 | One of the unique identifiers of the audited entity. | ||
| PK2_VALUE | NUMBER | 18 | One of the unique identifiers of the audited entity. | ||
| PK3_VALUE | NUMBER | 18 | One of the unique identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER1 | NUMBER | 18 | One of the contextual identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER2 | NUMBER | 18 | One of the contextual identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER3 | NUMBER | 18 | One of the contextual identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER4 | NUMBER | 18 | One of the contextual identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER5 | NUMBER | 18 | One of the contextual identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER1_VALUE | VARCHAR2 | 4000 | Represents the display value of one of the contextual identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER2_VALUE | VARCHAR2 | 4000 | Represents the display value of one of the contextual identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER3_VALUE | VARCHAR2 | 4000 | Represents the display value of one of the contextual identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER4_VALUE | VARCHAR2 | 4000 | Represents the display value of one of the contextual identifiers of the audited entity. | ||
| CONTEXT_IDENTIFIER5_VALUE | VARCHAR2 | 4000 | Represents the display value of one of the contextual identifiers of the audited entity. | ||
| AUDITED_LANGUAGE | VARCHAR2 | 10 | Indicates the language code in which the history record was generated. | ||
| PROCESS_FLAG | VARCHAR2 | 1 | Yes | Indicates the status of the job that processes the audit history. | |
| LEGACY_STATUS | VARCHAR2 | 1 | Represents the migration status of a history record. | ||
| 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. | ||
| 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. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| EGP_ITEM_HISTORY_N1 | Non Unique | Default | REQUEST_ID |
| EGP_ITEM_HISTORY_N2 | Non Unique | Default | LAST_UPDATE_DATE, LAST_UPDATED_BY, ORGANIZATION_ID, INVENTORY_ITEM_ID |
| EGP_ITEM_HISTORY_U1 | Unique | Default | HISTORY_RECORD_ID |