AV_ASK_CMPLT_VW

(SQL View)
Index Back

Completed Ask Amount View

A view of the amount of Completed Asks (AV_CNST_ACTN) by Campaign Code (AV_ACTN_INTV).

SELECT A.INSTITUTION, A.EMPLID, A.EXT_ORG_ID, B.INTV_CD, SUM(A.ASK_AMT) FROM PS_AV_CNST_ACTN A, PS_AV_ACTN_INTV B WHERE A.INSTITUTION = B.INSTITUTION AND A.EMPLID = B.EMPLID AND A.EXT_ORG_ID = B.EXT_ORG_ID AND A.CNST_ACTN_NO = B.CNST_ACTN_NO AND A.ACTN_TYPE_CD = 'ASK' AND A.ACTN_STAT_CD = 'CMP' GROUP BY A.INSTITUTION, A.EMPLID, A.EXT_ORG_ID, B.INTV_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 ASK_COMPLETE_AMT Number(16,2) DECIMAL(15,2) NOT NULL Completed Asks