GPES_EXPT_ADDR(SQL View) |
Index Back |
---|---|
Fiscal Address for ExpatriatesFiscal Address for Expatriates prompt View |
SELECT A.EMPLID ,A.COUNTRY ,A.ADDRESS_TYPE ,A1.ADDR_TYPE_DESCR FROM PS_ADDRESSES A , PS_ADDRESS_TYP_TBL A1 WHERE A.ADDRESS_TYPE = A1.ADDRESS_TYPE AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_ADDRESSES B WHERE B.EMPLID = A.EMPLID AND B.ADDRESS_TYPE = A.ADDRESS_TYPE AND B.EFFDT <= %CurrentDateIn ) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | GPES_RESID_COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country of Residence |
3 | ADDRESS_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Address Type
Prompt Table: ADDRESS_TYP_TBL |
4 | ADDR_TYPE_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Address Type |