GP_PIN_SRCH2(SQL View) |
Index Back |
---|---|
PIN Name Search - InquirySearch record of the main Element Definition table (GP_PIN). Used in the inqury panel. |
SELECT C.OPRID , A.PIN_TYPE , B.DESCR , A.PIN_NM , A.DESCR , A.USED_BY , A.COUNTRY , A.PIN_NUM FROM PS_GP_PIN A , PS_GP_PIN_TYPE B , PS_GP_OPR_RULE_PRF C WHERE A.PIN_TYPE=B.PIN_TYPE 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 | PIN_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
Element Type
Prompt Table: GP_PIN_TYPE |
3 | PIN_TYPE_DESCR | Character(30) | VARCHAR2(30) NOT NULL | PIN Type |
4 | PIN_NM | Character(18) | VARCHAR2(18) NOT NULL | Element Name field |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | USED_BY | Character(1) | VARCHAR2(1) NOT NULL |
USED_BY
A=All Countries C=Specific Country |
7 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
8 | PIN_NUM | Number(8,0) | INTEGER NOT NULL | PIN Number |