RC_RMA_ITEM_VW

(SQL View)
Index Back

RMA - Item ID prompt

Used as prompt view for Inv item id on RMA page. IT returns inv. items for a specific customer.

SELECT DISTINCT A.SETID , A.BO_ID_CUST , A.INV_ITEM_ID , B.DESCR , B.RETURNABLE_FLG FROM PS_RF_INST_PROD A , PS_MASTER_ITEM_TBL B WHERE B.SETID = ( SELECT E.SETID FROM PS_SET_CNTRL_REC E WHERE E.SETCNTRLVALUE = A.SETID AND E.RECNAME = 'MASTER_ITEM_TBL') AND A.INV_ITEM_ID = B.INV_ITEM_ID AND B.INVENTORY_ITEM = 'Y' AND B.ITM_STATUS_CURRENT IN ('1','2','3','4') AND A.INV_ITEM_ID <> ' '

  • Related Language Record: RC_RMA_ITM_LVW
  • # 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 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 RETURNABLE_FLG Character(1) VARCHAR2(1) NOT NULL Flag indicating if an item is returnable.
    N=Non-returnable
    Y=Returnable