GPBR_PIN_DV_VL(SQL View) |
Index Back |
---|---|
Brazil Variable and AA ViewBrazil Variable and Percentage AA View |
SELECT A.COUNTRY , B.PIN_NUM , D.LANGUAGE_CD , D.PIN_NM , D.DESCR FROM PS_GP_COUNTRY A , PS_GP_PIN B , PS_GP_PIN_LANG D WHERE B.PIN_NUM < 50000000 AND B.PIN_NUM=D.PIN_NUM AND (B.USED_BY='A' OR (B.USED_BY='C' AND B.COUNTRY=A.COUNTRY)) AND (B.PIN_TYPE = 'VR' OR (B.PIN_TYPE = 'DD' AND EXISTS ( SELECT D.PIN_NUM FROM PS_GP_ERN_DED D WHERE D.PIN_NUM = B.PIN_NUM AND D.CALC_RULE = 'PB' AND D.EFFDT = ( SELECT MAX(D1.EFFDT) FROM PS_GP_ERN_DED D1 WHERE D1.PIN_NUM = D.PIN_NUM )))) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
2 | PIN_NUM | Number(8,0) | INTEGER NOT NULL | PIN Number |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | GPBR_PIN_NM | Character(18) | VARCHAR2(18) NOT NULL | Element Name field |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |