RSFM_COMP_VW

(SQL View)
Index Back

Company as Competitor (Mobile)

Company as Competitor (Mobile). Used by Mobile Sales.

SELECT B.SETID , SU.PERSON_ID , A.BO_ID , A.BO_NAME , D.DESCR , C.ROLE_TYPE_ID , B.SYNCID , B.SYNCDTTM FROM PS_BO A , PS_RD_COMPANY B , PS_BO_ROLE C , PS_BO_ROLE_TYPE D , PS_SET_CNTRL_REC CR , PS_RSF_SUSER SU WHERE A.BO_ID = B.BO_ID AND A.BO_ID = C.BO_ID AND C.ROLE_TYPE_ID =10 AND C.ROLE_TYPE_ID = D.ROLE_TYPE_ID AND C.ROLE_START_DT <= %CurrentDateIn AND C.ROLE_END_DT > %CurrentDateIn AND CR.SETID = B.SETID AND CR.SETCNTRLVALUE = SU.BUSINESS_UNIT AND CR.RECNAME = 'RD_COMPANY' AND A.MERGE_STATUS <> 'I'

  • Related Language Record: RSFM_BO_COMP_L
  • # 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 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
    3 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
    4 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
    5 ROLE_NAME Character(40) VARCHAR2(40) NOT NULL Role name
    6 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID
    7 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.
    8 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time