RC_CUSTOMER_VW

(SQL View)
Index Back

Used to get the Cust Name

This view is used for getting the customer names for the reports

SELECT A.SETID , A.BO_ID , B.ROLE_TYPE_ID , %Substring(C.BO_NAME_DISPLAY, 1, 50) FROM PS_BC A ,PS_BO_ROLE B ,PS_BO_NAME C WHERE A.BO_ID = B.BO_ID AND C.BO_ID = A.BO_ID AND B.ROLE_START_DT <= %CurrentDateIn AND B.ROLE_END_DT > %CurrentDateIn AND A.CUSTOMER_IND ='Y' AND A.CUST_STATUS ='A' AND C.PRIMARY_IND ='Y' AND B.ROLE_TYPE_ID IN(2, 9)

# 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 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
3 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID
4 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object