SCC_RULE_HDR_VW(SQL View) |
Index Back |
---|---|
Rule Header Lookup ViewThis view is used to search for rules based on the category values. |
SELECT A.SCC_RULE_CATEGORY , A.SCC_RULE_ID , A.SCC_RULE_VERSION , B.SCC_RULE_CAT_NAME , A.SCC_RULE_NAME , A.SCC_RULE_GROUP_ID , D.SCC_RULE_GROUP_NM , A.SCC_ENTITY_ID , C.SCC_ENTITY_NAME , A.SCC_RULE_LONGNAME FROM PS_SCC_RULE_HDR A LEFT OUTER JOIN PS_SCC_ENTITY_REG C ON C.SCC_ENTITY_ID = A.SCC_ENTITY_ID LEFT OUTER JOIN PS_SCC_RULEGR_HDR D ON D.SCC_RULE_GROUP_ID = A.SCC_RULE_GROUP_ID , PS_SCC_RULE_CAT B WHERE A.SCC_RULE_CATEGORY = B.SCC_RULE_CATEGORY AND A.SCC_RULE_VERSION = ( SELECT MAX (A1.SCC_RULE_VERSION) FROM PS_SCC_RULE_HDR A1 WHERE A1.SCC_RULE_ID = A.SCC_RULE_ID AND A1.SCC_RULE_STATUS = '2' AND A1.SCC_RULE_AVAILABLE = 'Y') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SCC_RULE_CATEGORY | Character(40) | VARCHAR2(40) NOT NULL |
Rule Category for the Rules Engine
Prompt Table: SCC_RULE_CAT |
2 | SCC_RULE_ID | Character(40) | VARCHAR2(40) NOT NULL | This field is the Rule ID for rules used in the Rules Engine |
3 | SCC_RULE_VERSION | Number(3,0) | SMALLINT NOT NULL | This field is the version of a rule or rule group in the rules engine. |
4 | SCC_RULE_CAT_NAME | Character(30) | VARCHAR2(30) NOT NULL | Rule Name for the Rules Engine |
5 | SCC_RULE_NAME | Character(80) | VARCHAR2(80) NOT NULL | This field contains the name of the rule used in the Rules Engine |
6 | SCC_RULE_GROUP_ID | Character(40) | VARCHAR2(40) NOT NULL | This field is the Rule Group ID for rule groups used in the Rules Engine |
7 | SCC_RULE_GROUP_NM | Character(80) | VARCHAR2(80) NOT NULL | This field contains the name of the rule used in the Rules Engine |
8 | SCC_ENTITY_ID | Character(40) | VARCHAR2(40) NOT NULL | Entitiy ID |
9 | SCC_ENTITY_NAME | Character(30) | VARCHAR2(30) NOT NULL | Entitiy Name |
10 | SCC_RULE_LONGNAME | Long Character | CLOB | This field is used for the long description used to describe a rule. |