GPMY_ERN_SRCH(SQL View) |
Index Back |
---|---|
Earnings search viewUsed as a Search Record for Earnings |
SELECT B.OPRID , A.PIN_NUM , A.PIN_NM , A.DESCR , A.COUNTRY FROM PS_GP_PIN A , PS_GP_OPR_RULE_PRF B WHERE A.PIN_TYPE = 'ER' AND (A.USED_BY = 'A' OR (A.USED_BY = 'C' AND B.USED_BY= 'A') OR (A.USED_BY = 'C' AND A.COUNTRY = B.COUNTRY)) AND A.COUNTRY = 'MYS' |
# | 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_NUM | Number(8,0) | INTEGER NOT NULL | PIN Number |
3 | PIN_NM | Character(18) | VARCHAR2(18) NOT NULL | Element Name field |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |