EGP_ITEM_ATTR_HISTORY

This table stores the history of the item attribute changes.

Details

  • Schema: FUSION

  • Object owner: EGP

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

EGP_ITEM_ATTR_HISTORY_PK

ATTRIBUTE_HISTORY_ID

Columns

Name Datatype Length Precision Not-null Comments
ATTRIBUTE_HISTORY_ID NUMBER 18 Yes Unique identifier of an attribute history record.
HISTORY_RECORD_ID NUMBER 18 Yes Identifies the parent record of the attribute history record.
INVENTORY_ITEM_ID NUMBER 18 Yes Unique identifier of the item to which the attribute history record belongs.
ORGANIZATION_ID NUMBER 18 Yes Unique identifier of an item's organization.
ATTRIBUTE_CONTROL_LEVEL VARCHAR2 1 1 Yes Indicates whether the audited attribute is controlled at the master or child organization.
ATTRIBUTE_TYPE VARCHAR2 30 Specifies whether an audited attribute is a seeded attribute or flexfield.
GROUP_CODE VARCHAR2 80 Specifies the group code associated with the audited attribute.
ATTRIBUTE_CODE VARCHAR2 200 Specifies the attribute code of the audit entry.
OLD_VALUE_CODE VARCHAR2 4000 Represents the code corresponding to the previous value of the audited attribute.
OLD_VALUE VARCHAR2 4000 Represents the previous value of the audited attribute.
NEW_VALUE_CODE VARCHAR2 4000 Represents the code corresponding to the new value of the audited attribute.
NEW_VALUE VARCHAR2 4000 Represents the new value of the audited attribute.
PROCESS_FLAG VARCHAR2 1 Yes Indicates the status of the job that processes the audit history.
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_ATTR_HISTORY_N1 Non Unique Default HISTORY_RECORD_ID, ATTRIBUTE_CODE
EGP_ITEM_ATTR_HISTORY_U1 Unique Default ATTRIBUTE_HISTORY_ID