POR_INFO_TEMPLATE_USAGES

This table is used to store the usages of the Information templates. The Information templates can be used with the Items, Categories or Smart Forms.

Details

  • Schema: FUSION

  • Object owner: POR

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

POR_INFO_TEMPLATE_USAGES_PK

INFO_TEMPLATE_USAGE_ID

Columns

Name Datatype Length Precision Not-null Comments
INFO_TEMPLATE_USAGE_ID NUMBER 18 Yes Auto generated Primary Key.
INFO_TEMPLATE_ID NUMBER 18 Yes Primary Key of Information Template
USAGE_TYPE VARCHAR2 10 Yes The possible values are SMART_FORM, ITEM or CATEGORY.
USAGE_ENTITY_ID NUMBER 18 Yes Id of the Usage Type. i.e. Either SmartFormId, ItemId or CategoryId
INV_ORG_ID NUMBER 18 InventoryOrgId will be filled only in the case of USAGE_TYPE is ITEM.
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.
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.

Indexes

Index Uniqueness Tablespace Columns
POR_INFO_TEMPLATE_USAGES_N1 Non Unique Default USAGE_TYPE, USAGE_ENTITY_ID, INV_ORG_ID
POR_INFO_TEMPLATE_USAGES_U1 Unique Default INFO_TEMPLATE_USAGE_ID
POR_INFO_TEMPLATE_USAGES_U2 Unique Default INFO_TEMPLATE_ID, USAGE_TYPE, USAGE_ENTITY_ID, INV_ORG_ID