GPDE_DV_SNDR_VW(SQL View) |
Index Back |
---|---|
Prompt View for Deuev SenderPrompt View for Deuev Sender |
SELECT DISTINCT CR.CAL_RUN_ID , PL.GPDE_SI_BTNR , PE.PAY_ENTITY , PE.DESCR , PL.LOCATION , LO.DESCR , LO.COUNTRY , LO.ADDRESS1 , LO.ADDRESS2 , LO.ADDRESS3 , LO.ADDRESS4 , LO.POSTAL , LO.CITY , LO.SETID , LO.EFFDT FROM PS_GPDE_AL_PE_LOC PL , PS_GP_PYENT PE , PS_GP_CAL_RUN_DTL CR , PS_GP_CALENDAR CA , PS_GP_CAL_PRD CP , PS_LOCATION_TBL LO WHERE PL.PAY_ENTITY = CR.PAY_ENTITY AND PE.PAY_ENTITY = PL.PAY_ENTITY AND CA.GP_PAYGROUP = CR.GP_PAYGROUP AND CA.CAL_ID = CR.CAL_ID AND PL.GPDE_SI_REP_BTNR = 'Y' AND CP.CAL_PRD_ID = CA.CAL_PRD_ID AND PL.EFFDT = ( SELECT MAX(EFFDT) FROM PS_GPDE_AL_PE_LOC PL1 WHERE PL1.PAY_ENTITY = PL.PAY_ENTITY AND PL1.EFFDT <= CP.PRD_END_DT ) AND LO.SETID = PL.SETID AND LO.LOCATION = PL.LOCATION AND LO.EFFDT = ( SELECT MAX(EFFDT) FROM PS_LOCATION_TBL LO1 WHERE LO1.SETID = PL.SETID AND LO1.LOCATION = PL.LOCATION AND LO1.EFFDT <= PL.EFFDT ) AND LO.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
2 | GPDE_DV_SENDER_ID | Character(8) | VARCHAR2(8) NOT NULL | Provider ID |
3 | PAY_ENTITY | Character(10) | VARCHAR2(10) NOT NULL | Pay Entity |
4 | PAY_ENTITY_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Pay Entity Description |
5 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
6 | LOCATION_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Location Description |
7 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
8 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
9 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
10 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
11 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
12 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
13 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
14 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
15 | ADDR_EFFDT | Date(10) | DATE | Address Effective Date |