RI_RMA_STATCVW

(SQL View)
Index Back

RMA view

Used by the 360 Degree View component to display a list of RMA Orders by Contact and/or Customer.

SELECT A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , A.BO_ID_CNTCT , A.ROLE_TYPE_ID_CNTCT , B.BO_ID , A.RMA_RET_TYPE , A.BUSINESS_UNIT , A.RMA_ID , A.CASE_ID , A.PROBLEM_CD , A.SITE_ID , D.XLATLONGNAME , C.DESCR , Y.OPRID ,0 ,0 ,0 ,0 , %subrec(RB_AUDIT_SBR, A) FROM PS_RF_RMA_HDR A , PS_RF_SITE_360_VW B , PS_RF_PROBLEM_CD C , PSXLATITEM D , PS_SEC_BU_CLS X , PSOPRDEFN Y WHERE A.BUSINESS_UNIT = B.SETCNTRLVALUE(+) AND A.SITE_ID = B.SITE_ID(+) AND C.PROBLEM_CD = A.PROBLEM_CD AND A.BUSINESS_UNIT = X.BUSINESS_UNIT AND X.OPRCLASS = Y.ROWSECCLASS AND A.RMA_RET_TYPE = D.FIELDVALUE AND D.FIELDNAME = 'RMA_RET_TYPE' AND D.EFF_STATUS = 'A' AND D.EFFDT <= %CurrentDateIn AND C.SETID = ( SELECT X.SETID FROM PS_SET_CNTRL_REC X WHERE X.SETCNTRLVALUE = A.BUSINESS_UNIT AND X.RECNAME = 'RF_PROBLEM_CD')

  • Related Language Record: RI_RMASTATLCVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
    2 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
    3 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
    4 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
    5 BO_ID_SITE Number(31,0) DECIMAL(31) NOT NULL Business Object ID
    6 RMA_RET_TYPE Character(2) VARCHAR2(2) NOT NULL Indicates the type of return that the RMA represents.
    00=Advanced Exchange
    01=Repair and Return
    02=Return and Replace
    03=Return to Stock
    7 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Default Value: OPR_DEF_TBL_RB.BUSINESS_UNIT

    Prompt Table: SP_BU_RC_NONVW

    8 RMA_ID Character(10) VARCHAR2(10) NOT NULL RMA Number
    9 CASE_ID Number(15,0) DECIMAL(15) NOT NULL Case ID. This is a unique ID assigned to a case when it is saved. Unique ID is ensured by getting the next value from the auto-numbering table and updating the table.

    Prompt Table: RF_RMA_CASE_VW

    10 PROBLEM_CD Character(10) VARCHAR2(10) NOT NULL Stores the ID for the problem code.

    Prompt Table: RF_PROB_CD_VW2
    Set Control Field: BUSINESS_UNIT

    11 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.
    12 STATUS_DESCR Character(50) VARCHAR2(50) NOT NULL Field used to show the status description. Field used as edit box.
    13 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    14 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    15 BO_ID_PARTNER Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID of Partner Company.
    16 ROLE_TYPE_ID_PART Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner
    17 BO_ID_PART_CONT Signed Number(32,0) DECIMAL(31) NOT NULL This is the business object identifier for the partner contact.
    18 ROLE_TYPE_ID_PARTC Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner contact
    19 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
    20 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
    21 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
    22 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
    23 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
    24 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time