RMA_UPC1_VW

(SQL View)
Index Back

RMA UPC prod view


SELECT PI.SETID , IT.UPC_ID , PI.PRODUCT_ID FROM PS_PROD_ITEM PI , PS_INV_ITEMS IT , PS_SET_CNTRL_REC SC WHERE SC.SETCNTRLVALUE = IT.SETID AND SC.RECNAME = 'PROD_ITEM' AND PI.SETID = SC.SETID AND PI.INV_ITEM_ID = IT.INV_ITEM_ID AND PI.PRODUCT_USE <> '2' AND PI.RETURN_FLAG = 'Y' AND IT.UPC_ID <> ' ' AND %EffdtCheck(INV_ITEMS IT2, IT, %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 UPC_ID Character(18) VARCHAR2(18) NOT NULL Uniform Product Code ID
3 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID