Search code examples
intuit-partner-platformqbxmlqbfc

QBFC: Can I call multiple concurrent calls to quickbooks through one session?


I am currently creating a new quickbooks session for every unique "thread" coming into my SDK app. In that session, I do some quickbooks stuff.

It seems to be working well, allowing multiple things to happen at the same time. The problem I have, is that the session sometimes takes a while to "open".

If I create a single "global" session, can I call that concurrently form my individual threads? Will quickbooks allow me to make concurrent sdk calls through the same session?

I would like to get some insight into this before I go and change my currently working code...

Thanks


Solution

  • Yes, you can make multiple calls under one session open. They have to be sequential. They cannot run in parallel. So you can only have one connection open to QB at a time.