SCC_RULE_SVR_VW

(SQL View)
Index Back

Rules Engine System Variable

This view will return search values used for the Rules Engine system variable component.

SELECT S.OPRID , A.SCC_RULE_SYSVAR_ID , A.SCC_RULE_SYSVAR_NM , A.SCC_RULE_FLEX_TYPE , X.XLATSHORTNAME , B.SCC_RULE_CAT_NAME , A.SCC_RULE_LIST_VAR FROM PS_SCC_RULE_CATSCR S , PS_SCC_RULE_SYSVAR A , PS_SCC_RULE_CAT B , PSXLATITEM X 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

  • Related Language Record: SCC_RULE_SVR_VL
  • # 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 SCC_RULE_SYSVAR_NM Character(30) VARCHAR2(30) NOT NULL System Variable Name for the Rules Engine
    4 SCC_RULE_FLEX_TYPE Character(2) VARCHAR2(2) NOT NULL This field is used to identify the type of object for the following value in the rules engine
    10=Text
    20=Number
    30=Datetime
    40=Date
    50=Time
    55=True/False
    60=Entity
    65=Data Set
    70=Property
    75=Data Set Property
    80=Variable
    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

    7 SCC_RULE_LIST_VAR Character(1) VARCHAR2(1) NOT NULL This field is a Y/N variable used to define when a variable in the rules engine is a list variable

    Y/N Table Edit

    Default Value: N