Persistent connection with 4D Connector for QuickBooks


How to maintain a persistent connection to QuickBooks via the 4D Connector for QuickBooks application?

A persistent connection to QuickBooks can be opened using the OpenQBConnection method. This will do one of two things:

  1. If a URL is not specified in the QBConnectionString, the component will open a persistent connection to QuickBooks. The connection can only be used by that instance of the object.
  2. If a URL is specified in the QBConnectionString, the component instructs the 4D Connector to open a persistent connection to QuickBooks. Multiple instances of the components can pass through the 4D Connector using the 4D Connector’s persistent connection. The 4D Connector’s connection is maintained until a call to CloseQBConnection is made by any of the components using the 4D Connector, or the 4D Connector application is terminated.

We appreciate your feedback. If you have any questions, comments, or suggestions about this entry please contact our support team at support@4dpayments.com.