FO_CNTCT_PHN_VW

(SQL View)
Index Back

Contact Phone Number


SELECT B.CUSTOMER_SETID , B.CUST_ID , A.CONTACT_ID , A.NAME1 , C.PHONE , B.CNTCT_SEQ_NUM , C.PHONE_TYPE FROM PS_CONTACT A , PS_CONTACT_CUST B , PS_CONTACT_PHN C WHERE A.SETID = B.SETID AND A.CONTACT_ID = B.CONTACT_ID AND %EffdtCheck(CONTACT,A,%currentdatein) AND A.EFFDT = B.EFFDT AND A.EFF_STATUS = 'A' AND A.SETID = C.SETID AND A.CONTACT_ID = C.CONTACT_ID AND A.EFFDT = C.EFFDT

  • Related Language Record: FO_CNTCT_PHN_LN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
    3 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
    4 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    5 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
    6 CNTCT_SEQ_NUM Number(5,0) INTEGER NOT NULL Contact Sequence Number
    7 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