RC_RMA_PROD_VW3(SQL View) |
Index Back |
---|---|
RMA - Product ID promptUsed as prompt view for Product id on RMA page. It returns products for a specific customer and serial ID. |
SELECT DISTINCT A.SETID , A.BO_ID_CUST , A.SERIAL_ID , A.PRODUCT_ID , B.DESCR , C.RETURNABLE_FLG FROM PS_RF_INST_PROD A , PS_PROD_ITEM B , PS_MASTER_ITEM_TBL C WHERE A.PRODUCT_ID = B.PRODUCT_ID AND B.SETID IN ( SELECT E.SETID FROM PS_SET_CNTRL_REC E WHERE E.SETCNTRLVALUE = A.SETID AND E.RECNAME = 'PROD_ITEM') AND B.SETID = C.SETID AND B.INV_ITEM_ID = C.INV_ITEM_ID AND C.INVENTORY_ITEM = 'Y' AND C.ITM_STATUS_CURRENT IN ('1','2','3','4') AND A.PRODUCT_ID <> ' ' |
# | 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 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
3 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the Serial ID of an item or installed product |
4 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | RETURNABLE_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Flag indicating if an item is returnable.
N=Non-returnable Y=Returnable |