RI_RF_RMA_VW

(SQL View)
Index Back

Returns

Returns material authorization view used in 360-degree view.

SELECT A.BUSINESS_UNIT , A.RMA_ID , A.CASE_ID , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , A.BO_ID_CNTCT , A.ROLE_TYPE_ID_CNTCT , A.RMA_RET_TYPE , A.PROBLEM_CD , A.RMA_STATUS , A.SITE_ID , B.BO_ID , 0 , 0 , 0 , 0 , %subrec(RB_AUDIT_SBR, A) FROM PS_RF_RMA_HDR A , PS_RF_SITE_360_VW B WHERE A.BUSINESS_UNIT = B.SETCNTRLVALUE(+) AND A.SITE_ID = B.SITE_ID(+)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: OPR_DEF_TBL_RB.BUSINESS_UNIT

Prompt Table: SP_BU_RC_NONVW

2 RMA_ID Character(10) VARCHAR2(10) NOT NULL RMA Number
3 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

4 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
5 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
6 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
7 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
8 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
9 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

10 RMA_STATUS Character(2) VARCHAR2(2) NOT NULL Code representing the status of the RMA.
C=Closed
O=Open
P=Pending
X=Canceled
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 BO_ID_SITE Number(31,0) DECIMAL(31) NOT NULL Business Object ID
13 BO_ID_PARTNER Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID of Partner Company.
14 ROLE_TYPE_ID_PART Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner
15 BO_ID_PART_CONT Signed Number(32,0) DECIMAL(31) NOT NULL This is the business object identifier for the partner contact.
16 ROLE_TYPE_ID_PARTC Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner contact
17 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
18 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
19 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
20 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
21 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.
22 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time