CWB_PCNCTFAX_VW(SQL View) |
Index Back |
---|---|
Current Primary Contact Fax |
SELECT A.SETID , A.CUST_ID , A.CNTCT_SEQ_NUM , B.CONTACT_ID , A.NAME1 , A.TITLE , A.ADDRESS_SEQ_NUM , A.EMAILID , A.LANGUAGE_CD , D.PHONE FROM PS_CUST_CONTACT A , PS_CONTACT_CUST B , PS_CUSTOMER C , PS_CONTACT_PHN D WHERE %EffdtCheck(CUST_CONTACT,A,%CurrentDateIn) AND A.EFF_STATUS='A' AND A.SETID = B.CUSTOMER_SETID AND A.CUST_ID = B.CUST_ID AND A.CNTCT_SEQ_NUM = B.CNTCT_SEQ_NUM AND %EffdtCheck(CONTACT_CUST,B,%CurrentDateIn) AND B.EFF_STATUS = 'A' AND A.SETID = C.SETID AND A.CUST_ID = C.CUST_ID AND A.CNTCT_SEQ_NUM = C.CNTCT_SEQ_NUM AND B.SETID = D.SETID AND B.CONTACT_ID = D.CONTACT_ID AND %EffdtCheck(CONTACT_PHN,D,%CurrentDateIn) AND D.PHONE_TYPE = 'FAX' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
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.
Prompt Table: CUSTOMER |
3 | CNTCT_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Contact Sequence Number |
4 | CONTACT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Contact Identifier for Treasury Contacts
Prompt Table: CNTCT_CUST_VW2 |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
6 | TITLE | Character(35) | VARCHAR2(35) NOT NULL | Title |
7 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
8 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |
9 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
10 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |