EOEC_MP_NRUL_VW(SQL View) |
Index Back |
---|---|
Data Dist. New Rules by User |
SELECT DISTINCT B.ROLEUSER , C.EOEC_DATASETNAME , C.EOEC_RULENAME , E.SEARCHRECNAME , MAX(C.EOEC_MP_LAPTOP) , MAX(C.EOEC_MP_PDA) FROM PSROLEDEFN A , PSROLEUSER B , PS_EOEC_MP_ROLRULE C , PS_EOEC_MP_RULE E WHERE A.ROLENAME = B.ROLENAME AND A.ROLENAME = C.ROLENAME AND C.EOEC_DATASETNAME = E.EOEC_DATASETNAME AND C.EOEC_RULENAME = E.EOEC_RULENAME AND A.ROLESTATUS = 'A' AND E.STATUS = 'A' AND E.EOEC_MP_VALIDRULE = 'Y' AND NOT EXISTS( SELECT 'X' FROM PS_EOEC_MP_USRRULE X WHERE X.ROLEUSER = B.ROLEUSER AND X.EOEC_DATASETNAME = C.EOEC_DATASETNAME AND X.EOEC_RULENAME = C.EOEC_RULENAME) GROUP BY B.ROLEUSER, C.EOEC_DATASETNAME, C.EOEC_RULENAME, E.SEARCHRECNAME |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ROLEUSER | Character(30) | VARCHAR2(30) NOT NULL | Role User |
2 | EOEC_DATASETNAME | Character(30) | VARCHAR2(30) NOT NULL | The name of one or more rules that will be used to filter a rowset. |
3 | EOEC_RULENAME | Character(30) | VARCHAR2(30) NOT NULL | The name of a Role in the Role Definition Table |
4 | SEARCHRECNAME | Character(15) | VARCHAR2(15) NOT NULL | Search Record Name |
5 | EOEC_MP_LAPTOP | Character(1) | VARCHAR2(1) NOT NULL |
Yes/No Field to indicate that the rule is used for a laptop.
Y/N Table Edit |
6 | EOEC_MP_PDA | Character(1) | VARCHAR2(1) NOT NULL |
Yes/No Field to indicate that the rule is used for a pda.
Y/N Table Edit |