RF_COMP_SRCH_VW

(SQL View)
Index Back

Company Search View

Retrieves the company names (from RD_COMPANY) for a setid.

SELECT A.SETID , A.COMPANYID , B.BO_NAME_DISPLAY , B.BO_NAME_AC , A.BO_ID_PARENT , C.BO_TYPE_ID , B.SEQ_NBR , B.NAME_TYPE , B.PRIMARY_IND , B.BO_ID , %subrec(RB_AUDIT_SBR, A) FROM PS_RD_COMPANY A , PS_BO_NAME B , PS_BO C WHERE A.BO_ID = B.BO_ID AND A.BO_ID= C.BO_ID AND B.BO_ID= C.BO_ID AND B.PRIMARY_IND = 'Y'

  • Parent record: BO
  • # 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.

    Default Value: OPR_DEF_TBL_RB.SETID

    Prompt Table: SP_SETID_NONVW

    2 COMPANYID Character(15) VARCHAR2(15) NOT NULL Company ID

    Default Value: NEXT

    3 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
    4 BO_NAME_AC Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
    5 BO_ID_PARENT Number(31,0) DECIMAL(31) NOT NULL Business Object ID of the Parent Company.

    Prompt Table: RB_COMP_SRCH_VW

    6 BO_TYPE_ID Number(6,0) INTEGER NOT NULL ID Type

    Default Value: BO.BO_TYPE_ID

    Prompt Table: BO_TYPE

    7 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
    8 NAME_TYPE Character(15) VARCHAR2(15) NOT NULL Business Object Name Type

    Prompt Table: BO_NAME_TYPE

    9 PRIMARY_IND Character(1) VARCHAR2(1) NOT NULL Flag that indicates whether or not it is Primary
    N=No
    Y=Yes

    Y/N Table Edit

    10 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID

    Prompt Table: BO

    11 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
    12 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
    13 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
    14 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
    15 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.
    16 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time