GPMY_TAX_PYE_VW

(SQL View)
Index Back

GPMY_TAX_PYE_VW

GPMY_TAX_PYE_VW

SELECT DISTINCT C.GPMY_ORG_LINK_OPTN , B.BUSINESS_UNIT , B.ORG_LINK_UNIT , A.GPMY_TAX_NBR , A.EMPLID , D.NAME FROM PS_GPMY_TAX_PYE A , PS_GPMY_TAX_ORG B , PS_GPMY_TAX_ORG_DT C , PS_PERSON_NAME D WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_GPMY_TAX_PYE A1 WHERE A1.EMPLID=A.EMPLID AND A1.GPMY_TAX_NBR=A.GPMY_TAX_NBR ) AND A.EFF_STATUS='A' AND B.EFFDT=C.EFFDT AND D.EMPLID=A.EMPLID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 GPMY_ORG_LINK_OPTN Character(2) VARCHAR2(2) NOT NULL Organizational Link Option
CO=Company
DE=Department
ET=Establishment
LO=Location
PG=Pay Group
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 ORG_LINK_UNIT Character(12) VARCHAR2(12) NOT NULL Contains ID of an org unit to which a source bank is assigned. can be Company, Dept, Location, Pay Group or Pay Entity ID
4 GPMY_TAX_NBR Character(12) VARCHAR2(12) NOT NULL GPMY_TAX_NBR
5 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
6 NAME Character(50) VARCHAR2(50) NOT NULL Name