RE_OPTSR_LG

(SQL View)
Index Back

Lease Option Search LG

Related Language view for Lease Option Search

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

  • Related Language Record for RE_OPTION_SRCH
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 OPTION_CD Character(20) VARCHAR2(20) NOT NULL This is used as a Key in the RE_LSE_OPTION record
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 INSTANCE_NAME Character(60) VARCHAR2(60) NOT NULL Instance Name