RSF_BO_PARTN_V2(SQL View) |
Index Back |
---|---|
Company as Partner (bo_name)View of all Companies as Partners |
SELECT B.SETID , A.BO_ID , E.COMPANYID , A.BO_NAME , D.DESCR , C.ROLE_TYPE_ID , D.BO_TYPE_ID FROM PS_BO A , PS_BC B , PS_BO_ROLE C , PS_BO_ROLE_TYPE D , PS_RD_COMPANY E WHERE A.BO_ID = B.BO_ID AND B.BO_ID = C.BO_ID AND A.BO_ID = E.BO_ID AND C.ROLE_TYPE_ID = 11 AND D.BO_TYPE_ID = 2 AND C.ROLE_TYPE_ID = D.ROLE_TYPE_ID AND C.ROLE_START_DT <= %CurrentDateIn AND C.ROLE_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. |
2 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
3 | COMPANYID | Character(15) | VARCHAR2(15) NOT NULL | Company ID |
4 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
5 | ROLE_NAME | Character(40) | VARCHAR2(40) NOT NULL | Role name |
6 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
7 | BO_TYPE_ID | Number(6,0) | INTEGER NOT NULL | ID Type |