RMA_CNTCT_VW

(SQL View)
Index Back

Order Header Search Record


SELECT a.business_unit , a.rma_id , a.sold_to_cust_id , a.cntct_seq_num , b.name1 , b.title , b.language_cd FROM ps_set_cntrl_rec c , PS_RMA_HEADER a , ps_cust_contact b WHERE c.recname='CUSTOMER' AND a.business_unit = c.setcntrlvalue AND a.rma_type='O' AND a.sold_to_cust_id = b.cust_id AND (a.cntct_seq_num = b.cntct_seq_num OR a.cntct_seq_num=0) AND b.eff_status='A' AND %EffdtCheck(cust_contact c, b, %CurrentDateIn)

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

Prompt Table: SP_BU_FS_NONVW

2 RMA_ID Character(10) VARCHAR2(10) NOT NULL RMA Number
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