AV_MBR_APEAL_VW(SQL View) |
Index Back |
---|---|
Membership Appeal ViewThis view will break down the Dues Amounts and counts by Appeal Code for a Membership Initiative. 30 Mar 2000 - Added Currency code from AV_MBR_DTL. |
SELECT A.INSTITUTION , A.INTV_CD , A.MOTIVATION_CD , B.CURRENCY_CD , %Round(SUM(%DecMult(B.DUES_AMT , %DecDiv(A.DESIGNATION_PCT , 100))) , 2 ) , COUNT(DISTINCT A.MBR_PMT_NO) FROM PS_AV_MBR_DESIG A , PS_AV_MBR_DTL B WHERE A.INSTITUTION = B.INSTITUTION AND A.SESSION_NO = B.SESSION_NO AND A.MBR_PMT_NO = B.MBR_PMT_NO GROUP BY A.INSTITUTION, A.INTV_CD, A.MOTIVATION_CD, B.CURRENCY_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 | MOTIVATION_CD | Character(9) | VARCHAR2(9) NOT NULL | Appeal Code |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
5 | DUES_AMT | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Dues Amt |
6 | MBR_MEMBERSHIPS | Number(9,0) | DECIMAL(9) NOT NULL | Derived field for Membership Progress Panel. The distinct count of memberships (hard credit only) received to date for this membership campaign initiative. |