BO_PMCT_PHN_VW(SQL View) |
Index Back |
---|---|
Primary Contact PhoneThis is the Primary Contact Phone view. |
SELECT A.BO_ID_2 , D.BO_ID , F.CM_ID , F.PHONE , F.CM_CONCAT , A.REL_TYPE_ID FROM PS_BO_REL A , PS_BO_REL_CAT_ITEM B , PS_BO D , PS_BO_PRIM_REL_PHN F WHERE B.BO_REL_CATEGORY_ID = 2 AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn AND A.REL_TYPE_ID = B.REL_TYPE_ID AND A.BO_ID_1 = D.BO_ID AND D.BO_ID = F.BO_ID AND A.BO_REL_ID = F.BO_REL_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
2 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
3 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
4 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | This field stores the Telephone number. |
5 | CM_CONCAT | Character(100) | VARCHAR2(100) NOT NULL | Concatenated Contact Method |
6 | REL_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Relationship Type ID |