AV_TRNSG_TOT_VW

(SQL View)
Index Back

Gift Summary by Designation

Count, First, and Last Gift metrics for Philanthropic Interests display. Excluded Pledge Payments to prevent double counting Pledges and their corresponding payments. Further qualifies by Posted, Non-Adjusted, and Accumulated gifts. Based on the AV_TRNS_GIFT_VW.

SELECT C.INSTITUTION , C.EMPLID , C.EXT_ORG_ID , C.AV_DES_BU , C.DESIGNATION , COUNT(*) , MIN(A.GIFT_DT) , MAX(A.GIFT_DT) FROM PS_AV_GIFT_DTL A , PS_AV_RCG_DES C , PS_AV_SESSION_TBL D WHERE A.BUSINESS_UNIT=C.BUSINESS_UNIT AND C.BUSINESS_UNIT=D.BUSINESS_UNIT AND A.SESSION_NO=C.SESSION_NO AND C.SESSION_NO=D.SESSION_NO AND A.GIFT_NO=C.GIFT_NO AND D.SESS_STATUS = 'P' AND A.GIFT_TYPE <> 'PP' AND D.AV_ACCUM_FLG = 'Y' AND A.ADJUSTMENT_FLG = 'N' GROUP BY C.INSTITUTION , C.BUSINESS_UNIT , C.EMPLID , C.EXT_ORG_ID , C.AV_DES_BU , C.DESIGNATION

# 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 AV_DES_BU Character(5) VARCHAR2(5) NOT NULL Business Unit
5 DESIGNATION Character(11) VARCHAR2(11) NOT NULL Designation
6 SCC_TOTAL_CNT Number(5,0) INTEGER NOT NULL Total Count
7 FRST_GIFT_DT Date(10) DATE 1st Gift Date
8 LAST_GIFT_DT Date(10) DATE Last Gift Date