AV_PLDG_REC_VW

(SQL View)
Index Back

Pledge Recog in last 60 days

Selects the pledges that a person has been recognized for. 28 Mar 2000 - Changed Keys to include EXT_ORG_ID, Replaced PLEDGE_DT with PLDG_EFFDT 28 Mar 2000 - Added date check pldg_effdt >= today - 60

SELECT DISTINCT A.INSTITUTION , A.PLDG_EFFDT , B.EMPLID , B.EXT_ORG_ID , A.GIFT_NO , A.SESSION_NO , B.SA_ID_TYPE , A.GIFT_AMT FROM PS_AV_PLEDGE_DTL A , PS_AV_RECOGNITION B , PS_AV_SESSION_TBL C , PS_AV_INSTALL_INST D WHERE A.INSTITUTION=B.INSTITUTION AND A.SESSION_NO=B.SESSION_NO AND A.GIFT_NO=B.GIFT_NO AND C.INSTITUTION=A.INSTITUTION AND A.INSTITUTION=D.INSTITUTION AND C.SESSION_NO=A.SESSION_NO AND A.ADJUSTMENT_FLG='N' AND C.SESS_STATUS='P' AND A.PLDG_EFFDT >= %DateAdd(%CurrentDateIn, -D.PLEDGE_DAYS)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
2 PLDG_EFFDT Date(10) DATE Effective Date
3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID
5 PLEDGE_GIFT_NO Character(11) VARCHAR2(11) NOT NULL Pledge Number
6 SESSION_NO Character(11) VARCHAR2(11) NOT NULL Session Nbr
7 SA_ID_TYPE Character(1) VARCHAR2(1) NOT NULL ID Type
O=Organization
P=Person
8 GIFT_AMT Signed Number(17,2) DECIMAL(15,2) NOT NULL Gift Amount