SCC_RULEGR_SRLN(SQL View) |
Index Back |
---|---|
Rule Grp Header Lookup ViewThis related language view is used to search for rule groups based on the category values. |
SELECT S.OPRID , A.SCC_RULE_GROUP_ID , AL.SCC_RULE_GROUP_NM , A.SCC_RULE_VERSION , AL.LANGUAGE_CD , CL.SCC_RULE_CAT_NAME , XL.XLATLONGNAME FROM PS_SCC_RULE_CATSCR S , PS_SCC_RULEGR_HDR A , PS_SCC_RULEGR_HDRL AL , PS_SCC_RULE_CAT_RG B , PS_SCC_RULE_CAT C , PS_SCC_RULE_CAT_LN CL , PSXLATITEM X , PSXLATITEMLANG XL WHERE A.SCC_RULE_GROUP_ID = B.SCC_RULE_GROUP_ID AND B.SCC_RULE_CATEGORY = C.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 B.SCC_RULE_CATEGORY = S.SCC_RULE_CATEGORY AND A.SCC_RULE_GROUP_ID = AL.SCC_RULE_GROUP_ID AND A.SCC_RULE_VERSION = AL.SCC_RULE_VERSION AND C.SCC_RULE_CATEGORY = CL.SCC_RULE_CATEGORY AND CL.LANGUAGE_CD = AL.LANGUAGE_CD AND X.FIELDNAME = XL.FIELDNAME AND X.FIELDVALUE = XL.FIELDVALUE AND X.EFFDT = XL.EFFDT AND XL.LANGUAGE_CD = AL.LANGUAGE_CD |
# | 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_GROUP_ID | Character(40) | VARCHAR2(40) NOT NULL | This field is the Rule Group ID for rule groups used in the Rules Engine |
3 | SCC_RULE_GROUP_NM | Character(80) | VARCHAR2(80) NOT NULL | This field contains the name of the rule used in the Rules Engine |
4 | SCC_RULE_VERSION | Number(3,0) | SMALLINT NOT NULL | This field is the version of a rule or rule group in the rules engine. |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | SCC_RULE_CAT_NAME | Character(30) | VARCHAR2(30) NOT NULL |
Rule Name for the Rules Engine
Prompt Table: SCC_RULE_CATSCR |
7 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL |
Translate Long Name
Prompt Table: SCC_XLAT_STS_VW |