We are a group of users of Blackbaud products and are not affiliated with Blackbaud. We'd love to have you join our community to help and be helped in getting the most from your Blackbaud software.
Register now to join us to get independant advice on your system, connect with 3rd party consultants to help you maximize your database and have a real alternative to the official Blackbaud website.
I am very new to using the API with vb.net. I am trying to access pledge installment schedules in my program.
I need to be able to access the installment schedule for a set of individuals in my query, so that I can calculate the total funds for a specified period of time.
Does anyone have any experience with doing this sort of thing. I would greatly appreciate all the help I can get
Dim oGift AsNew CGift Dim oPlegde AsNew CGifts Dim oFilter As CGiftsFilter ' find pledge Dim RE7 As REAPI = New REAPI() If RE7.Init("WRE11111", "supervisor", "admin", ) Then Dim goREServices AsNew REServices
goREServices.Init(RE7.SessionContext)
oPlegde.Init(RE7.SessionContext, TopViewFilter_Gift.tvf_Gift_UseFilterObject)
oFilter = oPlegde.FilterObject
oFilter.ConstitRecordID = 596
oFilter.UsePledgeBalance = True oFilter.AppealIDs.Add(13, CStr(13))
oFilter.GiftTypes.Add(8, "Pledge")
oFilter.DateRange = EBBDateTypes.bbDATE_MONTHTODATE If oPlegde.Count > 0 Then ForEach oGift In oPlegde
MsgBox(oGift.Fields(EGiftFields.GIFT_fld_Amount)) Next EndIf EndIf 'cycle through installments Dim oInstallment As CInstallment ForEach oInstallment In oGift.Installments
MsgBox(oInstallment.Fields(EInstallmentFields.INSTALLMENT_fld_Amount))
MsgBox(oInstallment.Fields(EInstallmentFields.INSTALLMENT_fld_Date)) Next