RE_AMNDTYP_SRCH

(SQL View)
Index Back

Amendment Types(Setup)

Search view for different types of Amendments to be used by Lease Administration

SELECT A.SETID , A.AMND_TYPE_CD , A.INSTANCE_NAME FROM PS_RE_AMND_TYPE A WHERE (%CurrentDateIn BETWEEN A.EFFDT AND A.END_EFFDT) OR (A.EFFDT = ( SELECT MIN(C.EFFDT) FROM PS_RE_AMND_TYPE 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_AMND_TYPE B WHERE B.SETID = A.SETID AND B.AMND_TYPE_CD = A.AMND_TYPE_CD AND %CurrentDateIn BETWEEN B.EFFDT AND B.END_EFFDT))

  • Related Language Record: RE_AMNDTYPSR_LG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    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 INSTANCE_NAME Character(60) VARCHAR2(60) NOT NULL Amendment Type Name