AV_AP_CMTREG_VW(SQL View) |
Index Back |
---|---|
Transaction Register GiftsSelects all gifts and their corresponding splits for designations and recognitions. 16Mar2000 - Change View SQL to pull Institution from Recognition Table instead of Gift Table for Perf. APRD=>R-SSEMEG-EF2M6. before 7/25/00: SELECT DISTINCT B.INSTITUTION, B.EMPLID, B.EXT_ORG_ID, A.SESSION_NO, A.GIFT_NO, A.SEQ_NO, B.RCG_PCT_AMT, B.CURRENCY_CD, A.GIFT_DT, A.GIFT_TYPE, A.ADJUSTMENT_FLG, B.RECOGNITION_TYPE, C.AV_SESS_TYPE, A.FISCAL_YEAR FROM PS_AV_GIFT_DTL A, PS_AV_RECOGNITION B, PS_AV_SESSION_TBL C WHERE A.INSTITUTION=B.INSTITUTION AND B.INSTITUTION=C.INSTITUTION AND A.SESSION_NO=B.SESSION_NO AND B.SESSION_NO=C.SESSION_NO AND A.GIFT_NO=B.GIFT_NO |
SELECT A.INSTITUTION , A.BUSINESS_UNIT , C.EMPLID , C.EXT_ORG_ID , A.SESSION_NO , A.GIFT_NO , A.SEQ_NO , C.CURRENCY_CD , A.PLDG_EFFDT , C.RECOGNITION_TYPE , D.AV_SESS_TYPE , D.AV_SS_FLG , A.FISCAL_YEAR , SUM(C.RCG_DES_AMT) , C.ANONYMOUS_FLG FROM PS_AV_ADJ_PLDG_DTL A , PS_AV_ADJ_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' GROUP BY A.INSTITUTION , A.BUSINESS_UNIT , C.EMPLID , C.EXT_ORG_ID , A.SESSION_NO , A.GIFT_NO , A.SEQ_NO , C.CURRENCY_CD , A.PLDG_EFFDT , C.RECOGNITION_TYPE , D.AV_SESS_TYPE , D.AV_SS_FLG, A.FISCAL_YEAR, C.ANONYMOUS_FLG |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
5 | SESSION_NO | Character(11) | VARCHAR2(11) NOT NULL | Session Nbr |
6 | GIFT_NO | Character(11) | VARCHAR2(11) NOT NULL | Gift Nbr |
7 | SEQ_NO | Number(2,0) | SMALLINT NOT NULL | Sequence Number |
8 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
9 | GIFT_DT | Date(10) | DATE | Gift Date |
10 | RECOGNITION_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Recognition Type |
11 | 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 |
12 | AV_SS_FLG | Character(1) | VARCHAR2(1) NOT NULL | Self Service Session |
13 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
14 | RCG_DES_AMT | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Amount |
15 | ANONYMOUS_FLG | Character(1) | VARCHAR2(1) NOT NULL | Anonymous |