RE_ADTSTS_S_LG

(SQL View)
Index Back

Related Lease Type Search View

Related Lease Type Language Search View

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

  • Related Language Record for RE_ADT_STS_SRCH
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 AUDIT_STATUS Character(10) VARCHAR2(10) NOT NULL Operating Expense Audit Status Field
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 INSTANCE_NAME Character(60) VARCHAR2(60) NOT NULL Instance Name