CUST_CNCT_SL_LN(SQL View) |
Index Back |
---|---|
Current Sold To Contacts LANGDate Initials Issue # Description 031703 JJM 508675000 Updated SQL |
SELECT CC.CUSTOMER_SETID , CC.CUST_ID , CC.CNTCT_SEQ_NUM , CC.EFFDT , CL.LANGUAGE_CD , CL.NAME1 , CL.TITLE %Sql(OM_CUST_CNTCT_LNG_SQL) 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.SOLD_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 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Sold To Customer
Prompt Table: CUSTOMER |
3 | CNTCT_SEQ_NUM | Number(5,0) | INTEGER NOT NULL |
Contact Sequence Number
Prompt Table: CUST_CONTACT |
4 | EFFDT | Date(10) | DATE | Effective Date |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
7 | TITLE | Character(35) | VARCHAR2(35) NOT NULL | Title |