SUB_TOPIC_VW

(SQL View)
Index Back

Contact Us Topic View

This view is used to retrieve all valid topics give a subject.

SELECT A.SETID , A.CONVER_SUBJECT , A.CONVER_SUB_TOPIC , A.ROLENAME , D.DESCR FROM PS_SUBJECT_DTL_TBL A , PS_SUBJECT_HDR_TBL C , PS_SUB_TOPIC_TBL D WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_SUBJECT_DTL_TBL B WHERE A.SETID = B.SETID AND A.CONVER_SUBJECT = B.CONVER_SUBJECT AND A.CONVER_SUB_TOPIC = B.CONVER_SUB_TOPIC AND B.EFFDT<= %CurrentDateIn) AND A.SETID = C.SETID AND A.CONVER_SUBJECT = C.CONVER_SUBJECT AND A.EFFDT = C.EFFDT AND C.EFF_STATUS = 'A' AND A.SETID=D.SETID AND A.CONVER_SUB_TOPIC = D.CONVER_SUB_TOPIC

  • Related Language Record: SUB_TOPIC_LN_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 CONVER_SUBJECT Character(30) VARCHAR2(30) NOT NULL Contact Us Subject
    3 CONVER_SUB_TOPIC Character(30) VARCHAR2(30) NOT NULL Contact Us Topic
    4 ROLENAME Character(30) VARCHAR2(30) NOT NULL The name of a Role in the Role Definition Table (see PSROLEDEFN).
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description