ORD_CNTCT_VW

(SQL View)
Index Back

Order Header Search Record


SELECT a.business_unit , a.order_no , a.sold_to_cust_id , b.cntct_seq_num , b.name1 , b.title , b.language_cd FROM ps_set_cntrl_rec c , PS_ORD_HEADER a , ps_cust_contact b WHERE c.recname='CUSTOMER' AND a.business_unit = c.setcntrlvalue AND b.setid = c.setid AND a.sold_to_cust_id = b.cust_id AND a.cntct_seq_num = b.cntct_seq_num AND b.eff_status='A' AND %EffdtCheck(cust_contact b1, b, %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: OPR_DEF_TBL_OM.BUSINESS_UNIT

Prompt Table: SP_BU_OM_NONVW

2 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
3 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
4 CNTCT_SEQ_NUM Number(5,0) INTEGER NOT NULL Contact Sequence Number
5 RECIPIENT Character(40) VARCHAR2(40) NOT NULL Recipient
6 TITLE Character(35) VARCHAR2(35) NOT NULL Title
7 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code