COMP_ES_BRA_VW(SQL View) |
Index Back |
---|---|
Company View BrazilCompany View Brazil |
SELECT C.COMPANY , C.DESCR , C.DESCRSHORT FROM PS_COMPANY_TBL C , PS_COMPANY_TBL_BRA CB WHERE C.COUNTRY = 'BRA' AND CB.COMPANY = C.COMPANY AND CB.EFFDT = C.EFFDT AND CB.ESOC_NUM_MTHD_BRA = '01' AND C.EFFDT =( SELECT MAX (EFFDT) FROM PS_COMPANY_TBL C2 WHERE C2.COMPANY= C.COMPANY AND C.EFF_STATUS = 'A' AND C2.EFFDT <=%CurrentDateIn) |
# | 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 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |