INV_SPOKE_PUBLICATION_HISTORY

INV_SPOKE_PUBLICATION_HISTORY table stores the inventory management records that need to be synced with Oracle Health when published.

Details

  • Schema: FUSION

  • Object owner: INV

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

INV_SPOKE_PUB_HISTORY_PK

INV_SPOKE_PUB_ID

Columns

Name Datatype Length Precision Not-null Comments
INV_SPOKE_PUB_ID NUMBER 18 Yes Primary key to uniquely identify the record that needs to be synced with oracle health when published.
SPOKE_SYSTEM_ID NUMBER 18 Yes External spoke system identifier.
OBJECT_TYPE VARCHAR2 100 Yes Abbreviation that identifies the object type on which the action needs to be taken. Possible value is ITEM_SUB_LOC.
PK1_VALUE VARCHAR2 100 Key value identifier, if OBJECT_TYPE is ITEM_SUB_LOC, then PK1_VALUE will be ORGANIZATION_ID.
PK2_VALUE VARCHAR2 100 Key value identifier, if OBJECT_TYPE is ITEM_SUB_LOC, then PK2_VALUE will be INVENTORY_ITEM_ID.
PK3_VALUE VARCHAR2 100 Key value identifier, if OBJECT_TYPE is ITEM_SUB_LOC, then PK3_VALUE will be SUBINVENTORY_CODE.
PK4_VALUE VARCHAR2 100 Key value identifier, if OBJECT_TYPE is ITEM_SUB_LOC, then PK4_VALUE will be LOCATOR_ID.
PK5_VALUE VARCHAR2 100 Key value identifier which will be used based on the object type.
ACTION_TYPE VARCHAR2 10 Yes Abbreviation that identifies the action to be taken. Possible values are INSERT and DELETE.
PUBLICATION_DATE TIMESTAMP Date when the file is uploaded to the UCM Server.
INSERT_OR_DELETE_DATE TIMESTAMP Yes Date when the record is inserted or deleted from the actual table.
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.
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.
ERROR_CODE VARCHAR2 30 Error message code for failures during the publication of inventory management records.
ERROR_EXPLANATION VARCHAR2 240 Error message text for failures during the publication of inventory management records.

Indexes

Index Uniqueness Tablespace Columns
INV_SPOKE_PUB_HISTORY_U1 Unique FUSION_TS_TX_DATA INV_SPOKE_PUB_ID