GM_CUST_CONT_VW(SQL View) |
Index Back |
---|---|
Sold To Customers contact view |
SELECT A.SETID , A.CUST_ID , A.CNTCT_SEQ_SOLD , B.NAME1 , B.EMAILID FROM PS_CUSTOMER A , PS_CUST_CONTACT B WHERE A.setid = B.setid AND A.cust_id = B.cust_id AND %EffdtCheck(CUST_CONTACT,B,%currentdatein) AND B.eff_status='A' AND A.SOLD_TO_FLG = 'Y' AND A.CUST_STATUS = 'A' |
# | 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. |
3 | CNTCT_SEQ_SOLD | Number(5,0) | INTEGER NOT NULL | Primary Contact - Sold To |
4 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
5 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |