W2_COMP_LANG_VW(SQL View) |
Index Back |
---|---|
Related Lang for W2_COMPANY_VWThis record contains the company information used to create a W-2. |
SELECT A.COMPANY ,A.LANGUAGE_CD ,A.DESCR FROM PS_COMPNY_TBL_LANG A ,PS_COMPANY_TBL B WHERE B.COMPANY = A.COMPANY AND B.EFFDT = A.EFFDT AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_COMPANY_TBL C WHERE C.COMPANY = B.COMPANY AND C.EFFDT <= %CurrentDateIn AND C.EFF_STATUS = 'A') AND B.TAX_REPORT_TYPE IN ('2','P') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
2 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL |
Description
Default Value: COMPANY_TBL.DESCR |