RSF_FCAST_XL_VW

(SQL View)
Index Back

Opp Status Xlat Descr Lang VW

Translates opp status code into descr language rec.

SELECT A.LANGUAGE_CD , %Substring(A.FIELDVALUE,1,1) , A.XLATLONGNAME A FROM PSXLATITEMLANG A , PSXLATITEM B WHERE A.FIELDNAME = B.FIELDNAME AND A.FIELDVALUE = B.FIELDVALUE AND A.EFFDT = B.EFFDT AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PSXLATITEM C WHERE C.FIELDNAME = B.FIELDNAME AND C.FIELDVALUE = B.FIELDVALUE AND C.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' AND B.FIELDNAME = 'OPPORTUNITY_STATUS'

  • Related Language Record for RSF_FCAST_X_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    2 OPPORTUNITY_STATUS Character(1) VARCHAR2(1) NOT NULL Opportunity Status. The values are XLat Values
    0=Open
    1=Closed - Lost
    2=Closed - Won
    3=Inactive
    3 OPPSTATUSDESCR Character(30) VARCHAR2(30) NOT NULL Description