AV_TRNS_GIFT_VW

(SQL View)
Index Back

Transaction Register Gifts

Selects all gifts and their corresponding splits for designations and recognitions. 08/16/00 - Modified to retrieve designation name as of the gift date Before 7/24/00: SELECT DISTINCT A.INSTITUTION, C.EMPLID, C.EXT_ORG_ID, A.SESSION_NO, C.DESIGNATION, A.GIFT_NO, A.SEQ_NO, C.INTV_CD, C.RCG_DES_AMT, C.RCG_DES_AMT_ENTRY, C.CURRENCY_CD, A.GIFT_DT, A.GIFT_TYPE, A.ADJUSTMENT_FLG, C.RECOGNITION_TYPE, D.AV_SESS_TYPE, A.FISCAL_YEAR FROM PS_AV_GIFT_DTL A, PS_AV_RCG_DES C, PS_AV_SESSION_TBL D WHERE A.INSTITUTION=C.INSTITUTION AND C.INSTITUTION=D.INSTITUTION AND A.SESSION_NO=C.SESSION_NO AND C.SESSION_NO=D.SESSION_NO AND A.GIFT_NO=C.GIFT_NO

SELECT DISTINCT C.INSTITUTION , C.BUSINESS_UNIT , C.EMPLID , C.EXT_ORG_ID , A.SESSION_NO , C.DESIGNATION , A.GIFT_NO , A.SEQ_NO , C.INTV_CD , C.RCG_DES_AMT , C.RCG_DES_AMT_ENTRY , C.CURRENCY_CD , A.GIFT_DT , A.GIFT_TYPE , A.ADJUSTMENT_FLG , C.RECOGNITION_TYPE , D.AV_SESS_TYPE , D.AV_SS_FLG , A.FISCAL_YEAR , C.AV_DES_BU , C.ANONYMOUS_FLG FROM PS_AV_GIFT_DTL A , PS_AV_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'

# 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 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 RCG_DES_AMT Signed Number(17,2) DECIMAL(15,2) NOT NULL Amount
11 RCG_DES_AMT_ENTRY Signed Number(17,2) DECIMAL(15,2) NOT NULL Amount
12 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
13 GIFT_DT Date(10) DATE Gift Date
14 GIFT_TYPE Character(6) VARCHAR2(6) NOT NULL Gift Type
15 ADJUSTMENT_FLG Character(1) VARCHAR2(1) NOT NULL Adjusted Flag
N=No
Y=Yes
16 RECOGNITION_TYPE Character(1) VARCHAR2(1) NOT NULL Recognition Type
17 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
18 AV_SS_FLG Character(1) VARCHAR2(1) NOT NULL Self Service Session
19 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
20 AV_DES_BU Character(5) VARCHAR2(5) NOT NULL Business Unit
21 ANONYMOUS_FLG Character(1) VARCHAR2(1) NOT NULL Anonymous