RSF_OPP_CUST_V2

(SQL View)
Index Back

View of Prmary B.O. Names

Business Object Name for Sales

SELECT A.SYNCID , A.OPPORTUNITY_ID , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , B.BO_NAME , B.BO_NAME_AC , B.BO_NAME_DISPLAY , B.LAST_NAME_SRCH , B.FIRST_NAME , B.LAST_NAME , B.FIRST_NAME , B.NAME_AC FROM PS_RSF_OPPORTUNITY A , PS_BO_NAME B WHERE A.BO_ID_CUST = B.BO_ID AND B.PRIMARY_IND = 'Y' UNION SELECT A.SYNCID , A.OPPORTUNITY_ID , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , A.NAME1 , ' ' , CASE WHEN A.ROLE_TYPE_ID_CUST = 2 THEN A.NAME1 ELSE %Sql(RA_RTRIM, A.FIRST_NAME) %Concat ' ' %Concat %Sql(RA_RTRIM, A.LAST_NAME) END , UPPER(A.LAST_NAME) , UPPER(A.FIRST_NAME) , A.LAST_NAME , A.FIRST_NAME , ' ' FROM PS_RSF_OPPORTUNITY A WHERE A.BO_ID_CUST = 0

  • Parent record: BO
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 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.
    2 OPPORTUNITY_ID Character(15) VARCHAR2(15) NOT NULL Opportunity ID
    3 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID

    Prompt Table: BO

    4 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
    5 BO_NAME_CUST Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
    6 BO_NAME_AC Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
    7 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
    8 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
    9 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
    10 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
    11 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
    12 NAME_AC Character(50) VARCHAR2(50) NOT NULL Name (Alternate Character)