OKC_XPRT_RULE_HDRS_ALL
This table has the rule header information for template specific rules as well as rules assigned at all templates in the Operating Unit
Details
-
Schema: FUSION
-
Object owner: OKC
-
Object type: TABLE
-
Tablespace: APPS_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
OKC_XPRT_RULE_HDRS_ALL_PK |
RULE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| RULE_ID | NUMBER | 18 | Yes | Sequence generated ID. | |
| ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
| INTENT | VARCHAR2 | 1 | Yes | Rule intent. B: Buy or S: Sell | |
| STATUS_CODE | VARCHAR2 | 30 | Yes | Indicates the status of the Rule and is applicable only to Organization Rules. FK to FND lookup OKC_XPRT_RULE_STATUSES. | |
| RULE_NAME | VARCHAR2 | 240 | Yes | Rule name. | |
| RULE_TYPE | VARCHAR2 | 30 | Yes | Identify the Rule Type Values: POLICY_DEVIATION and CLAUSE_SELECTION. FK to FND_LOOKUP 'OKC_XPRT_RULE_TYPE. | |
| RULE_DESCRIPTION | VARCHAR2 | 2000 | Rule description. | ||
| LINE_LEVEL_FLAG | VARCHAR2 | 1 | Identify if the rule has any line level system variables. This column would be updated when the rules are activated. | ||
| ORG_WIDE_FLAG | VARCHAR2 | 1 | Flag to indicate if the template is applicable to all templates in the current operating unit | ||
| CONDITION_EXPR_CODE | VARCHAR2 | 30 | Yes | Indicates whether the conditions on the rule are 'Any True' or 'All True'. Possible values are 'ALL' or 'ANY'. FK to FND lookup OKC_XPRT_CONDITION_EXPRESSION. | |
| REVISION_RULE_ID | NUMBER | 18 | For Rules Revision Status. | ||
| DEFAULT_TEMPLATE_ID | NUMBER | 18 | HOLDS DEFAULT TEMPLATE VALUE FOR TEMPLATE SELECTION RULES | ||
| 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_xprt_rule_hdrs_all | RULE_ID |
| okc_xprt_rule_outcomes | okc_xprt_rule_hdrs_all | RULE_ID |
| okc_terms_deviations_t | okc_xprt_rule_hdrs_all | RULE_ID |
| okc_xprt_rule_conditions | okc_xprt_rule_hdrs_all | RULE_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| OKC_XPRT_RULE_HDRS_ALL_N1 | Non Unique | Default | STATUS_CODE |
| OKC_XPRT_RULE_HDRS_ALL_U1 | Unique | Default | RULE_ID |
| OKC_XPRT_RULE_HDRS_ALL_U2 | Unique | Default | ORG_ID, RULE_NAME, STATUS_CODE, REVISION_RULE_ID |