GPUS_EIN1LNG_VW

(SQL View)
Index Back

Companies for tax calculation

View used in order to retrieve data from companies for tax calculation

SELECT A.GPUS_TAX_EIN ,B.LANGUAGE_CD ,B.DESCR FROM PS_GPUS_YE_CO_TBL A , PS_COMPNY_TBL_LANG B WHERE A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_GPUS_YE_CO_TBL C WHERE C.GPUS_YE_RPT_CO = A.GPUS_YE_RPT_CO AND C.EFFDT <= %CurrentDateIn) AND A.GPUS_YE_RPT_CO = B.COMPANY AND B.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_COMPNY_TBL_LANG D WHERE D.COMPANY = B.COMPANY AND D.LANGUAGE_CD = B.LANGUAGE_CD AND D.EFFDT <= %CurrentDateIn)

  • Related Language Record for GPUS_DEF_EIN_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 GPUS_TAX_EIN Character(9) VARCHAR2(9) NOT NULL Federal Employer Identification Number
    2 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description