The Raiser's Edge Gift batch entry requires a valid constituent ID which is why this field is treated as a lookup field for a constituent record and displays as "Constituent Name" in any resulting batch.  Allowing manual entry of constituent IDs could introduce data consistency issues.

The code sample in question which contains the reference to the GIFT_fld_Constit_ID field is found after VBA/API as been unlocked by clicking "Help" > "RE:API/VBA Help" in The Raiser's Edge.  Custom Solutions > API > The API In Action > Gift Batch:
 
Private Sub CreateBatch() 
     
    Dim oBatchAPI As CBatchAPI 
    Dim oBatchFields As CBatchFields 
     
    Set oBatchAPI = New CBatchAPI 
    With oBatchAPI 
        .Init REAPI.SessionContext 
     
        'Add batch fields 
        Set oBatchFields = .BatchFields 
        With oBatchFields 
            SetupBatchField .Add(), GIFT_fld_Constit_ID 
            SetupBatchField .Add(), GIFT_fld_Amount 
            SetupBatchField .Add(), GIFT_fld_Fund 
            SetupBatchField .Add(), GIFT_fld_Date 
            SetupBatchField .Add(), GIFT_fld_Post_Date 
            SetupBatchField .Add(), GIFT_fld_Post_Status 
        End With 
        Set oBatchFields = Nothing 
         
        .Save 
        .CloseDown 
    End With 
    Set oBatchAPI = Nothing 
     
End Function 
  
Private Sub SetupBatchField(ByVal oBatchField As CBatchField, ByVal lGiftField As 
EGiftFields) 
  
    With oBatchField 
        .Fields(BatchField_fld_MetaObjectId) = bbmoGIFT 
        .Fields(BatchField_fld_FieldNumber) = lGiftField 
    End With 
     
End Sub

VBA/API
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.