BO_CM_FAX_VW(SQL View) |
Index Back |
---|---|
Bo Fax NumbersThis is the Company component view to show Fax numbers for the overview page. |
SELECT A.BO_ID , B.CM_ID , C.CM_TYPE_ID , MAX(B.PROFILE_CM_SEQ) , C.CM_CONCAT FROM PS_BO_CM_USE A , PS_BO_CM B , PS_CM C WHERE A.PROFILE_CM_SEQ = B.PROFILE_CM_SEQ AND %CurrentDateIn >= A.CM_USE_START_DT AND %CurrentDateIn < A.CM_USE_END_DT AND %CurrentDateIn >= B.BO_CM_START_DT AND %CurrentDateIn < B.BO_CM_END_DT AND B.CM_ID = C.CM_ID AND C.CM_TYPE_ID = 2 AND B.CM_PURPOSE_TYPE_ID = 14 AND A.BO_ID = B.BO_ID GROUP BY A.BO_ID, B.CM_ID, C.CM_TYPE_ID, C.CM_CONCAT |
# | 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 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
3 | CM_TYPE_ID | Number(6,0) | INTEGER NOT NULL |
Contact Method Type ID
Prompt Table: CM_TYPE |
4 | PROFILE_CM_SEQ | Number(31,0) | DECIMAL(31) NOT NULL | The Contact Method Profile ID is a key field that is used to reference the details of a Contact Method in various CM tables. |
5 | CM_CONCAT | Character(100) | VARCHAR2(100) NOT NULL | Concatenated Contact Method |