GPTH_COMPANY_VW(SQL View) |
Index Back |
---|---|
Company info viewCompany info view |
SELECT A.COMPANY , A.DESCR , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 , A.CITY , A.COUNTY , A.COUNTRY , A.STATE , A.POSTAL , G.PROCESS_INSTANCE , G.EMPLID FROM PS_COMPANY_TBL A ,PS_GPTH_RPT_G_VW G WHERE A.COMPANY=G.COMPANY AND A.EFFDT=( SELECT MAX(A_ED.EFFDT) FROM PS_COMPANY_TBL A_ED WHERE A_ED.COMPANY=A.COMPANY AND A_ED.EFF_STATUS='A' AND A_ED.EFFDT <=G.PRD_END_DT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
2 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
3 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
4 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
5 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
6 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
7 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
8 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
9 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
10 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: STATE_TBL |
11 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
12 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
13 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |