The following two statements work in QB Pro 2012;`
oQBUnDepositedFunds = New CoreObjX70.UndepositedFunds
In Enterprise 2015 the second statement fails with the following error message:
Message: System.Runtime.InteropServices.COMException (0x800403F0): An invalid enumeration string was supplied.
2018-03-27 09:59:26 at CoreObjX70._UndepositedFunds.GetAll(Boolean& IncludeTxns, String& sMDBPath)
2018-03-27 09:59:26 at MVIRS_Manager.clsQuickbooks.CreateDeposits(frmProgress& afrmProgress)
What is the correct syntax for 2015?
You don’t have to put the “,”: oQBUnDepositedFunds.GetAll(False)
It should work now
The ‘,’ was a typo in my post – I have it coded without the comma. It works when running against QB Pro 2012, but it fails with QB Enterprise 2015.
The problem is that QB 2015 is returning the Credit Card Refund transaction with the undeposited funds. coreObjX version 7 does not support that. We can add support for that in version 8 if you’d like to upgrade.
Please add the support. We will upgrade as soon as the change is available.
The forum ‘CoreObjX / DB’ is closed to new topics and replies.