OKC_XPRT_TEMPLATE_RULES

This entity stores all the rules on a template. Rules that are applicable to all templates will not have rows in this entity. OKC_XPRT_RULE_HDRS_ALL.ORG_WIDE_FLAG will be set to 'Y' if the rule is applicable to all templates in an operating unit.

Details

  • Schema: FUSION

  • Object owner: OKC

  • Object type: TABLE

  • Tablespace: APPS_TS_TX_DATA

Primary Key

Name Columns

OKC_XPRT_TEMPLATE_RULES_PK

TEMPLATE_RULE_ID

Columns

Name Datatype Length Precision Not-null Comments
TEMPLATE_RULE_ID NUMBER 18 Yes Primary key for the table
TEMPLATE_ID NUMBER 18 Yes Id of the template to which the rule is associated
RULE_ID NUMBER 18 Yes Id of the rule associated with the template. FK to OKC_XPRT_RULE_HDRS_ALL
DELETED_FLAG VARCHAR2 1 Soft deleted record indicator
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.

Foreign Keys

Table Foreign Table Foreign Key Column
OKC_XPRT_TEMPLATE_RULES okc_terms_templates_all TEMPLATE_ID
OKC_XPRT_TEMPLATE_RULES okc_xprt_rule_hdrs_all RULE_ID

Indexes

Index Uniqueness Tablespace Columns
OKC_XPRT_TEMPLATE_RULES_U1 Unique Default TEMPLATE_RULE_ID
OKC_XPRT_TEMPLATE_RULES_U2 Unique Default TEMPLATE_ID, RULE_ID