RE_RLS_TYP_S_LG

(SQL View)
Index Back

Related Lease Type Search View

Related Lease Type Language Search View

SELECT A.SETID ,A.RELATED_LS_TYPE ,A.LANGUAGE_CD ,A.INSTANCE_NAME FROM PS_RE_RLS_TYPE_LG A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_RE_RLS_TYPE_LG B WHERE A.SETID = B.SETID AND A.RELATED_LS_TYPE = B.RELATED_LS_TYPE AND B.EFFDT <= %CurrentDateIn ) OR (A.EFFDT = ( SELECT MIN(C.EFFDT) FROM PS_RE_RLS_TYPE_LG C WHERE C.SETID = A.SETID AND C.RELATED_LS_TYPE = A.RELATED_LS_TYPE AND C.EFFDT > %CurrentDateIn) AND NOT EXISTS ( SELECT 1 FROM PS_RE_RLS_TYPE_LG D WHERE D.SETID = A.SETID AND D.RELATED_LS_TYPE = A.RELATED_LS_TYPE AND D.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_RE_RLS_TYPE_LG E WHERE D.SETID = E.SETID AND D.RELATED_LS_TYPE = E.RELATED_LS_TYPE AND E.EFFDT <= %CurrentDateIn )))

  • Related Language Record for RE_RLS_TYP_SRCH
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 RELATED_LS_TYPE Character(10) VARCHAR2(10) NOT NULL Related Lease Type Field
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 INSTANCE_NAME Character(60) VARCHAR2(60) NOT NULL Instance Name