SCC_RULE_SVR_VL(SQL View) |
Index Back |
---|---|
Rules Engine System VariableThis related language view will return search values used for the Rules Engine system variable component. |
SELECT S.OPRID , A.SCC_RULE_SYSVAR_ID , AL.LANGUAGE_CD , AL.SCC_RULE_SYSVAR_NM , XL.XLATSHORTNAME , BL.SCC_RULE_CAT_NAME FROM PS_SCC_RULE_CATSCR S , PS_SCC_RULE_SYSVAR A , PS_SCC_RULE_SYSVLN AL , PS_SCC_RULE_CAT B , PS_SCC_RULE_CAT_LN BL , PSXLATITEM X , PSXLATITEMLANG XL WHERE A.SCC_RULE_CATEGORY = B.SCC_RULE_CATEGORY AND X.FIELDNAME = 'SCC_RULE_FLEX_TYPE' AND X.FIELDVALUE = A.SCC_RULE_FLEX_TYPE 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 A.SCC_RULE_CATEGORY = S.SCC_RULE_CATEGORY AND A.SCC_RULE_SYSVAR_ID = AL.SCC_RULE_SYSVAR_ID AND B.SCC_RULE_CATEGORY = BL.SCC_RULE_CATEGORY AND BL.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_SYSVAR_ID | Character(40) | VARCHAR2(40) NOT NULL | System Variable id for the Rules Engine |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | SCC_RULE_SYSVAR_NM | Character(30) | VARCHAR2(30) NOT NULL | System Variable Name for the Rules Engine |
5 | XLATSHORTNAME | Character(10) | VARCHAR2(10) NOT NULL | Translate Value Short Name |
6 | SCC_RULE_CAT_NAME | Character(30) | VARCHAR2(30) NOT NULL |
Rule Name for the Rules Engine
Prompt Table: SCC_RULE_CATSCR |