DEAL_STS_TRN_LG

(SQL View)
Index Back

Deal Status Lg


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

  • Related Language Record for DEAL_STS_TRN_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 DEAL_STATUS Character(2) VARCHAR2(2) NOT NULL Represents the specific state or point in the life cycle of a deal transaction.
    01=Under Negotiation
    02=Sample
    03=Open
    04=Matured
    05=Deactivated
    06=Rejected
    07=Sold / Bought back
    08=Forecasted
    09=Partially Sold/Bought Back
    2 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description