- Daniel Vivier
- PowerBuilder
- Thursday, 16 June 2022 03:34 PM UTC
Has anyone successfully integrated a PowerBuilder app with the QuickBooks Desktop API, preferably using the QBFC (QuickBooks Foundation Classes)? It's all done through COM, which ought to be relatively easy in PB.
The place I'm stuck is in finding out how to access constants needed as function arguments. For instance, after creating a QBFC15.QBSessionManager object with ConnectToNewObject, I need to call a function OpenConnection2 on it, and one of the arguments is supposed to be values such as ctLocalQBD (which also shows as ENConnectionType.ctLocalQBD in their docs). How do I get that ENConnectionType object? I don't see it in the PB Object Browser, nor do I see any further details about in their docs.
And if you have an answer to that, any other helpful hints on things that won't be clear about how it works from PB, despite a careful reading of their API docs?
Thanks.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.