RDM_PRSN_SRCH_V

(SQL View)
Index Back

Person Search

This view is used for mobile person search

SELECT DISTINCT B.BO_ID , B.PERSON_ID , B.SETID , %subrec(RB_MARKET_SBR, B) ,B.SYNCID ,A.SYNCDTTM FROM PS_BO_BASIC_IND A , PS_RD_PERSON B WHERE A.BO_ID = B.BO_ID AND A.BO_REL_ID = 0 AND A.ROLE_TYPE_ID IN (4,8,9) AND A.SYNCDTTM = ( SELECT MAX(BAS.SYNCDTTM) FROM PS_BO_BASIC_IND BAS WHERE BAS.BO_ID = A.BO_ID AND BAS.BO_REL_ID = 0 AND BAS.ROLE_TYPE_ID IN (4,8,9))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
2 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
3 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

4 MARKET Character(3) VARCHAR2(3) NOT NULL Market
5 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.
6 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time