RB_CUST_PER_VW

(SQL View)
Index Back

Customer/Person Cross Ref

The Field CONTACT_SEQ_NUM has been added to maintain the cross reference with PS FDM.

SELECT DISTINCT B.SETID , B.CUST_ID , C.PERSON_ID , A.BO_ID_2 , A.BO_ID_1 FROM PS_BO_REL A , PS_BC B , PS_RD_PERSON C WHERE A.BO_ID_1 = C.BO_ID AND A.BO_ID_2 = B.BO_ID AND B.CUSTOMER_IND = 'Y' AND A.REL_TYPE_ID IN (9, 10,13,14) AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn

# 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 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID
3 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
4 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
5 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID