RO_CNTCT_BIL_VW(SQL View) |
Index Back |
---|---|
Bill-to Contacts for BCThis record is a view which contains the details on Bill-to Contacts for BC. It includes more forms of the contact name than other views do. |
SELECT A.BO_ID_2 , A.BO_ID_1 , A.ROLE_TYPE_ID_2 , A.BO_ID_1 , A.ROLE_TYPE_ID_1 , A.BO_REL_ID , A.REL_TYPE_ID , B.BO_NAME , B.BO_NAME_DISPLAY , %subrec(NAMEGBL_SBR, B) FROM PS_BO_REL_CUR_VW A , PS_BO_NAME B , PS_BO_REL_CAT_ITEM C WHERE A.BO_ID_1 = B.BO_ID AND B.PRIMARY_IND='Y' AND C.REL_TYPE_ID = A.REL_TYPE_ID AND C.BO_REL_CATEGORY_ID IN (14) AND EXISTS( SELECT 'X' FROM PS_BO_REL_CUR_VW X , PS_BO_REL_CAT_ITEM X2 WHERE X.BO_ID_1 = A.BO_ID_1 AND X.BO_ID_2 = A.BO_ID_2 AND X2.REL_TYPE_ID = X.REL_TYPE_ID AND X2.BO_REL_CATEGORY_ID IN (1,2)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
2 | BO_ID_CNTCT | Number(31,0) | DECIMAL(31) NOT NULL | This field represents the business object ID for a Contact |
3 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
4 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
5 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
6 | BO_REL_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Relationship ID of a Business Object |
7 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |
8 | CONTACT_NAME | Character(50) | VARCHAR2(50) NOT NULL | The individual contact name associated with a given bank/counterparty. |
9 | BO_NAME_DISPLAY | Character(80) | VARCHAR2(80) NOT NULL | Full name of the Business Object |
10 | COUNTRY_NM_FORMAT | Character(3) | VARCHAR2(3) NOT NULL |
This is the country name format field.
Prompt Table: COUNTRY_TBL |
11 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
12 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Name (Alternate Character) |
13 | NAME_INITIALS | Character(6) | VARCHAR2(6) NOT NULL | Name Initials |
14 | NAME_PREFIX | Character(4) | VARCHAR2(4) NOT NULL | Name Prefix |
15 | NAME_SUFFIX | Character(15) | VARCHAR2(15) NOT NULL | Name Suffix |
16 | NAME_ROYAL_PREFIX | Character(15) | VARCHAR2(15) NOT NULL | Name Royal Prefix |
17 | NAME_ROYAL_SUFFIX | Character(15) | VARCHAR2(15) NOT NULL | Name Royal Suffix |
18 | NAME_TITLE | Character(30) | VARCHAR2(30) NOT NULL | Title |
19 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
20 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
21 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
22 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
23 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Middle Name |
24 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
25 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Name |
26 | PREF_FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | PREF_FIRST_NAME field is used to identify the employees preferred first name |