RD_PTNR_REPS_VW

(SQL View)
Index Back

Customer Reps View

Current Customer Reps View Added in by Eric B. for Perfomance Issues ICE #504366000

SELECT A.BO_ID_2 , C.BO_ID , B.PERSON_ID , C.BO_NAME , A.BO_REL_ID , A.REL_TYPE_ID FROM PS_BO_REL A , PS_RD_PERSON B , PS_BO C WHERE A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn AND A.REL_TYPE_ID IN (46,47) AND A.BO_ID_1 = C.BO_ID AND C.BO_ID = B.BO_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
2 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
3 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
4 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Business Name Display. BO_NAME.NAME_DISPLAY
5 BO_REL_ID Signed Number(32,0) DECIMAL(31) NOT NULL Relationship ID of a Business Object
6 REL_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Relationship Type ID