GP_VAR_CAT_SRCH(SQL View) |
Index Back |
---|---|
Variable by Cat Search RecordSearch record used to provide access to the variable by category panel |
SELECT C.OPRID , A.USED_BY , A.COUNTRY , A.PIN_CATEGORY , B.DESCR FROM PS_GP_PIN A , PS_GP_PIN_CATEGORY B , PS_GP_OPR_RULE_PRF C WHERE A.USED_BY = B.USED_BY AND A.COUNTRY = B.COUNTRY AND A.PIN_CATEGORY = B.PIN_CATEGORY AND A.PIN_TYPE = 'VR' AND A.PIN_CATEGORY <> ' ' AND (A.USED_BY = 'A' OR (A.USED_BY = 'C' AND C.USED_BY = 'A') OR (A.USED_BY= 'C' AND A.COUNTRY=C.COUNTRY)) |
# | 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 | USED_BY | Character(1) | VARCHAR2(1) NOT NULL |
USED_BY
A=All Countries C=Specific Country |
3 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: GP_COUNTRY |
4 | PIN_CATEGORY | Character(4) | VARCHAR2(4) NOT NULL | Element Category |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |