GPUS_COM_VW(SQL View) |
Index Back |
---|---|
GP US Company ViewCompany View for Additional Company Data Page |
SELECT A.COMPANY , A.EFFDT , A.DESCR , A.FEDERAL_EIN FROM PS_COMPANY_TBL A WHERE (A.COUNTRY = 'USA' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_COMPANY_TBL B WHERE B.COMPANY = A.COMPANY AND B.EFFDT <= %CurrentDateIn AND B.EFF_STATUS = 'A')) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
2 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | FEDERAL_EIN | Number(9,0) | DECIMAL(9) NOT NULL | Federal EIN |