|
[QODBC-Desktop] How to connect to multiple company files at the same time/simultaneously
Posted by Jack - QODBC Support on 30 October 2015 09:22 AM
|
|
How to connect to multiple company files at the same time/simultaneouslyProblem:There are multiple company files in QuickBooks. At a time, I can access only one company file. Does QODBC allow me to access multiple company files at the same time? Solution:To access data from multiple QuickBooks company files, you must configure a dedicated Data Source Name (DSN) for each individual file. Each DSN should be configured to handle auto-login for its respective company file. For detailed setup steps, please refer to the guide: How to set up QODBC for auto-login into QuickBooks. To switch between different company files, simply update your application's connection string to point to the specific DSN associated with that company file.
Please refer to How to set up QODBC for auto-login into QuickBooks. Step 1: Granting QODBC Access PermissionsBefore attempting automated data extraction, QODBC must be granted permission by each QuickBooks company file. This configuration is a one-time requirement per company file. Follow these steps for each file:
Step 2: Extracting and Consolidating DataOnce all certificates are accepted, you can proceed with data extraction:
Important Technical Limitations
Because simultaneous access is not supported, your data extraction workflow must strictly follow a sequential connection process. You must completely close the connection to the active company file before opening a connection to the next one.
Potential Error MessagesIf an application attempts to access multiple company files concurrently, or if a new connection is initiated too quickly without the required delay, the system will return the following error:
If the user tries to access multiple company files at the same time, then you will receive the error:
As a workaround, you can use multiple machines, each with QuickBooks and QODBC installed. Each machine will have a different QuickBooks company file opened in the QuickBooks application. The application machine uses QRemote Client (different DSNs) to connect to those machines and access the QuickBooks company file data simultaneously.
For Example:
QRemote Client DSN B --> Points to IP Address of Machine B --> Machine B will have QuickBooks company file B opened.
QRemote Client DSN C --> Points to IP Address of Machine C --> Machine C will have QuickBooks company file C opened.
Also, Refer: Keywords: QB win log with multiple companies, log in with various companies | |
|
|
There is a limitation with the QuickBooks SDK that it can connect only 1 company file at a time on a machine. To access all company at a time you need to use multiple machines, each machine having QuickBooks Installed and logged in to different company file. Application machine uses QRemote Client (different DSNs) to connect to those machines and accessing QuickBooks company file data simultaneously.
Please refer below-mentioned link for How to use QRemote:
http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2483/0/using-quickbooks-data-remotely-via-qodbc
Please refer below mentioned article for creating DSN:
http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1929/48/how-to-create-or-configure-a-qodbc-dsn
For more details, please raise a support ticket to the QODBC Technical Support department from below-mentioned link & provide requested information:
http://support.flexquarters.com/esupport/index.php?/Tickets/Submit







