RE_AMNDTYPSR_LG

(SQL View)
Index Back

Amend Type Search Lang. View

Related Language view for Amendment Type Search

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

  • Related Language Record for RE_AMNDTYP_SRCH
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 AMND_TYPE_CD Character(20) VARCHAR2(20) NOT NULL This field is the Code for the Amendment Type used to manage Amendments by Lease Administration
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 INSTANCE_NAME Character(60) VARCHAR2(60) NOT NULL Instance Name