EGI_SPOKE_PUB_HISTORY

Table to store publication history for a Spoke System/Batch

Details

  • Schema: FUSION

  • Object owner: EGI

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

EGI_SPOKE_PUB_HISTORY_PK

PUBLICATION_HISTORY_ID

Columns

Name Datatype Length Precision Not-null Comments
PUBLICATION_HISTORY_ID NUMBER 18 Yes Stores the unique identifier for the record.
TRANSACTION_TYPE VARCHAR2 1 Stores the transaction type of the published entity
SOURCE_SYSTEM_ID NUMBER 18 Yes An external system from which item and its information is being imported into product hub.
BATCH_ID NUMBER 18 Yes A unique identifier of a item batch.
THREAD_NUMBER NUMBER 18 Stores the thread number for the publication job.
PAYLOAD_ID NUMBER 18 Identifier to relate rows that are split into multiple publication XMLs.
PARENT_PUB_HISTORY_ID NUMBER 18 Stores the reference identifier to the parent publication history record.
ENTITY_CODE VARCHAR2 30 Yes Entity codes towards items,suppliers, item categories will be stored.
PARENT_ENTITY_CODE VARCHAR2 30 Stores the code for the parent entity.
PK1_VALUE VARCHAR2 100 Stores the identifer for Primary Key.
PK2_VALUE VARCHAR2 100 Stores part of the identifer for Primary Key.
PK3_VALUE VARCHAR2 100 Stores part of the identifer for Primary Key.
PK4_VALUE VARCHAR2 100 Stores part of the identifer for Primary Key.
PK5_VALUE VARCHAR2 100 Stores part of the identifer for Primary Key.
RULE_VALIDATION_FLAG VARCHAR2 1 Yes Stores the indicator if a record is rejected due to failing a rule validationi, in that case it is set to 'N'.
PUBLISH_FLAG VARCHAR2 1 Yes Indicates if item classes will be published.
PUBLICATION_DATE TIMESTAMP Stores the data of the publication job.
PUBLICATION_STATUS VARCHAR2 30 Yes Stores the status of the publication job.
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID 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.
ONLINE_PUBLICATION_ID NUMBER 18 Stores the publication identifier in case of online Change Order publication

Foreign Keys

Table Foreign Table Foreign Key Column
EGI_SPOKE_PUB_HISTORY egi_import_batches_b BATCH_ID
egi_spoke_pub_errors egi_spoke_pub_history PUBLICATION_HISTORY_ID

Indexes

Index Uniqueness Tablespace Columns
EGI_SPOKE_PUB_HISTORY_N1 Non Unique Default REQUEST_ID, ENTITY_CODE, PK1_VALUE, PK2_VALUE
EGI_SPOKE_PUB_HISTORY_N2 Non Unique Default REQUEST_ID, THREAD_NUMBER, ENTITY_CODE, PUBLICATION_STATUS
EGI_SPOKE_PUB_HISTORY_N3 Non Unique Default CREATED_BY, PUBLICATION_STATUS, SOURCE_SYSTEM_ID, REQUEST_ID
EGI_SPOKE_PUB_HISTORY_N4 Non Unique Default REQUEST_ID, PUBLICATION_STATUS
EGI_SPOKE_PUB_HISTORY_N5 Non Unique Default PARENT_PUB_HISTORY_ID
EGI_SPOKE_PUB_HISTORY_N6 Non Unique Default ONLINE_PUBLICATION_ID
EGI_SPOKE_PUB_HISTORY_N7 Non Unique Default PK3_VALUE, PK2_VALUE
EGI_SPOKE_PUB_HISTORY_N8 Non Unique Default BATCH_ID
EGI_SPOKE_PUB_HISTORY_U1 Unique Default PUBLICATION_HISTORY_ID