Error without description when working with cAPCheckRecorderAPI object

Using VBA and sample code supplied in the Knowledgebase Article covering How to write code to write a check for invoices, an error occurs when evoking the ProcessInvoices method.
Error: Run-time error '-2147219870 (80040662)'

The error contains no description.
We are currently evaluating this issue and will update this article when we have more information.

Steps to Duplicate

With VBA unlocked in The Financial Edge, copy/paste the following code (adjusting for invoice ID):
 
Public Sub WriteChecks()

    Dim lInvoiceIDs(1) As Long
    ReDim lCheckIDs(0) As Long
    
    lInvoiceIDs(1) = 75 ''Adjust for invoice System ID
    
    Dim oCheckHelper As cAPCheckRecorderAPI
    Set oCheckHelper = New cAPCheckRecorderAPI
    
    oCheckHelper.Init FE_Application.SessionContext, 1, lInvoiceIDs, Now, Now, DateAdd("y", 1, Now) ''No error seen
    
    lCheckIDs() = oCheckHelper.ProcessInvoices ''Error occurs here

End Sub

Save changes and attempt running from VBA to receive error with no description.

Environment

 Financial Edge
 7.87

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.