AV_CMP_TTG_P_VW(SQL View) |
Index Back |
---|---|
Top Campaign Donors PersonUsed in the Top Donors Panel On Campaign Inquiry |
SELECT A.INSTITUTION , A.EMPLID , A.EXT_ORG_ID , A.INTV_CD , SUM(A.RCG_DES_AMT) ,A.CURRENCY_CD FROM PS_AV_RCG_DES A , PS_AV_SESSION_TBL B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SESSION_NO = B.SESSION_NO AND B.SESS_STATUS = 'P' AND A.RECOGNITION_TYPE = 'H' AND A.STATUS = 'A' AND A.EXT_ORG_ID = ' ' AND A.GIFT_TYPE <> 'PP' GROUP BY A.INSTITUTION, A.EMPLID, A.EXT_ORG_ID, A.INTV_CD, A.CURRENCY_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
4 | INTV_CD | Character(10) | VARCHAR2(10) NOT NULL | Initiative Code |
5 | RCG_DES_AMT | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Amount |
6 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |