RF_RMA_ITEM_VW6(SQL View) |
Index Back |
---|---|
Returnable Items Serial ViewThis view returns all serial numbers on the returnable items for the customer. |
SELECT A.SETID , A.BO_ID_CUST , A.SERIAL_ID , D.BO_NAME , A.INST_PROD_ID , A.PRODUCT_ID , B.DESCR , B.INV_ITEM_ID , A.SITE_ID FROM PS_RF_INST_PROD A , PS_PROD_ITEM B , PS_MASTER_ITEM_TBL C , PS_BO D WHERE D.BO_ID = A.BO_ID_CUST AND B.SETID = ( SELECT E.SETID FROM PS_SET_CNTRL_REC E WHERE E.SETCNTRLVALUE = A.SETID AND E.RECNAME = 'PROD_ITEM') AND B.PRODUCT_ID = A.PRODUCT_ID AND C.SETID=B.SETID AND C.INV_ITEM_ID = B.INV_ITEM_ID AND C.INVENTORY_ITEM = 'Y' AND C.ITM_STATUS_CURRENT IN ('1','2','3','4') AND A.SERIAL_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 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
5 | INST_PROD_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the installed product ID (key field) |
6 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
9 | SITE_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |