AV_TRZ_P_SUM_VW(SQL View) |
Index Back |
---|---|
Expected Pledge PaymentsExpected Pledge Payments |
SELECT B.INSTITUTION , B.EMPLID , B.EXT_ORG_ID , A.SESSION_NO , B.AV_DES_BU , B.DESIGNATION , D.GIFT_NO , D.SEQ_NO , B.INTV_CD , D.PLDG_EFFDT , D.ADJUSTMENT_FLG , B.RECOGNITION_TYPE , E.AV_SESS_TYPE , A.FISCAL_YEAR , %Round(SUM ( %DecMult(A.EXPECT_AMT , (%DecDiv(B.RCG_DES_AMT , D.GIFT_AMT)))) ,2) FROM PS_AV_PLDG_SCHD A , PS_AV_RCG_DES B , PS_AV_PLEDGE_DTL D , PS_AV_SESSION_TBL E WHERE A.SESSION_NO = B.SESSION_NO AND B.SESSION_NO = D.SESSION_NO AND D.SESSION_NO = E.SESSION_NO AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND B.BUSINESS_UNIT = D.BUSINESS_UNIT AND D.BUSINESS_UNIT = E.BUSINESS_UNIT AND A.GIFT_NO = B.GIFT_NO AND B.GIFT_NO = D.GIFT_NO AND A.RCVD_AMT = 0 AND D.GIFT_AMT > 0 GROUP BY B.INSTITUTION, B.EMPLID, B.EXT_ORG_ID , A.SESSION_NO, B.AV_DES_BU, B.DESIGNATION, D.GIFT_NO, D.SEQ_NO , B.INTV_CD, PLDG_EFFDT, D.ADJUSTMENT_FLG, B.RECOGNITION_TYPE , E.AV_SESS_TYPE, A.FISCAL_YEAR |
# | 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 | SESSION_NO | Character(11) | VARCHAR2(11) NOT NULL | Session Nbr |
5 | AV_DES_BU | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
6 | DESIGNATION | Character(11) | VARCHAR2(11) NOT NULL | Designation |
7 | GIFT_NO | Character(11) | VARCHAR2(11) NOT NULL | Gift Nbr |
8 | SEQ_NO | Number(2,0) | SMALLINT NOT NULL | Sequence Number |
9 | INTV_CD | Character(10) | VARCHAR2(10) NOT NULL | Initiative Code |
10 | GIFT_DT | Date(10) | DATE | Gift Date |
11 | ADJUSTMENT_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Adjusted Flag
N=No Y=Yes |
12 | RECOGNITION_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Recognition Type |
13 | AV_SESS_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
Session Type
AG=Gift Adjustment AM=Adjust Membership AP=Pledge Adjustment G=Gift M=Membership PL=Pledge |
14 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
15 | RCG_DES_AMT | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Amount |