GPMY_SOCDLV_LNG

(SQL View)
Index Back

ORG UNIT FOR SOCSO(DE,LO)

ORG UNIT FOR SOCSO(DE,LO)

SELECT DISTINCT A.GPMY_ORG_LINK_OPTN , B.BUSINESS_UNIT , B.EFFDT , B.ORG_LINK_UNIT , C.LANGUAGE_CD , C.GPMY_REGISTERED_NM FROM PS_GPMY_SOC_ORG_DT A , PS_GPMY_SOC_ORG B ,PS_GPMY_SOCTBL_LNG C WHERE A.EFFDT = B.EFFDT AND A.EFF_STATUS = 'A' AND C.GPMY_SOCSO_NBR=B.GPMY_SOCSO_NBR AND C.EFFDT=( SELECT MAX(C1.EFFDT) FROM PS_GPMY_SOC_TBL C1 WHERE C1.GPMY_SOCSO_NBR =C.GPMY_SOCSO_NBR AND C1.EFFDT<=B.EFFDT)

# 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 EFFDT Date(10) DATE Effective Date

Default Value: %date

4 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
5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
6 GPMY_REGISTERED_NM Character(50) VARCHAR2(50) NOT NULL Registered Name