OME_CNCT_SH_VW(SQL View) |
Index Back |
---|---|
Current Ship To Contacts - OMDate Init. Issue # Description 051304 dms F-KNANN-V59N4 Add emailid, contact_id |
SELECT CC.CUSTOMER_SETID , CC.CUST_ID , CC.CNTCT_SEQ_NUM , CC.EFFDT , CC.EFF_STATUS , CC.ADDRESS_SEQ_NUM , CC.CONTACT_ID , CT.NAME1 , CT.TITLE , CT.EMAILID FROM PS_CONTACT CT , PS_CONTACT_CUST CC WHERE CT.SETID = CC.SETID AND CT.CONTACT_ID = CC.CONTACT_ID AND CT.EFFDT = CC.EFFDT AND CT.EFF_STATUS = 'A' AND CC.EFF_STATUS = 'A' AND EXISTS ( SELECT 'X' FROM PS_CUST_ADDR_SEQ SEQ WHERE SEQ.SETID = CC.CUSTOMER_SETID AND SEQ.CUST_ID = CC.CUST_ID AND SEQ.ADDRESS_SEQ_NUM = CC.ADDRESS_SEQ_NUM AND SEQ.SHIP_TO_ADDR = 'Y') |
# | 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: SETID_TBL |
2 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
3 | CNTCT_SEQ_SHIP | Number(5,0) | INTEGER NOT NULL |
Primary Contact - Ship To
Prompt Table: CUST_CONTACT |
4 | EFFDT | Date(10) | DATE | Effective Date |
5 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
6 | ADDRESS_SEQ_SHIP | Number(5,0) | INTEGER NOT NULL | Primary Address - Ship To |
7 | CONTACT_ID | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
8 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
9 | TITLE | Character(35) | VARCHAR2(35) NOT NULL | Title |
10 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |