AV_RCG_DES_9_VW

(SQL View)
Index Back

Capital Projects to Date

This is a view of AV_RCG_DES and AV_ACCOUNT_TBL that sums the amount given to the campaign to designations for capital projects only.

SELECT A.INSTITUTION, A.INTV_CD, SUM(A.RCG_DES_AMT) FROM PS_AV_RCG_DES A, PS_AV_ACCOUNT_TBL B WHERE A.DESIGNATION = B.DESIGNATION AND B.EFFDT = (SELECT MAX(B1.EFFDT) FROM PS_AV_ACCOUNT_TBL B1 WHERE B1.DESIGNATION = B.DESIGNATION AND B1.EFF_STATUS = 'A') AND A.STATUS = 'A' AND A.RECOGNITION_TYPE = 'H' AND (B.AV_CASE_TYPE = 'P' OR B.AV_CASE_TYPE = 'L') GROUP BY A.INSTITUTION, A.INTV_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
2 INTV_CD Character(10) VARCHAR2(10) NOT NULL Initiative Code
3 RCG_DES_AMT_TOT Number(16,2) DECIMAL(15,2) NOT NULL Field used to sum RCG_DES_AMT from PS_AV_RCG_DES.