Note: Before you proceed with the following instructions, back up the database. If your organization integrates multiple Blackbaud products, refer to the Additional Requirements section of the backup solution.

 

The recommended methods to change the Post Status of a posted gift are:

 
       

     

    If you do NOT interface with Blackbaud's General Ledger or another accounting package, you may run the code below to change the Post Status from Posted to Not Posted. Gifts with a post status of Not Posted are included the next time gifts are posted to the General Ledger in Administration. If you post to an accounting package, this could cause duplicate entries in the accounting package. The Not Posted status of the gifts can be globally changed to Do Not Post after this code is run if needed.


    Public Sub UnPostGift()



       Dim oGift As CGift

       Set oGift = New CGift

       oGift.Init REApplication.SessionContext

       

       oGift.Load 1139

       

       Dim oGift2 As IBBGift2

       

       Set oGift2 = oGift

       

       oGift2.UnPost

       

       oGift.Save

       

       oGift.CloseDown

       Set oGift = Nothing

       Set oGift2 = Nothing

       

    End Sub

    Disclaimer: We provide programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes you are familiar with Microsoft Visual Basic and the tools used to create and debug procedures. Our Customer Support can help explain the functionality of a particular procedure, but we will not modify, or assist you with modifying, these examples to provide additional functionality. If you are interested in learning more about the VBA and API modules, contact your account manager.