RPC_SELLS_RELVW

(SQL View)
Index Back

Sells relation information

View used to retreive Sells relation information

SELECT a.SETID , a.PRODUCT_ID , a.PRODUCT_ID_ALT , a.START_DT , a.END_DT FROM PS_PROD_RELATIONS a , PS_PROD_ITEM b , PS_PROD_ITEM c WHERE a.PROD_REL_TYPE = 'SLLS' AND a.SETID = b.SETID AND a.PRODUCT_ID = b.PRODUCT_ID AND b.EFF_STATUS = 'A' AND a.SETID = c.SETID AND a.PRODUCT_ID_ALT = c.PRODUCT_ID AND c.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
2 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
3 PRODUCT_ID_ALT Character(18) VARCHAR2(18) NOT NULL Product ID Alternate
4 START_DT Date(10) DATE Start date field to store start date value.
5 END_DT Date(10) DATE This field stores the end date values.