RA_CMPGTASK_LVW

(SQL View)
Index Back

Campaign Tasks Lang View

Used in Task management report

SELECT A.BUSINESS_UNIT , A.RA_CAMPAIGN_ID , A.SEQNO , X.LANGUAGE_CD , A.DESCR , X.XLATSHORTNAME , Y.XLATSHORTNAME , A.RA_PCT_COMPLETE FROM PS_RA_CMPGN_TASK A , PSXLATITEMLANG X , PSXLATITEMLANG Y WHERE X.FIELDNAME = 'RA_TASK_STATUS' AND X.FIELDVALUE = A.RA_TASK_STATUS AND X.EFFDT = ( SELECT MAX(E.EFFDT) FROM PSXLATITEMLANG E WHERE E.FIELDNAME = X.FIELDNAME AND E.FIELDVALUE = X.FIELDVALUE AND E.EFFDT <= %CurrentDateIn) AND Y.FIELDNAME = 'RA_PRIORITY' AND Y.FIELDVALUE = A.RA_PRIORITY AND Y.EFFDT = ( SELECT MAX(F.EFFDT) FROM PSXLATITEMLANG F WHERE F.FIELDNAME = Y.FIELDNAME AND F.FIELDVALUE = Y.FIELDVALUE AND F.EFFDT <= %CurrentDateIn)

  • Related Language Record for RA_CMPGNTASK_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 RA_CAMPAIGN_ID Character(15) VARCHAR2(15) NOT NULL Marketing - Campaign Identification field. Character field that will contain a generated campaign or free form entered campaign id.

    Prompt Table: RA_CAMPAIGN

    3 SEQNO Number(5,0) INTEGER NOT NULL Sequence Number
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 XLATSHORTNAME Character(10) VARCHAR2(10) NOT NULL Translate Value Short Name
    7 XLATLONGNAME Character(30) VARCHAR2(30) NOT NULL Translate Long Name
    8 RA_PCT_COMPLETE Character(3) VARCHAR2(3) NOT NULL Marketing - Task - Percent Complete