BO_BC_CNTCT3_VL(SQL View) |
Index Back |
---|---|
Contacts Language ViewLanguage View for the Contacts for a person |
SELECT DISTINCT P.PERSON_ID , A.BO_ID_2 , B.SETID , B.CUST_ID , A.BO_ID_1 , PN.NAME , R.LANGUAGE_CD , R.DESCR , R.DESCRSHORT FROM PS_BO_REL A , PS_BC_FLAGS_VW B , PS_BO_REL_CAT_ITEM C , PS_BO_SRCH_GRP_TYP D , PS_RD_PERSON P , PS_RD_PERSON_NAME PN , PS_BO_ROLE_TYP_LNG R WHERE A.BO_ID_1 = P.BO_ID AND P.PERSON_ID = PN.PERSON_ID AND PN.PRIMARY_IND = 'Y' AND A.ROLE_TYPE_ID_1 = R.ROLE_TYPE_ID AND C.REL_TYPE_ID = A.REL_TYPE_ID AND C.BO_REL_CATEGORY_ID = 5 AND A.ROLE_TYPE_ID_2 = D.ROLE_TYPE_ID AND D.SRCH_GROUP_ID IN (2, 23) AND A.BO_ID_2 = B.BO_ID AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
3 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
4 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer ID |
5 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
6 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
7 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
9 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |