SCC_RULE_SCRTY(SQL View) |
Index Back |
---|---|
Rule Header Lookup ViewThis view is used to search for rules based on the category values. |
SELECT S.OPRID , A.SCC_RULE_CATEGORY , A.SCC_RULE_ID , A.SCC_RULE_NAME , A.SCC_RULE_VERSION , B.SCC_RULE_CAT_NAME , X.XLATLONGNAME FROM PS_SCC_RULE_CATSCR S , PS_SCC_RULE_HDR A , PS_SCC_RULE_CAT B , PSXLATITEM X WHERE A.SCC_RULE_CATEGORY = B.SCC_RULE_CATEGORY AND X.FIELDNAME = 'SCC_RULE_STATUS' AND X.FIELDVALUE = A.SCC_RULE_STATUS AND X.EFFDT = ( SELECT MAX(X1.EFFDT) FROM PSXLATITEM X1 WHERE X1.FIELDNAME = X.FIELDNAME AND X1.FIELDVALUE = X.FIELDVALUE AND X1.EFFDT <= %CurrentDateIn AND X1.EFF_STATUS = 'A') AND S.SCC_RULE_CATEGORY = A.SCC_RULE_CATEGORY |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | SCC_RULE_CATEGORY | Character(40) | VARCHAR2(40) NOT NULL |
Rule Category for the Rules Engine
Prompt Table: SCC_RULE_CATSCR |
3 | SCC_RULE_ID | Character(40) | VARCHAR2(40) NOT NULL | This field is the Rule ID for rules used in the Rules Engine |
4 | SCC_RULE_NAME | Character(80) | VARCHAR2(80) NOT NULL | This field contains the name of the rule used in the Rules Engine |
5 | SCC_RULE_VERSION | Number(3,0) | SMALLINT NOT NULL | This field is the version of a rule or rule group in the rules engine. |
6 | SCC_RULE_CAT_NAME | Character(30) | VARCHAR2(30) NOT NULL |
Rule Name for the Rules Engine
Prompt Table: SCC_RL_CT_NM_VW |
7 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL |
Translate Long Name
Prompt Table: SCC_XLAT_STS_VW |