CNTCT_CRCD_PHVW

(SQL View)
Index Back

Contact's Credit Card Phone Vw

This view will allow pulling in of the Customer Contact's Credit Card phone number.

SELECT C.SETID , C.CUST_ID , C.CNTCT_SEQ_NUM , B.PHONE , B.PHONE_TYPE , C.NAME1 FROM PS_CONTACT_CUST A , PS_CONTACT_PHN B , PS_CUSTOMER C WHERE A.SETID=B.SETID AND A.CONTACT_ID = B.CONTACT_ID AND C.SETID = A.CUSTOMER_SETID AND C.CUST_ID=A.CUST_ID AND C.CNTCT_SEQ_NUM=A.CNTCT_SEQ_NUM AND C.CUST_STATUS IN ('A','I') AND A.EFFDT = B.EFFDT AND %EffdtCheck(CONTACT_CUST A2, A, %CurrentDateIn)

  • Related Language Record: CNTC_CRPHVW_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 BILL_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer
    3 CNTCT_SEQ_NUM Number(5,0) INTEGER NOT NULL Contact Sequence Number
    4 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
    5 PHONE_TYPE Character(4) VARCHAR2(4) NOT NULL Phone Type
    BUSN=Business Phone
    CAMP=Campus Phone
    CELL=Cellular Phone
    DORM=Dormitory Phone
    FAX=FAX
    HOME=Home Phone
    MAIN=Main
    OTR=Other
    PGR1=Pager 1
    PGR2=Pager 2
    TELX=Telex
    6 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1