EGP_TPI_ATTR_HISTORY

This table stores the history of the trading partner item attribute changes.

Details

  • Schema: FUSION

  • Object owner: EGP

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

EGP_TPI_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.
TP_ITEM_ID NUMBER 18 Yes Unique identifier of the trading partner item to which the attribute history record belongs.
ORGANIZATION_ID NUMBER 18 Yes Unique identifier of a trading partner item's organization.
ATTRIBUTE_TYPE VARCHAR2 30 Specifies whether the trading partner item attribute is a seeded attribute or flexfield.
GROUP_CODE VARCHAR2 80 Specifies the group code of the trading partner item attribute.
ATTRIBUTE_CODE VARCHAR2 200 Specifies the code of the trading partner item attribute.
ATTR_DATA_TYPE VARCHAR2 30 Specifies the data type of the trading partner item attribute.
OLD_VALUE_CODE VARCHAR2 4000 Represents the code corresponding to the previous value of the trading partner item attribute.
OLD_VALUE_BASE_LANG VARCHAR2 4000 Represents the previous value of the trading partner item attribute in base session language.
NEW_VALUE_CODE VARCHAR2 4000 Represents the code corresponding to the new value of the trading partner item attribute.
NEW_VALUE_BASE_LANG VARCHAR2 4000 Represents the new value of the trading partner item attribute in base session language.
OLD_VALUE_SESSION_LANG VARCHAR2 4000 Represents the previous value of the trading partner item attribute in the current session language
NEW_VALUE_SESSION_LANG VARCHAR2 4000 Represents the new value of the trading partner item attribute in the current session language
PROCESS_FLAG VARCHAR2 1 Yes Indicates the status of the job that processes the history records.
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_TPI_ATTR_HISTORY_N1 Non Unique Default HISTORY_RECORD_ID, ATTRIBUTE_CODE
EGP_TPI_ATTR_HISTORY_U1 Unique Default ATTRIBUTE_HISTORY_ID