RD_CUST_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 , D.BO_ID , G.PERSON_ID , D.BO_NAME , A.BO_REL_ID , A.REL_TYPE_ID FROM PS_BO_REL A , PS_BO_REL_CAT_ITEM B , PS_RD_PERSON G , PS_BO D WHERE B.BO_REL_CATEGORY_ID = 1 AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn AND A.REL_TYPE_ID = B.REL_TYPE_ID AND A.BO_ID_1 = D.BO_ID AND D.BO_ID = G.BO_ID AND B.REL_TYPE_ID NOT IN (46,47)

# 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