RE_CRTMPSR_LG

(SQL View)
Index Back

CR. Date Template Search LG

Related Language view for Critical Date Templates

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

  • Related Language Record for RE_CRDTMPL_SRCH
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 TEMPLATE_CD Character(20) VARCHAR2(20) NOT NULL Template Code
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 INSTANCE_NAME Character(60) VARCHAR2(60) NOT NULL Instance Name