RMA_CALIAS_VW

(SQL View)
Index Back

RMA cust prod alias view


SELECT ca.setid , ca.cust_id , ca.product_alias , ca.product_id FROM ps_set_cntrl_rec sc , ps_prod_item pi , PS_PROD_CUST_ALIAS ca WHERE sc.recname = 'PROD_ITEM' AND sc.setcntrlvalue = ca.setid AND pi.setid = sc.setid AND pi.product_id = ca.product_id AND pi.eff_status = 'A' AND pi.return_flag = 'Y' AND pi.product_use IN ('1', '3')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
3 PRODUCT_ALIAS Character(18) VARCHAR2(18) NOT NULL Product Alias
4 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID