<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title><![CDATA[FLEXquarters.com Limited]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/]]></link>
<description />
<generator><![CDATA[Kayako case v4.66.2]]></generator>
<item>
<title><![CDATA[[QXL-Desktop] How to export QuickBooks Data to Google Sheets using QXL]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3032]]></link>
<guid isPermaLink="false"><![CDATA[8a56257ea05c74018291954fc56fc448]]></guid>
<pubDate><![CDATA[Thu, 23 Jan 2020 13:05:14 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[[QXL Desktop] How to export QuickBooks Data to Google Sheets using QXL
Problem Description:
How to export QuickBooks Data to Google Sheets using QXL
Solutions:&nbsp;
Install the Google Drive desktop application and authorize it to connect to your Goog...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">[QXL Desktop] How to export QuickBooks Data to Google Sheets using QXL</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p>How to export QuickBooks Data to Google Sheets using QXL</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span>&nbsp;</h3>
<p>Install the Google Drive desktop application and authorize it to connect to your Google Drive account.</p>
<p>Start Windows Explorer and navigate to your local Google Drive folder.</p>
<p>Create a QXL folder in Google Drive.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/GoogleDrive-QXL Path.png" alt="" /></p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/QXL - Before export.png" alt="" /></p>
<p>Start QXL Desktop and click on Settings.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/QXL.png" alt="" /></p>
<p>In the "General" tab, set the path to the "Google Drive" path in the "Output folder."</p>
<p>For Example- C:\Google Drive\QXL</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/QXLSettings.png" alt="" /></p>
<p>Close settings</p>
<p>Export the QuickBooks Data</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/QXL-BeforeStart.png" alt="" /></p>
<p>Once the export is complete, the output folder showing the list of files will open automatically.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/QXL-AfterExported.png" alt="" /></p>
<p>The output folder will contain the list of exported files.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/QXL-Exported files.png" alt="" /></p>
<p>The exported files will be automatically uploaded to Google Drive.</p>
<p>Open your web browser and navigate to - drive.google.com.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/GD+Addressbar.png" alt="" /></p>
<p>Navigate to the QXL folder.</p>
<p>You will find your QuickBooks company file folder.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/GoogleDrive-001.png" alt="" /></p>
<p>Double-click the QuickBooks company folder to view the list of exported files.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/GoogleDrive-002.png" alt="" /></p>
<p>To preview the file, double-click on any of the files.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/GoogleDrive-002-On Double Click-Preview.png" alt="" /></p>
<p>In preview mode, you will not be able to change/modify any records.</p>
<p>To edit any file, go back to the preview.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/GoogleDrive-002-Go Back from-Preview.png" alt="" /></p>
<p>Right-click on the selected file, and in the "Open with" option, select "Google Sheets."</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/GoogleDrive-003.png" alt="" /></p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3032/GoogleDrive-004.png" alt="" /></p>
<p>Tags: QXL Desktop, Google Sheets</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC Desktop ] How do I determine which database it is using to set up the connection with QuickBooks]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3027]]></link>
<guid isPermaLink="false"><![CDATA[b922ede9c9eb9eabec1c1fecbdecb45d]]></guid>
<pubDate><![CDATA[Thu, 10 Oct 2019 12:36:12 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[[QODBC Desktop] How do I determine which database it is using to set up the connection with QuickBooks?
Problem Description:
How do I determine which database it is using to set up the connection with QuickBooks?
Solutions:&nbsp;
You may run the follo...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">[QODBC Desktop] How do I determine which database it is using to set up the connection with QuickBooks?</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p>How do I determine which database it is using to set up the connection with QuickBooks?</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span>&nbsp;</h3>
<p>You may run the following command to determine which database you are connected to.</p>
<p>sp_qbfilename</p>
<p>This will return the database (QuickBooks company file) path with which you are connected.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3027/sp_qbfilenameoutput.png" alt="" /></p>
<p>Using the QuickBooks application, you may verify the database (QuickBooks company file) path.</p>
<p>You can find the QuickBooks company file path via QuickBooks UI. Press the F2 key (Function Key 2) you will see the file information.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3027/QuickBooksF2ProductInformation.png" alt="" /></p>
<p>You may verify the QuickBooks company you are connected to.</p>
<p>To verify, please execute the SQL Statement using your application.</p>
<p>Select * from Company</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3027/companytableoutput.png" alt="" /></p>
<p>Tags: QuickBooks company file name, company file path, database, database connection</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Link Invoice to Deposit using QODBC?]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3026]]></link>
<guid isPermaLink="false"><![CDATA[0cdf61037d7053ca59347ab230818335]]></guid>
<pubDate><![CDATA[Fri, 04 Oct 2019 13:35:27 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[QODBC Desktop - How to Link Invoice to Deposit using QODBC?
Problem Description 1:
I want to apply the Payment to a particular Invoice using Deposits.
How can I do so using the QODBC?
Solutions:&nbsp;
Refer to the screenshot of the QuickBooks UI Invo...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">QODBC Desktop - How to Link Invoice to Deposit using QODBC?</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 1:</span></h3>
<p>I want to apply the Payment to a particular Invoice using Deposits.</p>
<p>How can I do so using the QODBC?</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span>&nbsp;</h3>
<p>Refer to the screenshot of the QuickBooks UI Invoice created.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3026/2018-12-26 19_12_40-create invoice-paid.png" alt="" /></p>
<p>You can use this 'Invoice No.' or 'RefNumber' to search for a specific Invoice.</p>
<p>Note the ref number of the Invoice, i.e., '7777777-124.'</p>
<p>You can find this Invoice created using the QODBC Test Tool using the following SQL query:</p>
<p>SELECT * FROM InvoiceLine where RefNumber='7777777-124.'</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3026/Q1.png" alt="" /></p>
<p>Note the value of the field 'TxnID' - '8DF3-1481796954' from the 'InvoiceLine' table.</p>
<p>Use this value of the field 'TxnID' in the 'ReceivePaymentLine' table.</p>
<p>SELECT * FROM ReceivePaymentLine where AppliedToTxnTxnID='8DF3-1481796954'</p>
<p>The value in the field 'AppliedToTxnTxnID' from the ReceivePaymentLine table and 'TxnID' in the InvoiceLine table are equal.</p>
<p>i.e., ReceivePaymentLine.AppliedToTxnTxnID = InvoiceLine.TxnID</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3026/Q2.png" alt="" /></p>
<p>Note the value of the field 'TxnID' - '8DF7-1481797010' from the 'ReceivePaymentLine' table.</p>
<p>Use this value of the field 'TxnID' in the 'DepositLine' table.</p>
<p>SELECT * FROM DepositLine where DepositLineTxnID='8DF7-1481797010'</p>
<p>The value in the field 'TxnID' from the ReceivePaymentLine table and 'DepositLineTxnID' in the DepositLine table are equal.</p>
<p>i.e., DepositLine.DepositlineTxnID = ReceivePaymentLine.TxnID</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3026/Q3.png" alt="" /></p>
<p>Search for the field 'DepositLineCheckNumber' in the 'DepositLine' table.</p>
<p>In this example, the value is '20181225-0222'.</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3026/Q4.png" alt="" /></p>
<p>Search for this specific reference number in QuickBooks UI in 'Deposit.'</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3026/2018-12-26 19_14_20-Deposi.png" alt="" /></p>
<p>Below is the screenshot of the QuickBooks application of 'Customer Payment' or 'ReceivePayment.'</p>
<p align="center">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/3026/2018-12-26 19_13_28-Receive payment.png" alt="" /></p>
<p>Tags: Link invoice to deposit, Deposit, Invoice</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use PowerShell with QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2826]]></link>
<guid isPermaLink="false"><![CDATA[12311d05c9aa67765703984239511212]]></guid>
<pubDate><![CDATA[Thu, 01 Sep 2016 10:11:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use PowerShell with QODBC
Download Sample
Sample Code for using QODBC DSN:
$connectstring = "DSN=QuickBooks Data;"$sql = "Select TOP 10 Name from Customer"$conn = New-Object System.Data.Odbc.OdbcConnection($connectstring)$conn.open()$cmd = New-O...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use PowerShell with QODBC</span></h2>
<p><a href="http://support.flexquarters.com/esupport/newimages/PowerShell/DisplaySQL.zip">Download Sample</a></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Sample Code for using QODBC DSN:</span></h3>
<p>$connectstring = "DSN=QuickBooks Data;"<br /><br />$sql = "Select TOP 10 Name from Customer"<br /><br />$conn = New-Object System.Data.Odbc.OdbcConnection($connectstring)<br /><br />$conn.open()<br /><br />$cmd = New-Object system.Data.Odbc.OdbcCommand($sql,$conn)<br /><br />$da = New-Object system.Data.Odbc.OdbcDataAdapter($cmd)<br /><br />$dt = New-Object system.Data. data table<br /><br />$null = $da.fill($dt)<br /><br />$conn.close()<br /><br />$dt<br /><br /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step1.png" alt="" /></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Script execution &amp; Result:</span></span></h3>
<p>Open Windows PowerShell (x86) from the Start menu: <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step2.png" alt="" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step3.png" alt="" /></p>
<p>Navigate to your PowerShell script folder: <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step4.png" alt="" /></p>
<p><br />Run your PowerShell script: <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step5.png" alt="" /></p>
<p>&nbsp;</p>
<p><br />Result: <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step6.png" alt="" /></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Sample Code for using QRemote DSN:</span></h3>
<p>$connectstring = "DSN=QuickBooks Data QRemote;"<br /><br />$sql = "Select TOP 10 Name from Customer"<br /><br />$conn = New-Object System.Data.Odbc.OdbcConnection($connectstring)<br /><br />$conn.open()<br /><br />$cmd = New-Object system.Data.Odbc.OdbcCommand($sql,$conn)<br /><br />$da = New-Object system.Data.Odbc.OdbcDataAdapter($cmd)<br /><br />$dt = New-Object system.Data. data table<br /><br />$null = $da.fill($dt)<br /><br />$conn.close()<br /><br />$dt<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PowerShell/step7.png" alt="" /></p>
<p><br />Please refer to how<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2436">&nbsp;to configure QRemote</a>.</p>
<p>Please Note: If you have a 64-bit application, you must use QRemote 64-bit DSN "<strong>QuickBooks Data 64-bit QRemote.</strong>"</p>
<p>Also, Refer: <br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2439" target="_blank">QODBC Reports Architecture Mismatch Problem When Connecting</a></p>
<hr class="kbhr" />]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Accessing QuickBooks Data remotely via SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2815]]></link>
<guid isPermaLink="false"><![CDATA[f5b1b89d98b7286673128a5fb112cb9a]]></guid>
<pubDate><![CDATA[Fri, 19 Aug 2016 08:06:02 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Accessing QuickBooks Data Remotely via SQL Server
First, you need to create a Linked Server in SQL Server.
For 32-bit SQL Server. Please refer to&nbsp;How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote.
For 64-bit SQL Serve...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Accessing QuickBooks Data Remotely via SQL Server</span></h2>
<p>First, you need to create a Linked Server in SQL Server.</p>
<p>For 32-bit SQL Server. Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514" target="_blank">How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a>.</p>
<p>For 64-bit SQL Server. Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458" target="_blank">How to create Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a>.</p>
<p>&nbsp;</p>
<p>I have already created a linked server, "QRemote."</p>
<p><img src="//support.flexquarters.com/esupport/newimages/Remotely/step1.png" alt="" /></p>
<p>After creating a Linked Server, you need to create a new database in SQL Server for creating the stored procedure which accepts SQL queries. The stored procedure will call the linked server and execute the query.</p>
<p>To create a database, you need to right-click on "Database" &amp; click on "New Database."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step2.png" alt="" /></span></p>
<p>Enter the database name &amp; click "OK." In this example, I am creating the database "QODBC."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step3.png" alt="" /></span></p>
<p>Database created.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step4.png" alt="" /></span></p>
<p>Now, we will create a stored procedure that accepts SQL queries. The stored procedure will call the linked server and execute the query. <br /><br />In Object Explorer, connect to an instance of Database Engine and then expand that instance. <br /><br />Expand Databases, expand your database, and then expand Programmability. <br /><br />Right-click Stored Procedures, and then click New Stored Procedure.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step5.png" alt="" /></span></p>
<p>&nbsp;</p>
<p>We will create two stored procedures first one will give us a list of all customers &amp; second procedure will accept SQL queries through parameters &amp; execute them on the linked server &amp; provide the query result.</p>
<p>We will create the stored procedure named GetCustomer, which will query the Customer table through the linked table in SQL Server &amp; provide a list of the customers.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step6.png" alt="" /></span></p>
<p>Stored Procedure Created.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step7.png" alt="" /></span></p>
<p><strong>Stored Procedure Code:</strong></p>
<p>================================================================<br />SET ANSI_NULLS ON<br />GO<br />SET QUOTED_IDENTIFIER ON<br />GO<br /><br />CREATE PROCEDURE GetCustomer<br /><br />AS<br />BEGIN<br />SET NOCOUNT ON;<br /><br />SELECT * from QRemote...customer<br /><br />END<br />GO<br />================================================================<br /><br /></p>
<p><strong>Note: The above-stored procedure code is, for example. You can change it as per your requirement.</strong></p>
<p>By executing this stored procedure, we will get a list of the Customers.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step10.png" alt="" /></span></p>
<p>We will create a second stored procedure named QODBCQuery, which will accept an SQL query through parameters &amp; execute on the linked server &amp; provide the query result.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step8.png" alt="" /></span></p>
<p>Stored Procedure Created.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step9.png" alt="" /></span></p>
<p><strong>Stored Procedure Code:</strong></p>
<p>================================================================<br />SET ANSI_NULLS ON<br />GO<br />SET QUOTED_IDENTIFIER ON<br />GO <br /><br />Create PROCEDURE QODBCQuery<br /><br />@sqlQuery nvarchar( 4000)<br /><br />AS<br />BEGIN<br />SET NOCOUNT ON;<br /><br />DECLARE @TSQL varchar(8000)<br />SELECT @TSQL = 'SELECT * FROM OPENQUERY(QRemote,''' + @sqlQuery + ''')'<br />EXEC (@TSQL)<br /><br />END<br />GO<br />================================================================</p>
<p><strong>Note: The above-stored procedure code is, for example. You can change it as per your requirement.</strong></p>
<p>We must pass the query as the parameter value to execute this stored procedure.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step11.png" alt="" /></span></p>
<p>Query results through the stored procedure.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step12.png" alt="" /></span></p>
<p><br /><br /></p>
<p>Now, we will create a SQL Server DSN on the non-SQL Server machine to access QuickBooks Data remotely via SQL Server.</p>
<p>Locate the QODBC Driver for the QuickBooks program group on your desktop. Click on the Configure QODBC Data Source icon to create a SQL Server DSN.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step13.png" alt="" /></span></p>
<p>Click on the System DSN tab to create a DSN that both Windows applications and services can call. Click on the Add button to create a new DSN.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step14.png" alt="" /></span></p>
<p>Select SQL Server &amp; click "Finish."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step15.png" alt="" /></span></p>
<p>Enter the DSN name and SQL Server machine IP address &amp; click "Next."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step16.png" alt="" /></span></p>
<p>Select the authenticity of SQL Server &amp; click "Next."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step17.png" alt="" /></span></p>
<p>Select the SQL Server database where we have created the stored procedure &amp; click "Next."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step18.png" alt="" /></span></p>
<p>Click "Finish."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step19.png" alt="" /></span></p>
<p>Click on "Test Data Source..." to test the connection.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step20.png" alt="" /></span></p>
<p>Test connection success.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Remotely/step21.png" alt="" /></span></p>
<p><br /><br /></p>
<p><strong>Note:</strong> If you are using the latest version of QODBC, you can use the "QODBC 64-Bit Test tool."</p>
<p>Open the "QODBC 64-Bit Test tool" from the start menu.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-22.png" alt="" /></span></p>
<p>Click on the "Drop-down Menu" button.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-23.png" alt="" /></span></p>
<p>Select DSN from the Drop-down list.</p>
<p><strong>For example: </strong>"QuickBooks Data 64-Bit QRemote."</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-24.png" alt="" /></span></p>
<p>Click on the "Connect" button.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-25.png" alt="" /></span></p>
<p>Write down the query in the marked field. Please refer to the image.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-26.png" alt="" /></span></p>
<p>Click on the "Run" button.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-27.png" alt="" /></span></p>
<p><strong>Note:</strong> The above Query is, for example. You can change it as per your requirement.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2815/step-28.png" alt="" /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Excel Automation - How to open, refresh and close a company file]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2813]]></link>
<guid isPermaLink="false"><![CDATA[39d352b0395ba768e18f042c6e2a8621]]></guid>
<pubDate><![CDATA[Tue, 09 Aug 2016 14:40:40 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Excel Automation - How to open, refresh, and close a company file
Download Sample
Before using the MS Excel application, please ensure you have installed the MS Office Component named "Microsoft Query." About MS Query, please refer to Microsoft Office w...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Excel Automation - How to open, refresh, and close a company file</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://support.flexquarters.com/esupport/newimages/ExcelAutomation/Excel Automation.zip">Download Sample</a></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before using the MS Excel application, please ensure you have installed the MS Office Component named "Microsoft Query." About MS Query, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352" target="_blank">Microsoft Office with MS Query and QODBC </a> for more. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">It would be best if you opened QuickBooks &amp; load the company file in QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step17.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Excel &amp; create a new spreadsheet.<br />First, please select the "Data" tab, navigate to "From Other Sources"-&gt;" From Microsoft Query."<br /><br />Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br />Please refer to <a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a><br /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. (Here, I choose the default data source with a sample company file open. And check to use the Query Wizard to create/edit queries.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step2.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'QuickBooks Data' as an example: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you used MS Excel to access QuickBooks. You will be asked to grant access permission for QODBC. After you grant permission for QODBC, you will be guided by the Query Wizard. Choose any table and click "Next" until you reach the Query Wizard.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select View data or edit query in Microsoft Query &amp; click Finish:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write a query &amp; click OK. In this example, I am writing a Trial Balance report query. <br />sp_report TrialBalance show Debit_Title, Credit_Title, Label, Debit, Credit parameters DateMacro = 'LastMonth', ReportBasis = 'Cash'</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step6.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You will get the following message box about the SQL Query. Click OK.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step7.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report data is available in Microsoft Query:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step8.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Click on File &amp; Return Data to Microsoft Excel to save the export report in an Excel spreadsheet.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step9.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save it so that the next time you can directly use it. Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step10.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data is exported to an Excel spreadsheet. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step11.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will disable auto-refresh of data from Data--&gt;Connection--&gt;Properties--&gt;Uncheck Enable Background Refresh &amp; Click OK:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step12.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will add a button &amp; we will write code for the button click event. On button click, it will open the connection, refresh the report data &amp; close the connection.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can add a button from the Developer tab in MS Excel. If the Developer tab is not available, display it.<br /><br />Display the Developer tab.<br />Click the File tab, click Options, and then click the Customize Ribbon category.<br />Select the Developer check box in the Main Tabs list, and click OK.<br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> On the Developer tab, in the Controls group, click Insert, and then under ActiveX Controls, click Command Button. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step13.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Command Button is added. I have renamed it to Refresh Data. Double-click on the command button to write code.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step14.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write the code below to open the connection, refresh the report data &amp; close the connection.<br /><br />Private Sub CommandButton1_Click()<br />ActiveWorkbook.Connections("Query from QuickBooks Data"). Refresh<br />End Sub<br /><br />Note: Query from QuickBooks Data is the name of the connection. You can get it from the Data--&gt; Connections.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step15.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data will be refreshed by clicking the Refresh Data button.<br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ExcelAutomation/step16.png" alt="" /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to insert Invoice using Excel - VBA]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2810]]></link>
<guid isPermaLink="false"><![CDATA[663772ea088360f95bac3dc7ffb841be]]></guid>
<pubDate><![CDATA[Mon, 01 Aug 2016 15:28:48 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to insert an invoice using Excel - VBA
Download Sample
In this example, we will show you how to insert an Invoice in QuickBooks using the data available in an Excel spreadsheet.
We have an Excel spreadsheet that contains invoice-related information...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to insert an invoice using Excel - VBA</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/Insert_Invoice.zip">Download Sample</a></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In this example, we will show you how to insert an Invoice in QuickBooks using the data available in an Excel spreadsheet.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We have an Excel spreadsheet that contains invoice-related information. The Excel spreadsheet has a CustomerRefFullName, RefNumber, TxnDate, InvoiceLineItemRefFullName, InvoiceLineDesc, InvoiceLineRate, InvoiceLineQuantity, InvoiceLineSalesTaxCodeRefFullName, and FQSaveToCache information. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Using this information, we will create an Invoice in QuickBooks, which has 4 line items. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will add a button &amp; we will write code for the button click event. On button click, it inserts the Invoice in QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can add a button from the Developer tab in MS Excel. If the Developer tab is not available, display it.<br /><br />Display the Developer tab.<br />Click the File tab, click Options, and then click the Customize Ribbon category.<br />Select the Developer check box in the Main Tabs list, and click OK.<br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> On the Developer tab, in the Controls group, click Insert, and then under ActiveX Controls, click Command Button. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/step2.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Command Button is added. I have renamed it to ADD Invoice&mdash;double-click on the command button to write code.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write the code below for inserting an invoice in QuickBooks from an Excel spreadsheet.<br /><br /> <br /><br />Private Sub CommandButton1_Click() <br /><br />Dim sh As Worksheet<br />Dim row As Range<br />Dim RowCount As Integer<br />Dim CustomerRefFullName As String<br />Dim RefNumber As String<br />Dim TxnDate As Date<br />Dim InvoiceLineItemRefFullName As String<br />Dim InvoiceLineDesc As String<br />Dim InvoiceLineRate As Single<br />Dim InvoiceLineQuantity As Single<br />Dim InvoiceLineSalesTaxCodeRefFullName As String<br />Dim FQSaveToCache As Boolean<br />Dim connection As New ADODB.Connection<br />Dim sConnectString<br />Dim sSQL As String<br />Dim rs<br />Dim sMsg<br /> <br />RowCount = 0<br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br /><br />'' For 64-bit use this one--&gt;sConnectString = "DSN=QuickBooks Data 64-bit QRemote;" <br />sSQL = "SELECT * FROM InvoiceLine"<br />Set rs = New ADODB.Recordset<br />oConnection.Open (sConnectString)<br />rs.Open sSQL, oConnection, adOpenDynamic, adLockOptimistic<br />Set sh = ActiveSheet<br />For Each rw In sh.Rows<br /><br />If (RowCount &gt; 0), Then<br />CustomerRefFullName = sh.Cells(rw.Row, 1).Value<br />If (CustomerRefFullName = "") Then<br />Exit For<br /> <br />End If<br /><br />RefNumber = sh.Cells(rw.Row, 2).Value<br />TxnDate = sh.Cells(rw.Row, 3).Value<br />InvoiceLineItemRefFullName = sh.Cells(rw.Row, 4).Value<br />InvoiceLineDesc = sh.Cells(rw.Row, 5).Value<br />InvoiceLineRate = sh.Cells(rw.Row, 6).Value<br />InvoiceLineQuantity = sh.Cells(rw.Row, 7).Value<br />InvoiceLineSalesTaxCodeRefFullName = sh.Cells(rw.Row, 8).Value<br />FQSaveToCache = sh.Cells(rw.Row, 9).Value<br /> <br />rs.AddNew<br />rs("CustomerRefFullName") = CustomerRefFullName<br />rs("RefNumber") = RefNumber<br />rs("TxnDate") = TxnDate<br />rs("InvoiceLineItemRefFullName") = InvoiceLineItemRefFullName<br />rs("InvoiceLineDesc") = InvoiceLineDesc<br />rs("InvoiceLineRate") = InvoiceLineRate<br />rs("InvoiceLineQuantity") = InvoiceLineQuantity<br />rs("InvoiceLineSalesTaxCodeRefFullName") = InvoiceLineSalesTaxCodeRefFullName<br />rs("FQSaveToCache") = FQSaveToCache<br />rs.Update<br /> <br />End If<br /><br />RowCount = RowCount + 1<br />Next rw<br />sMsg = sMsg &amp; "Invoice Added!!!"<br />MsgBox sMsg<br /><br />rs. Close<br />oConnection.Close<br /> <br />End Sub <br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/step4.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/step5.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/step6.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">On clicking on the ADD Invoice button, the Invoice will be added to QuickBooks.<br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Invoice Added.<br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/step7.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can see the same in the QuickBooks Invoice that is added.<br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InsertInvoiceVBA/step8.png" alt="" /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Connecting multiple QuickBooks companies via Excel]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2809]]></link>
<guid isPermaLink="false"><![CDATA[b4fd1d2cb085390fbbadae65e07876a7]]></guid>
<pubDate><![CDATA[Thu, 28 Jul 2016 17:25:58 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Connecting multiple QuickBooks companies via Excel
Download Sample
There is a limitation with the QuickBooks&nbsp;Desktop SDK: it can connect only one company file to a user session at a time. It means you cannot access multiple company files at the sam...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Connecting multiple QuickBooks companies via Excel</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><a href="http://support.flexquarters.com/esupport/newimages/MultipleCompany/MultipleQBCompanyConnection.zip">Download Sample</a></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">There is a limitation with the QuickBooks&nbsp;Desktop SDK: it can connect only one company file to a user session at a time.<br /> <br />It means you cannot access multiple company files at the same time. <br /> <br />You need to close the connection with one company file and switch to another. ( i.e., connection closed for company A and Connection open for company B should have a gap of 15-30 seconds for switching operation.)</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This applies to QuickBooks Desktop. When using QuickBooks Online, you can connect to multiple company files simultaneously.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">In this article, we will connect to two different QuickBooks Desktop company files using two different QODBC DSNs with auto login configured. In this example, we will use two auto logins, DSN CompanyA &amp; CompanyB. <br /><br />Please Refer:<br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2360" target="_blank">How to set up QODBC Desktop for Auto-login into QuickBooks Desktop</a><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2511" target="_blank">How to set up the QODBC Driver to auto-connect to QuickBooks Desktop. (Video)</a><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Here is my DSN configuration for the First QuickBooks Desktop Company file.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step26.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step28.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">It would be best if you opened QuickBooks&nbsp;Desktop &amp; loaded the company file that you have chosen in the auto login DSN. The company file path in QuickBooks &amp; DSN should be matched.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step25.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open MS Excel &amp; create a new spreadsheet.<br />First, please select the "Data" tab, navigate to "From Other Sources"-&gt;" From Microsoft Query."</span></p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.</p>
<p>Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. (Here, I choose the default data source with a sample company file open. And check to use the Query Wizard to create/edit queries.) </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'CompanyA' as an example: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Excel to access QuickBooks Desktop, you will be asked to grant access permission for QODBC. After you grant permission for QODBC, you will be guided by the Query Wizard. Choose any table and click "Next" until you reach the Query Wizard.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select View data or edit query in Microsoft Query &amp; click Finish:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write a query &amp; click OK. In this example, I am writing a Trial Balance report query. <br />sp_report TrialBalance show Debit_Title, Credit_Title, Label, Debit, Credit parameters DateMacro = 'LastMonth', ReportBasis = 'Cash'</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step6.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You will get the following message box about the SQL Query. Click OK.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step7.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report data is available in Microsoft Query:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step8.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Click on File &amp; Return Data to Microsoft Excel to save the export report in an Excel spreadsheet.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step9.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save it so that the next time you can directly use it. Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step10.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data is exported to an Excel sheet. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step11.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Repeating the above steps will export another report in sheet 2 using DSN CompanyB. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We need to close the first company file, which is open in QuickBooks Desktop. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step24.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Here is my DSN configuration for the Second Company file.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step27.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step28.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">It would be best if you opened QuickBooks Desktop&nbsp;and loaded the company file that you have chosen in the auto login DSN. The company file path in QuickBooks &amp; DSN should be matched.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step23.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Navigate to sheet2<br />First, please select the "Data" tab, navigate to "From Other Sources"-&gt;" From Microsoft Query."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step1.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. (Here, I choose the default data source with a sample company file open. And check to use the Query Wizard to create/edit queries.) </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'CompanyB' as an example: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step17.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Excel to access QuickBooks Desktop, you will be asked to grant access permission for QODBC. After you grant permission for QODBC, you will be guided by the Query Wizard. Choose any table and click "Next" until you reach the Query Wizard.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select View data or edit query in Microsoft Query &amp; click Finish:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write a query &amp; click OK. In this example, I am writing a Profit &amp; Loss report query. <br />sp_report ProfitAndLossStandard show Amount_Title, Text, Label, Amount parameters DateMacro = 'ThisMonthToDate', SummarizeColumnsBy = 'TotalOnly'</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step18.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You will get the following message box about the SQL Query. Click OK.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step7.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report data is available in Microsoft Query:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step19.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Click on File &amp; Return Data to Microsoft Excel to save the export report in an Excel spreadsheet.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step20.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save it so that the next time you can directly use it. Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step10.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data is exported to an Excel sheet 2. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step21.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the export is complete, close the company file opened in QuickBooks Desktop. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step24.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will disable auto-refresh of data from Data--&gt;Connection--&gt;Properties--&gt;Uncheck Enable Background Refresh &amp; Click OK:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step12.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We need to disable auto-refresh data for both company file connections (i.e., Query from CompanyA &amp; Query from CompanyB ).</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we will add a button &amp; we will write code for the button click event. On button click, it will open the connection for CompanyA, refresh the report data &amp; close the connection for CompanyA, sleep for 15 seconds, open the connection for CompanyB, refresh the report data &amp; close the connection for CompanyB.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can add a button from the Developer tab in MS Excel. If the Developer tab is not available, display it.<br /><br />Display the Developer tab.<br />Click the File tab, click Options, and then click the Customize Ribbon category.<br />Select the Developer check box in the Main Tabs list, and click OK.<br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> On the Developer tab, in the Controls group, click Insert, and then under ActiveX Controls, click Command Button. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step13.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Command Button is added. I have renamed it to Refresh Data. Double-click on the command button to write code.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step14.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Write the code below to open a connection for Company A, refresh the report data &amp; close the connection for Company A, sleep for 15 seconds, open the connection for CompanyB, restore the report data &amp; close the connection for CompanyB. <br /><br />Fifteen seconds of sleep are required to close the company file and switch to another private&nbsp;Sub CommandButton1_Click()<br />ActiveWorkbook.Connections("Query from CompanyA"). Refresh<br />Application.Wait (Now + TimeValue("0:00:15"))<br />ActiveWorkbook.Connections("Query from CompanyB").Refresh<br />End Sub <br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step22.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Report Data will be refreshed by clicking the Refresh Data button.<br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MultipleCompany/step16.png" alt="" /></span></p>
<p>&nbsp;</p>
<p>Keywords: QuickBooks Desktop, win log with multiple companies, log in with various companies</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Getting Error SOCKET Closed because of abnormal package]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2807]]></link>
<guid isPermaLink="false"><![CDATA[765d5fb115a9f6a3e0b23b80a5b2e4c4]]></guid>
<pubDate><![CDATA[Wed, 20 Jul 2016 15:42:09 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Getting Error SOCKET Closed because of an abnormal package 
Problem Description:
I am getting an error SOCKET Closed because of an abnormal package in the QRemote client. I am accessing QuickBooks Data from the remote machine over the...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Getting Error SOCKET Closed because of an abnormal package </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am getting an error SOCKET Closed because of an abnormal package in the QRemote client. I am accessing QuickBooks Data from the remote machine over the internet (WAN).</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This issue will occur when the QRemote client &amp; QRemote Server have different network types.The&nbsp;<br /><br />Windows component is internally checking the connection every 4 minutes. If there is no activity between the client &amp; server, the Windows component will close the connection after 4 minutes &amp; due to this, when the QRemote client tries to connect to the QRemote Server, it will not be able to connect, &amp; SOCKET is Closed because an abnormal package error occurred. <br /><br />To resolve this issue, you need to set the AutoClose value to 3 minutes for closing the broken connection in QRemote Server.<br /><br />You can find the QRemote Server running in the System Tray. If QRemote Server is not running, then you can run it from Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; QRemote Server for QODBC.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step1.png" alt="" border="0" /><br /><br />Open QRemote Server. Go to File Menu -&gt; Settings -&gt; Advanced Tab. Set AutoClose broken connection after <strong>3 minutes</strong> &amp; apply the setting by clicking the Apply button.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step2.png" alt="" border="0" /><br /><br />After applying the settings. Please restart the QRemote Server &amp; test again. To continue QRemote Server, go to File Menu -&gt; Exit -&gt; :<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step3.png" alt="" border="0" /><br /><br />You will get a pop-up window with the message. Do you want to close the QRemote Server? Please click on OK to close QRemoteServer. <br /><br /></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step4.png" alt="" /></p>
<p><br />Please rerun QRemoteServer &amp; test. You can QRemoteServer from:<br />Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; QRemote Server for QODBC <br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Abnormal/step5.png" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QODBC Record Set Issue]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2806]]></link>
<guid isPermaLink="false"><![CDATA[c0f971d8cd24364f2029fcb9ac7b71f5]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 15:10:57 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QODBC Record Set Issue 
Problem Description:
I am using the code below. It is returning records &amp; giving me the correct result. But if I change the query from "SELECT Name FROM customer" to "SELECT * FROM customer," it does not re...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QODBC Record Set Issue </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am using the code below. It is returning records &amp; giving me the correct result. But if I change the query from "SELECT Name FROM customer" to "SELECT * FROM customer," it does not return any records &amp; giving me the incorrect result. I am getting the following error:<br /><br />[QODBC] Internal error<br />440: BOF or EOF is True, or the current record has been deleted. The requested operation requires a current record.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/RecordSet/step1.png" alt="" border="0" /><br /><br /> <span style="font-family: Arial,Helvetica,sans-serif;"> Public Sub example select()<br />Const adOpenStatic = 3<br />Const adLockOptimistic = 3<br />Dim oConnection<br />Dim oRecordset<br />Dim sMsg<br />Dim sConnectString<br />Dim sSQL<br /> <br />sConnectString = "Driver={QODBC Driver for QuickBooks};DFQ=C:\QuickBooks\Maintenance.qbw;OpenMode=F;OLE DB Services=-2;"<br />sSQL = "SELECT Name FROM customer"<br />Set oConnection = CreateObject("ADODB.Connection")<br />Set oRecordset = CreateObject("ADODB.Recordset")<br /> <br />oConnection.Open sConnectString<br />oRecordset.Open sSQL, oConnection, adOpenStatic, adLockOptimistic<br />sMsg = "**********************" &amp; Chr(100)<br />Do While (Not oRecordset.EOF)<br />sMsg = sMsg &amp; oRecordset.Fields("Name") &amp; Chr(100)<br />oRecordset.MoveNext<br />Loop<br />sMsg = sMsg &amp; "**********************"<br />MsgBox sMsg<br /> <br />oRecordset.Close<br />Set oRecordset = Nothing<br />oConnection.Close<br />Set oConnection = Nothing<br />End Sub</span></span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">To resolve the issue, you need to add the line below to your connection string.<br /><br />OptimizerAllowDirtyReads=N <br /><br />For Example: <br /><br />sConnectString = "Driver={QODBC Driver for QuickBooks};DFQ=C:\QuickBooks\Maintenance.qbw;OpenMode=F;OLE DB Services=-2;OptimizerAllowDirtyReads=N" <br /><br />After changing this, you can get the correct result.<br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to close SQL Linked Server connection]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2803]]></link>
<guid isPermaLink="false"><![CDATA[64c31821603ab476a318839606743bd6]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 14:35:03 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to close SQL Linked Server connection 
Problem Description:
We are using QRemote with SQL Linked Servers with several different QuickBooks files. How can we close the connection to a QuickBooks file after the query has run, then o...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to close SQL Linked Server connection </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We are using QRemote with SQL Linked Servers with several different QuickBooks files. How can we close the connection to a QuickBooks file after the query has run, then open it to connect to another database?&nbsp;</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SQL Server Linked Server automatically handles disconnections. <br /><br /> SQL Server Linked Server does not have a disconnection command that can be fired/executed.<br /><br /> After executing the query, you will have to wait 30-45 seconds. SQL Server will automatically send the disconnect command if there is no activity on the linked server connection.<br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Troubleshooting - Code differences between QODBC Desktop and QODBC Online]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2800]]></link>
<guid isPermaLink="false"><![CDATA[0fc170ecbb8ff1afb2c6de48ea5343e7]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 14:15:00 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Code differences between QODBC Desktop and QODBC Online 
Problem Description:
I have an MS Access application using QODBC to connect to desktop QuickBooks. Can I use the QODBC Online driver to connect to QuickBooks Online without chan...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Code differences between QODBC Desktop and QODBC Online </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I have an MS Access application using QODBC to connect to desktop QuickBooks. Can I use the QODBC Online driver to connect to QuickBooks Online without changing my MS Access code?&nbsp;</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QODBC Online is a different product from the QODBC Desktop driver. So you cannot use the QODBC Desktop driver with QuickBooks Online. It would be best if you used the QODBC Online driver to connect to QuickBooks Online. <br /><br />Most of the Tables, table columns, reports, report columns &amp; report parameters in QuickBooks Desktop &amp; Online are the same. But not all the tables, reports &amp; fields available in QuickBooks desktop are available in QuickBooks Online. You might have to change a few areas to match QuickBooks Online. You need to refer to QODBC Online reports/tables/fields &amp; make changes in your code.<br /><br />Please refer <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2647" target="_blank">Difference between QODBC for QuickBooks Desktop and Online</a> &amp; make necessary changes in your code &amp; use the code with QODBC Online.</span></p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<p>Tags: QuickBooks Online, QBO, code, QODBC Online, QODBC Desktop</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Connection Serial, Limitation , Queue and upper limit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2799]]></link>
<guid isPermaLink="false"><![CDATA[0d9095b0d6bbe98ea0c9c02b11b59ee3]]></guid>
<pubDate><![CDATA[Wed, 13 Jul 2016 14:11:08 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Connection Serial, Limitation, Queue, and Upper Limit
Problem Description:
How many concurrent connections does the Server edition support? Is the product QuickBooks version specific, requiring additional purchases with each version? ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Connection Serial, Limitation, Queue, and Upper Limit</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">How many concurrent connections does the Server edition support? <br /><br />Is the product QuickBooks version specific, requiring additional purchases with each version? AKA. Upgrading from V15 to V16?</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">There is no limit on QODBC for the concurrent connection, but the more connections, the more QuickBooks has to work. QuickBooks SDK will process all the requests in a sequence, so if you have three connections and three queries going at the same time, the SDK will execute them in sequence. <br /><br />QODBC license is licensed for QuickBooks Version(Year). E.g., If you have QODBC licensed for 2015, you can use QODBC with QuickBooks 2015,2014,2013, and so on, but not with QuickBooks 2016.<br /><br />You can install QODBC v15 and v16 with no upgrade cost. Upgrade cost is only applicable when your license does not match the year.<br /><br />For Example: <br /><br />If you have QODBC licensed for 2015 &amp; you are using QODBC v15 &amp; QuickBooks 2015, you can install QODBC v16 and use it with QuickBooks 2015.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QXL-Desktop] Troubleshooting - QXL 80040414 Popup window(s) in the QuickBooks Must be closed - Unable to connect to QuickBooks]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2788]]></link>
<guid isPermaLink="false"><![CDATA[d210cf373cf002a04ec72ee395f66306]]></guid>
<pubDate><![CDATA[Tue, 28 Jun 2016 14:54:07 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QXL 80040414 Modal Popup Error 
Problem Description:
I am trying to export data from QXL. But when I clicked on the QXL export button, I got the following error message. Unable to connect to QuickBooks. Popup window(s) in the QuickBoo...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QXL 80040414 Modal Popup Error </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am trying to export data from QXL. But when I clicked on the QXL export button, I got the following error message. <br /><br />Unable to connect to QuickBooks. Popup window(s) in the QuickBooks application MUST be closed before QXL can communicate with QuickBooks.<br /><br />Error Occurred: ERROR [00000] [QODBC] QuickBooks Begin Session Failed. Error = 80040414. A modal dialog box is showing in the QuickBooks user interface. Your application cannot access QuickBooks until the user dismisses the dialog box. <br /><br /><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL-80040414/step1.png" alt="" border="0" /> </span></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please navigate to QuickBooks &amp; make sure that there is no modal pop-up window open in QuickBooks. If any modal pop-up window is available in QuickBooks, you will get an "Error = 80040414; A modal dialog box is showing in the QuickBooks user interface....". QuickBooks says that a modal connection is active for this part of QuickBooks, and you need to wait. <br /><br />It would be best if you closed this modal popup window in QuickBooks &amp; export data using QXL. <br /><br />QXL does not have control over the modal pop-up window in QuickBooks. QXL cannot suppress or bypass this type of dialogue. It would be best if you disabled the modal pop-up from QuickBooks.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Tags: Unable to connect to QuickBooks using QXL</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Changes to the Integrated Application Authentication for QuickBooks]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2785]]></link>
<guid isPermaLink="false"><![CDATA[5be278a9e02bed9248a4674ff62fea2c]]></guid>
<pubDate><![CDATA[Tue, 21 Jun 2016 15:21:17 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Changes to the Integrated Application Authentication for QuickBooks
Intuit is reinforcing existing security features that help protect QuickBooks customers&rsquo; sensitive information. Refer: Intuit's News: Changes to the Integrated A...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Changes to the Integrated Application Authentication for QuickBooks</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Intuit is reinforcing existing security features that help protect QuickBooks customers&rsquo; sensitive information. <br />Refer: Intuit's News: <a href="https://developer.intuit.com/hub/blog/2016/06/17/changes-to-the-integrated-application-authentication-for-quickbooks-desktop-users" target="_blank">Changes to the Integrated Application Authentication for QuickBooks Desktop users</a><br /> <br /><br />As a result of this effort, Intuit is delivering an update that impacts third-party applications that connect to QuickBooks using the QuickBooks SDK.<br /><br />A new file specific to a Windows user on a given machine is created on user login that provides access to an SDK app in QuickBooks. <br /><br />The implementation of this update will require customers to re-enter their login credentials &amp; authorize the application(i.e., QODBC) at QuickBooks. <br /><br />For Example, you have four Windows users. All four Windows users use QODBC via Microsoft Excel, Access, Crystal, or other applications. You will need to authorize EACH application from all 4 Windows users. That means you will need to log in to the 1st Windows user, endorse all the applications that will be using QODBC, then log in to the 2nd Windows user and authorize all the applications that will be using QODBC. This is because Intuit's LGB file, which was common earlier, has not changed to a new method, and integration information will be stored for each Windows user separately.<br /><br />The above is applicable for a Single machine, Terminal Services(Remote desktop connection), or Workstation(s). <br /></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Get the following errors from the QODBC driver:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">ERROR [00000] [QODBC] QuickBooks Begin Session Failed. Error = 8004041d,80040418. This application cannot log into this QuickBooks company data file automatically. The QuickBooks administrator can grant permission for automatic login through the Integrated Application preferences.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Test connection to QuickBooks - FAILED: "[QODBC] QuickBooks Begin Session Failed. Error = 8004041a. This application does not have permission to access this QuickBooks company data file. The QuickBooks administrator can grant access permission through the Integrated Application preferences."<br /></span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Error8004041d/Step1.png" alt="Step.png" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Error8004041d/Error.png" alt="Error.png" /></p>
<h3><strong><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution 1:</span></strong></h3>
<p>&nbsp;</p>
<p>Step 1: Launch QuickBooks and Open the Company File</p>
<p>Open QuickBooks Desktop.</p>
<p>&nbsp;</p>
<p>Log in to the desired company file using the QuickBooks user "Admin".</p>
<p>&nbsp;</p>
<p>Log in to the QuickBooks user "admin" is required to authorize the connection to the QuickBooks company file.</p>
<p>This is a one-time activity for each new application you want to connect to QuickBooks Data.</p>
<p>&nbsp;</p>
<p>Step 2: Test connection using QODBC 32-Bit Test Tool</p>
<p>Go to Start &rarr; QODBC Driver for QuickBooks &rarr; QODBC 32-Bit Test Tool.</p>
<p>&nbsp;</p>
<p>In the QODBC Test Tool,&nbsp;</p>
<p>Select DSN: QuickBooks Data</p>
<p>Click the "Connect" button.</p>
<p>&nbsp;</p>
<p>QuickBooks may prompt you to authorize access: (optional)</p>
<p>If prompted, choose &ldquo;Yes, always; allow access even if QuickBooks is not running&rdquo;.</p>
<p>Select the Admin user from the dropdown (if applicable).</p>
<p>&nbsp;</p>
<p>Click Continue &rarr; Done.</p>
<p>&nbsp;</p>
<p>If the connection is successful, you can optionally run a test query (e.g., SELECT * FROM Customer).</p>
<p>Click "Disconnect" to close the connection.</p>
<p>&nbsp;</p>
<p>Step 3: Test connection using QODBC 64-Bit Test Tool</p>
<p>Go to Start &rarr; QODBC Driver for QuickBooks &rarr; QODBC 64-Bit Test Tool.</p>
<p>&nbsp;</p>
<p>In the QODBC Test Tool,&nbsp;</p>
<p>Select DSN: QuickBooks Data</p>
<p>Click the "Connect" button.</p>
<p>&nbsp;</p>
<p>This should successfully establish a 64-bit connection. You may not be prompted for permission, as it has been granted in Step 2.</p>
<p>&nbsp;</p>
<p>Once confirmed, click "OK" or "Disconnect" to close the session.</p>
<p>&nbsp;</p>
<p>Step 4: Connect Using Your Application</p>
<p>In your application (e.g., PHP, .NET, Excel, Access, etc.), use the DSN name "QuickBooks Data" to establish a connection.</p>
<p>QuickBooks may prompt you to authorize access: (optional)</p>
<p>If QuickBooks does not ask for authorization, your application might already be authorized. You can run a few SQL statements/queries to verify that the connection is successful.</p>
<p>If you are unable to connect, please ensure you have logged in to the QuickBooks company file as the QuickBooks user "admin."</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3><strong><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution 2:</span></strong></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You need to follow the steps below to reauthorize QODBC for QuickBooks.<br />1. Log in to Windows, Open QuickBooks &amp; log in to the company file as Admin.<br />2. Switch Company File to Single User Mode.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/LGB/step1.png" alt="" border="0" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">3. Connect using your application. It should pop up the Data Access Certificate on QuickBooks. Please accept the Certificate. QuickBooks issues a Certificate for each application, so you need to get the Certificate for all applications that you use with QuickBooks.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/LGB/step2.png" alt="" border="0" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/LGB/step3.png" alt="" border="0" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">4. <strong>You must log in to each Windows user accessing QuickBooks Data using QODBC.</strong><br /> <strong>If Windows User/Work Station changes, you must reauthorize the application using the above steps.</strong></span></p>
<p>If the company file has Personally Identifiable Information (PII) in QuickBooks, users must log in with a password; the SDK app will only be allowed to connect once the login has been completed for that user.&nbsp;</p>
<p>Customers will be instructed to set up a strong password when logging in. Customers should use unique letters and numbers in a password, not essential words that can easily be found online or in the dictionary.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Online] Troubleshooting - QuickBooks message 653-Unauthorized - 401 - Fault exception of type: AUTHENTICATION has been generated. QuickBooks Begin Session Fai...]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2780]]></link>
<guid isPermaLink="false"><![CDATA[d47844673f2db74d78da8687d794523d]]></guid>
<pubDate><![CDATA[Tue, 24 May 2016 07:44:39 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[[QODBC-Online] Troubleshooting - QuickBooks message 653-Unauthorized - 401 - Fault exception of type: AUTHENTICATION has been generated. QuickBooks Begin Session Failed. Error - Unauthorized-401
Problem Description:
I was able to use QODBC Online. Sudde...]]></description>
<content:encoded><![CDATA[<h2 style="text-align: center;"><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">[QODBC-Online] Troubleshooting - QuickBooks message 653-Unauthorized - 401 - Fault exception of type: AUTHENTICATION has been generated. QuickBooks Begin Session Failed. Error - Unauthorized-401</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I was able to use QODBC Online. Suddenly, I got the following error when I tried to connect to QuickBooks Online using QODBC Online. It was working properly&mdash;no known changes to Windows or QODBC. Begin Session Failed. S0000 00000 [QODBC] QuickBooks Begin Session Failed. Error - Unauthorized-401 - - Fault Exception of type: AUTHENTICATION has been generated.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/UnAuthorized401/step1.png" alt="" border="0" /><br /></span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The authorized access token for QuickBooks Online will remain active for 180 days. A privileged access token expires after 180 days. When this occurs, responses to calls to QuickBooks Data Services and the QuickBooks Online API indicate that the access token is invalid. <br /><br />So, you need to reauthorize/reconnect QODBC Online at QuickBooks Online to resolve the issue.<br /><br />Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2659" target="_blank">How to Reconnect QODBC Online with QuickBooks Online Edition</a>.</span></p>
<h3>&nbsp;</h3>
<p>Please follow the steps below.</p>
<p><br />1) "Disconnect from QuickBooks" 32-Bit.<br /><br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 32-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; Select "QuickBooks Online Data" of type 32-bit &gt;&gt; Click "configure" &gt;&gt; Switch to "General" tab &gt;&gt;<br />Click the "Disconnect from QuickBooks" button.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/2780/2023-04-19 19_46_28.png" alt="" /><br /><br />2) "Disconnect from QuickBooks" 64-Bit.<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 64-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; Select "QuickBooks Online Data" of type 64-bit &gt;&gt; Click "configure" &gt;&gt; Switch to "General" tab &gt;&gt;<br />Click the "Disconnect from QuickBooks" button.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/2780/2023-04-19 19_44_17.png" alt="" width="594" height="421" /><br /><br /><br />3) Close all the applications.<br /><br />4) Connect to QuickBooks:</p>
<p>Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 32-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; Select "QuickBooks Online Data" of type 32-bit &gt;&gt; Click "configure" &gt;&gt; Switch to "General" tab &gt;&gt;<br />Click "Connect to QuickBooks"</p>
<p>Please refer to&nbsp;<a href="https://qodbc.com/links/2659" target="_blank">https://qodbc.com/links/2659</a><br /><br />5) Use the QODBC Online 32-Bit Test Tool to test the connectivity.<br /><br /><br />6) Export the connection key from "QuickBooks Online Data" DSN of type 32-bit&nbsp;<br /><br />Please use the DSN "QuickBooks Online Data" of type 32-bit to export the connection key:<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 32-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; Select "QuickBooks Online Data" of type 32-bit &gt;&gt; Click "configure"&gt;&gt; Switch to "General" tab &gt;&gt; Click on "Export Connection key" button to the Export key.</p>
<p>7) Import&nbsp;the connection key from the above step&nbsp;to the 64-bit DSN.</p>
<p><br />Please use the DSN "QuickBooks Online Data" of type 64-bit using 64-Bit ODBC Data Source.<br />You can import the connection key:<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for QuickBooks Online&gt;&gt; Configure 64-bit QODBC Online Data Source&gt;&gt; Go To "System DSN" Tab&gt;&gt; "QuickBooks Online Data" of type 64-bit &gt;&gt; Click "configure"&gt;&gt; Switch to General tab, click on "Import Connection key" button.<br /><br />Refer to the knowledgebase article at&nbsp;<a href="https://qodbc.com/links/2658" target="_blank">https://qodbc.com/links/2658</a>&nbsp;<strong>Section</strong> "Import / Export connection key:"<br /><br />8) Use the QODBC Online 64-Bit Test Tool to test the connectivity.<br /><br /><br /></p>
<p>Tags: QuickBooks Online, QBO, Authorization, Authentication, 401, Begin Session Failed</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - DSN Connection Not Consistent across multiple computers]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2778]]></link>
<guid isPermaLink="false"><![CDATA[fd4f21f2556dad0ea8b7a5c04eabebda]]></guid>
<pubDate><![CDATA[Mon, 23 May 2016 14:28:58 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - DSN Connection Not Consistent across multiple computers 
Problem Description:
I have a pass-through query for access:Select * from ItemThe connection string is as follows:ODBC;DRIVER={QODBC Driver for QuickBooks};SERVER=QODBC;DFQ=x:\Q...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - DSN Connection Not Consistent across multiple computers </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I have a pass-through query for access:<br /><br />Select * from Item<br /><br />The connection string is as follows:<br /><br />ODBC;DRIVER={QODBC Driver for QuickBooks};SERVER=QODBC;DFQ=x:\QuickBooks\MyQBcompanyfile.qbw;OpenMode=F;OLE DB Services=-2;OptimizerOn=No;<br /><br />This works on pc #1 if the QuickBooks file is open OR closed (desired behavior).<br /><br />This ONLY works on pc #2 if the QuickBooks File is closed.<br /><br />Why is it operating differently?? I am using the same access file on both pc.<br /><br />I need this to be running on some computers in the office. Some computers are allowed to use QuickBooks, and some are not, so I need a flexible DSN connection string that will work for both circumstances.&nbsp;</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please verify the company file path from the non-working machine. The other computer might be accessing the company file mapped via network name, i.e., \\servername\folder\ (e.g., \\QuickBooksfileserver\QuickBooks\MyQuickBookscompanyfile.qbw ) when the connection string is using a mapped drive, i.e., x:\ <br /><br />Please start QuickBooks from the non-working machine, log in&nbsp;to the company file, press F2, verify if the file path is the same in the connection string &amp; test again.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QODBC Logging in with Wrong User account]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2777]]></link>
<guid isPermaLink="false"><![CDATA[b4a721cfb62f5d19ec61575114d8a2d1]]></guid>
<pubDate><![CDATA[Mon, 23 May 2016 14:26:46 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QODBC Logging in with the Wrong User Account 
Problem Description:
I am using MS Access. I have the integrated application certificate set up correctly (see screenshot). The username for this certificate is "odbc." QuickBooks is close...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QODBC Logging in with the Wrong User Account </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am using MS Access. I have the integrated application certificate set up correctly (see screenshot). The username for this certificate is "odbc."<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/WrongUser/step1.png" alt="" border="0" /><br /><br />QuickBooks is closed.<br /><br />Ms Access file connects to QuickBooks via the connection string:<br /><br />"ODBC;Driver={QODBC Driver for QuickBooks};DFQ=D:\QuickBooks\MyCompanyFile.qbw;OptimizerOn=No;IAppAutomaticLogin=n;OpenMode=F;OLE DB Services=-2;"<br /><br />Connection works.<br /><br />Another user tries to log in as "Admin" into QuickBooks on another computer, but it fails and says already logged in. See screenshot.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/WrongUser/step2.png" alt="" border="0" /><br /><br />Why is QODBC using the "Admin" account?? I was expecting it to use the "odbc" account. <br /><br /> </span></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You need to remove QODBC integrated application entries in QuickBooks &amp; companyfilename. lgb and delete it to resolve the issue. <br /><br />Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2406" target="_blank">Connection Lost Between QODBC and QuickBooks. QuickBooks Asking for Password</a> for more details. <br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How do I see backorder items that have been invoiced but not shipped]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2776]]></link>
<guid isPermaLink="false"><![CDATA[6244b2ba957c48bc64582cf2bcec3d04]]></guid>
<pubDate><![CDATA[Mon, 09 May 2016 10:04:05 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How do I see backorder items that have been invoiced but not shipped 
Problem Description:
Could someone kindly provide me with a sample, or is there a stored procedure that would allow me to only pull out back-ordered invoices from t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How do I see backorder items that have been invoiced but not shipped </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Could someone kindly provide me with a sample, or is there a stored procedure that would allow me to only pull out back-ordered invoices from the invoice table? <br /><br />If a customer orders some items, we create an invoice. Then, if some things are back-ordered, when the packing slip is made, it shows they were not sent out, and that item is back-ordered. I was looking for a query or an SP that would lead me to only invoices that have not been completely shipped, or all the items in backorder.</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">All you need to do is use the ItemInventory table to pick up the quantity on hand and compare it with the ordered quantity ordered and invoiced to date (invoiced or not), and call the column "Qty to Pick." <br /><br />Something along the lines of: <br /><br />SELECT SalesOrderLine.SalesOrderLIneItemRefFullName as Type, SalesOrderLine.TxnDate as Date, SalesOrderLine.DueDate, SalesOrderLine.RefNumber as Num, SalesOrderLine.CustomerRefFullName as Name, SalesOrderLine.SalesOrderLineQuantity as "Qty Ordered," SalesOrderLine.SalesOrderLineInvoiced as "Qty Invoiced," (SalesOrderLine.SalesOrderLineQuantity - SalesOrderLine.SalesOrderLineInvoiced) as "Qty to Pick," ItemInventory.QuantityOnHand as "Qty Available," ItemInventory.QuantityOnOrder as "Qty on Back Order" FROM SalesOrderLine, ItemInventory where SalesOrderLine.SalesOrderLineItemRefListID = ItemInventory.ListID and SalesOrderLine.IsFullyInvoiced = FALSE and SalesOrderLine.SalesOrderLineInvoiced &lt; SalesOrderLine.SalesOrderLineQuantity <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/BOItem/step1.png" alt="" border="0" /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Trying to update ItemInventoryAssemblyLine table ]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2775]]></link>
<guid isPermaLink="false"><![CDATA[4a5876b450b45371f6cfe5047ac8cd45]]></guid>
<pubDate><![CDATA[Mon, 09 May 2016 09:59:14 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Trying to update the ItemInventoryAssemblyLine table 
Problem Description:
All our products are Inventory Assemblies. I am using MS Access connected to QuickBooks via QODBC. I am using queries in MS Access to load/synchronize Inventor...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Trying to update the ItemInventoryAssemblyLine table </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">All our products are Inventory Assemblies. I am using MS Access connected to QuickBooks via QODBC. I am using queries in MS Access to load/synchronize Inventory data from my master inventory list, which is kept outside of QuickBooks, to make sure QuickBooks has the latest inventory data.<br /><br />I have successfully inserted ItemInventoryAssemblyLine entries, but now I'm trying to update the Quantity information on parts for existing assemblies. <br /><br />To do the update, I need to join a local table I've created from the external inventory data, which I've loaded with the ListID, ItemInventoryAssemblyLnItemInventoryRefListID, and FQPrimaryKey values from ItemInventoryAssemblyLine, in order to facilitate joins. <br /><br />Here's my SQL (from MS Access Query Designer): <br /><br />UPDATE ItemInventoryAssemblyLine INNER JOIN Assemblies_with_PK ON ItemInventoryAssemblyLine.FQPrimaryKey = Assemblies_with_PK.FQPrimaryKey SET ItemInventoryAssemblyLine.ItemInventoryAssemblyLnQuantity = [Qty]; <br /><br />"Qty" is a column in the local table with the updated Quantity that I'd like to edit into the QuickBooks table. <br /><br />When I run this query, I get the dreaded "Error parsing complete XML return string." error. I have tried alternatively joining on the combination of ListID and ItemInventoryAssemblyLnItemInventoryRefListID instead of FQPrimaryKey with the same result. <br /><br />I have updated Custom Fields in the parent ItemInventoryAssembly table using the same approach with no problems. <br /><br />Any help with this would be greatly appreciated!</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please update your QODBC to the latest QODBC version and test again.<br /><br />Please click <a href="http://www.qodbc.com/qodbcDownload.htm" target="_blank">here</a> to get the latest QODBC version. <br /><br />If you are still getting the same error after updating the version, I kindly request you to please raise a support ticket to the QODBC Technical Support department by clicking <a href="http://support.flexquarters.com/esupport/index.php?/Tickets/Submit" target="_blank">here</a>.<br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Online] How to share/invite FLEXquarters Support team to QuickBooks Online company file]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2773]]></link>
<guid isPermaLink="false"><![CDATA[f565bb9efccaf6986443db0bf01018bc]]></guid>
<pubDate><![CDATA[Thu, 21 Apr 2016 11:50:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to share/invite the FLEXquarters Support team to the QuickBooks Online company file 
Problem Description:
How do I share/invite the FLEXquarters Support team to access my QBO company file?&nbsp;
Solution:
Please follow the steps below to share/in...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to share/invite the FLEXquarters Support team to the QuickBooks Online company file </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">How do I share/invite the FLEXquarters Support team to access my QBO company file?</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please follow the steps below to share/invite the FLEXquarters Support team to the QuickBooks Online company file.<br /><br />1. You can share your QuickBooks Online company file connection key by exporting the connection key. <br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2658" target="_blank">Import / Export connection key</a> section for more details</span></p>
<p>2. Email the connection key to the FLEXquarters Support team.<br /><br />3. Log in to https://qbo.intuit.com/ using your credentials.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step1.png" alt="" /></p>
<p><br />4. Click on Company Name &amp; Manage Users.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step2.png" alt="" /></p>
<p><br />5. Go to the Manage Users section &amp; click on New.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step3.png" alt="" /></p>
<p><br />6. Choose user type, select Regular or custom user &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step4.png" alt="" /></p>
<p><br />7. Set the user's access rights, select All &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step5.png" alt="" /></p>
<p><br />8. Set the user's administrative rights. Select User management to "No," Company Information to "View Only," Subscription &amp; Billing to "View subscription information," &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step6.png" alt="" /></p>
<p><br />9. Enter the FLEXquarters Support team Email address <strong>support@qodbc.com</strong>, First Name to "QODBC," the Last Name to "Support," &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step7.png" alt="" /></p>
<p><br />Click Finish &amp; you're done.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step8.png" alt="" /></p>
<p><br />10. QODBC Support is listed under the Manage Users list as an Invited status.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step9.png" alt="" /></p>
<p><br />11. Once we accept the invitation, the status will change to Active.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step10.png" alt="" /></p>
<p><br />12. You can delete an invited user by selecting the user &amp; click on Delete.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step11.png" alt="" /></p>
<p><br />13. By clicking Invite Accountant, you can share/invite the FLEXquarters Support team to access the QuickBooks Online company file from the Accounting Firms section.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step12.png" alt="" /></p>
<p><br />14. Enter the FLEXquarters Support team Email address <strong>support@qodbc.com</strong>, First Name to "QODBC," the Last Name to "Support," &amp; click Next.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step13.png" alt="" /></p>
<p><br />Click Finish &amp; you're done.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step14.png" alt="" /></p>
<p><br />15. QODBC Support is listed under the Accounting Firms list as an Invited status.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step15.png" alt="" /></p>
<p><br />16. Once we accept the invitation, the status will change to Active.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step16.png" alt="" /></p>
<p><br />17. You can delete an invited user by selecting the user &amp; click on Delete.<br /><br /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InviteQBO/step17.png" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>&nbsp;</h3>
<p>Tags: QuickBooks Online, QBO, QODBC Online</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Using QuickBooks Data with Microsoft Excel 2016 64-bit]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2772]]></link>
<guid isPermaLink="false"><![CDATA[92bf5e6240737e0326ea59846a83e076]]></guid>
<pubDate><![CDATA[Tue, 19 Apr 2016 10:28:49 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to Use QODBC with Microsoft Excel 2016 (64-bit) 
For MS Access 64-bit, please refer to: How to Configure QODBC to Work With 64-bit MS Access
Set up QODBC to use with MS Excel 2016
Note: QODBC allows you to quickly merge live QuickBooks data into th...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to Use QODBC with Microsoft Excel 2016 (64-bit) </span></h2>
<h5>For MS Access 64-bit, please refer to: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2771" target="_blank">How to Configure QODBC to Work With 64-bit MS Access</a></h5>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Set up QODBC to use with MS Excel 2016</span></h3>
<p><strong>Note</strong>: QODBC allows you to quickly merge live QuickBooks data into the cells of your Microsoft Excel worksheets for quick calculations and graphs. The data will retain a live link to QuickBooks, and one click will update the worksheet to the most current data in the linked QuickBooks table.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before using the MS Excel application, please make sure you have installed the MS Office Component named "Microsoft Query." About MS Query, please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2352" target="_blank">Microsoft Office with MS Query and QODBC </a> for more. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Before starting, please make sure you have the 64-bit version of MS Excel: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step1.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">First, please select the "Data" tab, navigate to&nbsp; "From Other Sources"-&gt;" From Microsoft Query."<br /><br /></span></p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.<br /> Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step2.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">And then, in the "Choose Data Source" Window, please select a DSN to continue. </span>(Here, I choose the default data source with a sample company file open. And check to&nbsp;<strong>use the Query Wizard to create/edit queries</strong>.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step3.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">'QuickBooks Data 64-bit QRemote' as an example: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step4.png" alt="" /></p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">NOTE: If you are using QODBC Online, please select "QuickBooks Online Data 64-bit" instead of "QuickBooks Data 64-bit QRemote".</span></strong></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The first time you use MS Excel to access QuickBooks, you will be asked to grant access permission for this application:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step5.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the "Yes, always" option and click the "Continue" button. In the next window, click the "Done" button to finish authorizing. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step6.png" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Import QuickBooks data into MS Excel via MS Query </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After you grant permission for QODBC, you will be guided by the Query Wizard. In the Choose Columns window, select a table and the columns you want to import. </span>Choose the table you wish to import and select the columns from the table to import by pressing the "&gt;" button. (Here, I choose the table Customer as a sample.)<span style="font-family: Arial,Helvetica,sans-serif;"> You can add or remove columns from the correct list "Columns in your query." </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Choose Columns_2012-10-31_12-47-04.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Choose Columns_2012-10-31_12-47-19.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can set a filter for your query in this window. If you don't want to set any query, please click the "Next" button: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Filter Data_2012-10-31_12-47-23.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After the setup is finished, MS Excel will ask you to choose an edit method for the records: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Query Wizard - Finish_2012-10-31_12-51-24.png" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Return Data to Microsoft Excel:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will directly export the data to Excel, where you can view and edit these records, but the data is static. The modification will not be uploaded to QuickBooks. </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-35.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> You can view the detailed connection properties by clicking the "Queries &amp; Connections" button in the Data menu: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-43.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> In the Workbook Connection Window, Right-click on the connection name &amp; click the "Properties" button to view detailed information: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step13.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Now you can view the connection string and its SQL statement in the definition window: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel2013-64/step14.png" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">View Data or Edit Query in MS Query:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> This method will lead you to the MS Query window, and you can view or edit data via SQL Statement.</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Query_2012-10-31_12-51-31.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Click the "SQL" button to view the SQL Statement of this query: </span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Microsoft Query_2012-10-31_12-51-42.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> The SQL window will show the SQL Statement, and the user can also modify the statement to extract other records: </span></p>
<p>The desired record set contains only the records with a <strong>Name</strong> having a value equaling "Abercrombie, Kristy." Select the field header name and click on it, followed by selecting <strong>Criteria</strong> -&gt; <strong>Add Criteria</strong>. In the popped-out Add Criteria window, specify the criteria <strong>Field</strong> as "Name," <strong>Operator</strong> as "equals," then click the&nbsp;<strong>Value</strong> button, and from the list of values, select "Abercrombie, Kristy" -&gt; <strong>OK</strong> -&gt; <strong>Add</strong>.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel8.jpg" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel9.jpg" alt="" /></p>
<p class="style3">&nbsp;</p>
<p class="style3">The following screen reflects the applied criteria to the query and the resulting QuickBooks recordset:</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel10.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">When you finish the query, choose to save so that next time, you can directly use the same question: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Leaving MS Query, MS Excel will ask you to import the query result into MS Excel:</span></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-21.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Book1 - Microsoft Excel Preview_2012-10-31_12-48-35.png" alt="" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Clicking <strong>Data</strong> -&gt; <strong>Refresh Data</strong> or clicking the External Data toolbar will update the data in the worksheet from the latest information in the linked QuickBooks tables, as shown above. Changes to the QuickBooks files will not affect this worksheet until you refresh the data with the Refresh option.</p>
<p>Sample Files:&nbsp;</p>
<p>Excel - Customer &amp; Company Tables - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC%20Customer%20Table.xls">Download</a></p>
<p>Excel - Majority of the Tables and Reports - <a href="http://support.flexquarters.com/esupport/supportfiles/QODBC%20Sample%20Tables%20and%20Reports.xls">Download</a></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2449/57/how-to-use-qodbc-with-ms-excel-2007" target="_blank">How to Use QODBC with MS Excel 2007 </a><br /><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2466/57/using-quickbooks-data-with-excel-2013-64-bit" target="_blank">Using QuickBooks Data with Excel 2013 32-bit</a></p>
<p>Keywords:&nbsp;create odbc connection,&nbsp;Office 2013, Office 365, Excel 365, Access 365, Office 2016, Access 2016, Excel 2016,&nbsp;Microsoft Excel 2013 blank window</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-POS] How to remove QODBC Related Certificates from Integrated Application under QuickBooks POS]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2767]]></link>
<guid isPermaLink="false"><![CDATA[f75526659f31040afeb61cb7133e4e6d]]></guid>
<pubDate><![CDATA[Mon, 11 Apr 2016 11:46:08 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to remove QODBC-related certificates from Integrated Applications under QuickBooks POS
Please follow the steps to remove QODBC-related certificates from the Integrated Application Under QuickBooks POS:
Try removing all the integrated application ent...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to remove QODBC-related certificates from Integrated Applications under QuickBooks POS</span></h2>
<p class="style1">Please follow the steps to remove QODBC-related certificates from the Integrated Application Under QuickBooks POS:</p>
<p class="style1">Try removing all the integrated application entries in QuickBooks POS again via File Menu -&gt; Preferences -&gt; Company -&gt; Integrated Applications Tab.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/IntAppPOS/step1.png" alt="" width="501" height="366" /></p>
<p class="style1">Switch to Integrated Applications</p>
<p class="style1">To know which application uses "QODBC POS" to communicate with QuickBooks POS.</p>
<p class="style1">You can check it from the Application ID &amp; File Name.</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/IntAppPOS/step2.png" alt="" /></p>
<p class="style1">&nbsp;</p>
<p class="style1">To Remove, Select "QODBCPOS-APPLICATION," For Example, "QODBCPOS-MSACCESS.EXE," Click Remove and Save.</p>
<p class="style1">( If there are Multiple "QODBCPOS-APPLICATION" Listed, you may remove a single Integration at a time.)</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/IntAppPOS/step3.png" alt="" /></p>
<p class="style1">&nbsp;</p>
<p class="style1">Exit QuickBooks POS.</p>
<p class="style1">Please start QuickBooks POS and log in again to your Company file.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to use Between in QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2764]]></link>
<guid isPermaLink="false"><![CDATA[98d8a23fd60826a2a474c5b4f5811707]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:39:19 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How to use Between in QODBC 
Problem Description:
I need to use Between, in a range of dates, to return new customers in one period. I try this:  SELECT FullName FROM Customer Where TimeCreated Between {d'2007-12-18'} AND {d'2007-12-1...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How to use Between in QODBC </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I need to use Between, in a range of dates, to return new customers in one period. I try this: <br /><br /> SELECT FullName FROM Customer Where TimeCreated Between {d'2007-12-18'} AND {d'2007-12-19'} AND SalesRepRefFullName='PD' <br /><br />Is the use of QODBC correct?</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">The use of BETWEEN here is fine. It's just TimeCreated is a TIMESTAMP, not a date. It should be: <br /><br /> SELECT FullName FROM Customer Where TimeCreated Between {ts'2007-12-18 00:00:00.000'} AND {ts'2007-12-19 00:00:00.000'} AND SalesRepRefFullName='PD' </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How can I use wildcard (*) with Crystal Report and sp_report]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2761]]></link>
<guid isPermaLink="false"><![CDATA[566a9968b43628588e76be5a85a0f9e8]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:30:34 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How can I use a wildcard (*) with Crystal Report and sp_report 
Problem Description:
I am using the following SQL statement: sp_report JobProfitabilityDetail show AmountActualCost_Title, AmountActualRevenue_Title, AmountDifferenceActu...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How can I use a wildcard (*) with Crystal Report and sp_report </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am using the following SQL statement: <br /><br />sp_report JobProfitabilityDetail show AmountActualCost_Title, AmountActualRevenue_Title, AmountDifferenceActual_Title, Text, Label, AmountActualCost, AmountActualRevenue, AmountDifferenceActual parameters DateMacro = 'All', SummarizeColumnsBy = 'TotalOnly' , EntityFilterFullNameWithChildren = '{?customer}' <br /><br />I then create a customer parameter in the parameter list. The customer name is pretty long, so is there a way to search by using a wildcard, i.e., *50-126*, rather than having to enter: <br /><br />Customer name. location.50-126.projectdescription??</span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Sorry, you can't use wildcards, and you need to use the full name path for a specific job: <br /><br />sp_report JobProfitabilityDetail parameters DateMacro = 'All', EntityFilterFullNameWithChildren = 'Abercrombie, Kristy:Remodel Bathroom', SummarizeColumnsBy = 'TotalOnly' <br /><br />If you wanted, for example, to compare all Remodel Bathroom (or 50-126) jobs for all customers, you would need to run the Job Profitability detail report for each customer to a data file (like an append query in MS Access) and report from the data file instead.<br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How can I get links between Estimate and Invoice using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2760]]></link>
<guid isPermaLink="false"><![CDATA[b0bef4c9a6e50d43880191492d4fc827]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:25:25 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How can I get links between Estimate and Invoice using QODBC 
Problem Description:
I've explored the related fields, but cannot determine how a line on the invoice is linked to the estimate. I'm designing a report that needs to see th...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How can I get links between Estimate and Invoice using QODBC </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I've explored the related fields, but cannot determine how a line on the invoice is linked to the estimate. <br /><br />I'm designing a report that needs to see the item on the estimate and how much has been billed out and retained for each item (as well as other related data).</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/75/50/how-to-convert-a-sales-order-into-an-invoice" target="_blank">How to convert a Sales Order into an Invoice</a> for the basics of how an Estimate can be made into a Sales Order and an Invoice. <br /><br />The InvoiceLinkedTxn table shows Payments, Credit Memos, and Deposit Line Items, but doesn't include reimbursements, transfers from Sales Orders, or Estimates (depending on your QuickBooks version). But in QuickBooks, you probably understand it better as the History of an Invoice. The number of InvoiceLinkedTxn lines to Invoice lines won't match where multiple payments or deposits have been made. <br /><br />To better understand, refer to: <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2130" target="_blank">How to use InvoiceLinkedTxn query using QODBC</a>.<br /><br />While the EstimateLinkedTxn table shows all the transfers to Invoice or Sales Order; but does NOT include any transfers to PO.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How can I get Last Items sold to customer details]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2759]]></link>
<guid isPermaLink="false"><![CDATA[35c5a2cb362c4d214156f930e7d13252]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:22:39 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How can I get the Last Items sold to the customer's details 
Problem Description:
I created a report using a custom set with the customer as the parent and InvoiceLine as the child, giving me items ordered in the past. My problem is t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How can I get the Last Items sold to the customer's details </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I created a report using a custom set with the customer as the parent and InvoiceLine as the child, giving me items ordered in the past. <br /><br />My problem is that I only want the last time an item was ordered and want to eliminate some things, such as shipping.<br /><br />When I try to filter out items like shipping, it also takes out any invoice line items.<br /><br />I'm at a complete loss when it comes to getting only the last time an item was ordered.&nbsp;</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can get items ordered by a customer, in part name order, with the last date ordered first,t by using the below query:<br /><br />SELECT TxnDate, InvoiceLineItemRefFullName, sum(InvoiceLineQuantity) as Qty FROM InvoiceLine WHERE CustomerRefFullName='Cook, Brian: Kitchen' and InvoiceLineItemRefFullName is not null Group by InvoiceLineItemRefFullName, TxnDate Order by InvoiceLineItemRefFullName, TxnDate desc <br /><br /> <img src="//support.flexquarters.com/esupport/newimages/Sold/step1.png" alt="" border="0" /><br /><br />Or for the last time an item was ordered by a customer:<br /><br />SELECT Top 1 TxnDate, InvoiceLineItemRefFullName, sum(InvoiceLineQuantity) as Qty FROM InvoiceLine WHERE CustomerRefFullName='Cook, Brian:Kitchen' and InvoiceLineItemRefFullName = 'Appliance' Group by InvoiceLineItemRefFullName, TxnDate Order by InvoiceLineItemRefFullName, TxnDate desc<br /><br /> <img src="//support.flexquarters.com/esupport/newimages/Sold/step2.png" alt="" border="0" /><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Billable Payroll - Need to Display More Fields on Invoice]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2756]]></link>
<guid isPermaLink="false"><![CDATA[9a11883317fde3aef2e2432a58c86779]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:13:11 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Billable Payroll - Need to Display More Fields on Invoice 
Problem Description:
We need to bill all payroll costs to various customers. Payroll costs are defined as all of the following: 1. Employee's gross salary 2. Company share of ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Billable Payroll - Need to Display More Fields on Invoice </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We need to bill all payroll costs to various customers. Payroll costs are defined as all of the following:<br /><br /> 1. Employee's gross salary<br /> 2. Company share of social security<br /> 3. Company share of Medicare<br /> 4. Federal unemployment taxes paid<br /> 5. Texas unemployment taxes paid<br /> When a payroll run is processed, all the above costs are coded to the appropriate customer, and QuickBooks flags them as "billable" at this point.<br /><br /> To bill the payroll costs, we go to the Customers menu and select "Invoice for Time and Expenses." All employee costs outlined above are then brought up in a list. We check the items we want to bill (all of them) and then select "create an invoice."<br /><br /> The above five items are listed separately when the invoice is created, but valuable descriptions are not displayed. We need the invoice to record the employee's name and the nature of the expense associated with each cost being billed out. E.g.<br /><br /> John Doe Gross Salary $500<br /> John Doe Company Social Security $25<br /> Etcetera<br /> We have tried using various invoice forms, and these fields are never available to select for inclusion.<br /><br /> We can see the fields needed in the payroll module by viewing the details of the employee check. However, we have not been successful in finding these fields in the QuickBooks tables so that we can pull them into the invoice using your software. If I can see the data in the tables, I am confident I can extract it using QODBC and SQL to format it into a suitable report.<br /><br /> Thanks in advance for any help.<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Payroll/step1.png" alt="" border="0" /><br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Payroll/step2.png" alt="" border="0" /><br /><br /> </span></p>
<p>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can get these details from the PayrollTransactionDetail report:<br /><br /> For this example, PayCheck: <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Payroll/step3.png" alt="" border="0" /><br /><br /> You can find all the details using the following:<br /><br /> sp_report PayrollTransactionDetail show PayrollItem, WageBase, Credit, Debit, Amount parameters DateFrom = <strong>{d'2007-12-01'}</strong>, DateTo=<strong>{d'2007-12-01'}</strong>, IncludeAccounts = 'All,' ReportDetailLevelFilter = 'AllExceptSummary,' EntityFilterFullNameWithChildren=<strong>'Dan T. Miller'</strong> Where PayrollItem is not NULL<br /><br /> Change the bold entries to the employee and paycheck date you're after<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Payroll/step4.png" alt="" border="0" /><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Where is the Bin Location for Items stored?]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2755]]></link>
<guid isPermaLink="false"><![CDATA[17693c91d9204b7a7646284bb3adb603]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 10:09:06 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - Where is the Bin Location for Items stored?
Problem Description 1:
I am using QuickBooks Enterprise with Advanced Inventory enabled.
I am trying to find where the bin location for items is stored in QuickBooks through QODBC.
Problem...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - Where is the Bin Location for Items stored?</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description 1:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am using QuickBooks Enterprise with Advanced Inventory enabled.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am trying to find where the bin location for items is stored in QuickBooks through QODBC.</span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description 2:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We are looking for the following tables in QuickBooks Enterprise Edition&nbsp;16 via QODBC (Linked Server) SQL server, with no luck: <br /><br />We can find the table for the Inventory Site, but there is no distinction for BIN. They are all listed equally in the table. (tbl = InventorySites) <br /></span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can find the inventory site list &amp; location below the tables:<br /><br />BillItemLine, PurchaseOrderLine, InvoiceLine, SalesOrderLine, CheckItemLine, CreditCardCreditItemLine, CreditMemoLine, SalesReceiptLine, CheckItemLine, CreditCardChargeItemLine, BuildAssembly, BuildAssemblyComponentItemLine, TransferInventoryLine, InventoryAdjustment, InventoryAdjustmentLine &amp; ItemSites.<br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Online] How to create or configure a QODBC Online DSN]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2752]]></link>
<guid isPermaLink="false"><![CDATA[b2ea5e977c5fc1ccfa74171a9723dd61]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 09:46:34 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ How to create or configure a QODBC Online DSN
Problem Description:
I have one QuickBooks Online login, which provides access to multiple QuickBooks Online companies. When I initially configured the connection, I selected one of the clients to which I h...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> How to create or configure a QODBC Online DSN</span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I have one QuickBooks Online login, which provides access to multiple QuickBooks Online companies. <br /><br />When I initially configured the connection, I selected one of the clients to which I have access (Company A). The connection worked great, and I got the data I needed. Now I want to export data for another client of mine (Company B), but I'm unsure how to reconfigure it to pull from their database, not Company A's.</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can create a new DSN company-wise &amp; authorize your company file, and use it in your configuration. <br /><br />For Example, create a new DSN for Company A &amp; use Company A's DSN for accessing Company A's data. <br /><br />In the same way, you can create a DSN for Company B &amp; use Company B's DSN to access Company B's data. <br /><br />You can repeat this for multiple company files. <br /><br />Please refer to the example below, which shows creating a QODBC Online DSN company-wise.</span></p>
<h2><strong><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Launch QODBC Online Data Source Configuration</span></strong></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Locate the <strong>QODBC Driver for the QuickBooks Online&nbsp;</strong>program group on your desktop. Click on the <strong>Configure QODBC Online Data Source</strong> icon to create or configure a QODBC Online Data Source Name (DSN).</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/OnlineDSN/step1.png" alt="" /></span></p>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Create&nbsp;a New DSN </span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Click on the <strong>System DSN</strong> tab to create a DSN that both Windows applications and services can call. Click on the <strong>Add</strong> button to create a new DSN.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/OnlineDSN/step2.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select the <strong>QODBC Driver for QuickBooks Online</strong> option and click on the <strong>Finish</strong> button.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/OnlineDSN/step3.png" alt="" /></span></p>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Configure the Created DSN </span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter the Data Source Name as <strong>CompanyA</strong> and click Apply. <br /><br />Click <strong>Connect To QuickBooks</strong><br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/OnlineDSN/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You need to authorize your company file to work with QODBC Online. <br /><br />During the authorization, select your Company file.</span>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">For more details, please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2659" target="_blank">How to Connect QODBC Online with QuickBooks Online Edition</a>.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once connected, you can use <strong>Excel</strong>, <strong>Access,</strong> or <strong>QODBC Online Test Tool</strong>&nbsp;or any other application, and use "CompanyA" instead of "QuickBooks Online Data." You should be able to connect and fetch data from QuickBooks Online.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can repeat the above steps for another company file (i.e., CompanyB, CompanyC, et.).</span></p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<p>Tags: QuickBooks Online, QBO, Configure&nbsp;online DSN, QODBC Online, connect company files, multiple</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Foreign and Unicode characters not supported by QODBC ]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2750]]></link>
<guid isPermaLink="false"><![CDATA[fc192b0c0d270dbf41870a63a8c76c2f]]></guid>
<pubDate><![CDATA[Wed, 30 Mar 2016 09:30:36 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Foreign and Unicode characters not supported by QODBC 
Information:
QuickBooks allows users to put foreign (i.e., Chinese, Japanese, etc) characters into item descriptions, etc. Unfortunately, these characters are not appropriately returned in QBXML re...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Foreign and Unicode characters not supported by QODBC </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Information:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">QuickBooks allows users to put foreign (i.e., Chinese, Japanese, etc) characters into item descriptions, etc. Unfortunately, these characters are not appropriately returned in QBXML responses (and, therefore, QODBC responses since they're based on Intuit's QBXML SDK) <br /><br />The problem is two-fold. The Intuit code wasn't written to handle Unicode characters at the SDK level, so any characters QuickBooks returns to the SDK level aren't appropriately interpreted. Secondly, the parser used by the SDK runtime in QuickBooks doesn't support some of the character sets for foreign characters, so even if the underlying SDK runtime code handled Unicode characters, the SDK parser wouldn't. That means one cannot pass foreign characters into QuickBooks through the SDK to QODBC.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How Do I List the Subtotal of Invoices within Date Range]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2739]]></link>
<guid isPermaLink="false"><![CDATA[56584778d5a8ab88d6393cc4cd11e090]]></guid>
<pubDate><![CDATA[Wed, 09 Mar 2016 12:27:25 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How Do I List the Subtotal of Invoices within the Date Range 
Problem Description:
I want to list the subtotal of all Invoices by a customer for not only that particular customer but all jobs assigned to that customer within a specifi...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How Do I List the Subtotal of Invoices within the Date Range </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I want to list the subtotal of all Invoices by a customer for not only that particular customer but all jobs assigned to that customer within a specified date range. <br /><br />What QODBC SQL Statement would I use? <br /><br />This is what I have so far: <br /><br />SELECT SUM(Subtotal) AS gt FROM Invoice WHERE CustomerRefListId='30000-1166980720' AND (TxnDate&gt;={d'2006-12-24'} AND TxnDate&lt;={d'2007-01-23'}) <br /><br />But that will only get me the subtotal of invoices for the primary customer, but it doesn't get me the combined subtotal of all the invoices for each job under that customer. <br /><br />Is there a way to combine it all into one SQL Statement? Or do I have to use multiple statements and then manually combine all the totals?</span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can use the query below to get the Subtotal of Invoices Within the Date Range using QODBC. <br /><br />You can run this query: <br /><br />SELECT Invoice.CustomerRefFullName, Sum(Invoice.SubTotal) AS SumOfSubTotal FROM Invoice WHERE (((Invoice.TxnDate)&gt;={d'2007-01-01'})) and (((Invoice.TxnDate)&lt;{d'2007-12-01'})) GROUP BY Invoice.CustomerRefFullName<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Subtotal/step1.png" alt="" border="0" /> <br /><br />You can change the greater than or equal (&gt;=) and the less than (&lt;) dates to the date range you wish to use.<br /> <br /><br />If you want to get the SubTotal of all Invoices for Customer 2 and all the Customer 2 Jobs combined, I suggest you go straight to the QuickBooks reporting engine instead, which will add up and total things for you (including any credits). QuickBooks reports can be accessed using the QODBC stored report procedures: <br /><br />sp_report SalesByCustomerSummary show Text as Customer, Label as Job, Amount_1 as Total parameters DateFrom = {d'2007-01-01'}, DateTo= {d'2007-12-01'}, SummarizeColumnsBy = 'TotalOnly' <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Subtotal/step2.png" alt="" border="0" /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Online] Troubleshooting - Cannot connect to my QuickBooks Online Sandbox]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2737]]></link>
<guid isPermaLink="false"><![CDATA[9ff7c9eb9d37f434db778f59178012da]]></guid>
<pubDate><![CDATA[Tue, 23 Feb 2016 08:11:08 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - I cannot connect to my QuickBooks Online Sandbox 
Problem Description:
I am trying to do some testing and now have access to a QuickBooks Online Sandbox company. I have tried to connect to it in two different ways.1. If I "Connect to ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - I cannot connect to my QuickBooks Online Sandbox </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am trying to do some testing and now have access to a QuickBooks Online Sandbox company. I have tried to connect to it in two different ways.<br /><br />1. If I "Connect to QuickBooks" on the QODBC Driver for QuickBooks Online Setup Screen without checking the "Sandbox Company" checkbox, I can connect to QuickBooks Online, but cannot see any data from my QuickBooks Online Sandbox company. <br /><br />2. If I "Connect to QuickBooks" on the QODBC Driver for QuickBooks Online Setup Screen with the "Sandbox Company" checkbox checked, it goes through the QuickBooks Online login screen and presents the Authorize button on the next screen. When I click on Authorize, it closes that screen and opens a new one, which also requests Authorize. When I click Authorize on that screen, too, it then reports "Connection Complete," but it never loads the Access Token, and the "Connect to QuickBooks" button does not toggle to "Disconnect from QuickBooks." When I try to access my Sandbox Company tables using VBDemo, I get the error message shown in the attached file named "Error Message." <br /><br />I am getting the following error:<br /><br /> <img src="//support.flexquarters.com/esupport/newimages/Sbox/step1.png" alt="" border="0" /><br /><br /> <img src="//support.flexquarters.com/esupport/newimages/Sbox/step2.png" alt="" border="0" /><br /><br />Also, I have noticed the following entries in the QODBCOL.log files: <br /><br />Begin Session Failed. S0000 00000 [QODBC] QuickBooks Begin Session Failed. 658 - Access Token Not Found. Go to [QODBC Online Setup Screen] and click [Test Connection to QuickBooks Online]. Please authorize QODBC Online to connect to your QuickBooks Online Company. <br /><br />Please advise on the correct process to connect to the Sandbox Company from QODBC.</span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">There might be some issues with Intuit's authorization service. Please wait for 30 minutes and try again. You</span>&nbsp;should be able to connect to the Sandbox company file.</p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<p>Tags: QuickBooks Online, QBO, Sandbox, QODBC Online</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QuickBooks UI getting launched after updating QODBC Version.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2732]]></link>
<guid isPermaLink="false"><![CDATA[361440528766bbaaaa1901845cf4152b]]></guid>
<pubDate><![CDATA[Tue, 19 Jan 2016 10:21:07 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QuickBooks UI getting launched after updating the QODBC Version. 
Problem Description:
We recently upgraded from QODBC 14 to 16.00.00.313. It is functioning normally, except now the QuickBooks window is opening up when it didn't used ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QuickBooks UI getting launched after updating the QODBC Version. </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">We recently upgraded from QODBC 14 to 16.00.00.313. It is functioning normally, except now the QuickBooks window is opening up when it didn't used to. In version 14, it didn't open up QuickBooks while being accessed. Now it does. Is there a way to change this behavior with a setting? </span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please disable the force start QuickBooks option from the DSN you are using. <br /><br /> Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks&gt;&gt; Configure QODBC Data Source&gt;&gt;Go To "System DSN" or "User DSN " Tab, whatever you are using &gt; your DSN &gt;&gt; click "configure"&gt;&gt; switch to Advanced&gt;&gt; disable <strong>Force Start QuickBooks</strong> option and try again. <br /><br /> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/HideQB/step1.png" alt="" border="0" /></strong></span></p>
<p><br /><br /></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QuickBooks Advanced Inventory Module in QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2730]]></link>
<guid isPermaLink="false"><![CDATA[421b3ac5c24ee992edd6087611c60dbb]]></guid>
<pubDate><![CDATA[Mon, 11 Jan 2016 11:56:52 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QuickBooks Advanced Inventory Module in QODBC 
Problem Description:
Does your enterprise driver support the advanced inventory module for QuickBooks Enterprise? Would we be able to query stock per item, per location?&nbsp;
Solution:...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QuickBooks Advanced Inventory Module in QODBC </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Does your enterprise driver support the advanced inventory module for QuickBooks Enterprise? Would we be able to query stock per item, per location?</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> You can access the Advanced Inventory data from the QuickBooks enterprise add-on.<br /><br />Yes, the site and location field is not available in ItemInventory &amp; other Item tables through the Intuit SDK.<br /><br />You can find the inventory site list &amp; location below the tables:<br /><br />BillItemLine, PurchaseOrderLine, InvoiceLine, SalesOrderLine, CheckItemLine, CreditCardCreditItemLine, CreditMemoLine, SalesReceiptLine, CheckItemLine, CreditCardChargeItemLine, BuildAssembly, BuildAssemblyComponentItemLine, TransferInventory, TransferInventoryLine, InventoryAdjustment, InventoryAdjustmentLine, ItemSite <br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - QODBC/QRemote tries to connect for 2 minutes over and over]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2727]]></link>
<guid isPermaLink="false"><![CDATA[23fc4cba066f390a8cc729c7592b6ee8]]></guid>
<pubDate><![CDATA[Mon, 11 Jan 2016 10:38:06 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - QODBC/QRemote tries to connect for 2 minutes over and over 
Problem Description:
I am using QRemote DSN to connect to QuickBooks. QODBC/QRemote tries to connect for 2 minutes over and over and says it has a connection, but does nothin...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - QODBC/QRemote tries to connect for 2 minutes over and over </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am using QRemote DSN to connect to QuickBooks. QODBC/QRemote tries to connect for 2 minutes over and over and says it has a connection, but does nothing. I tried the QODBC Test Tool&nbsp;program, but it just freezes.<br /><br /> <img src="//support.flexquarters.com/esupport/newimages/2min/step1.png" alt="" border="0" /></span></p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Due to this issue, there might be some issues with the QRemote configuration. <br /><br />Please verify QRemote Server &amp; QRemote Client DSN are configured correctly by referring to the link below &amp; testing again:<br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2649" target="_blank">QRemote Configuration</a><br /><br /> </span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How can I get a single user access using QODBC connection string]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2721]]></link>
<guid isPermaLink="false"><![CDATA[362387494f6be6613daea643a7706a42]]></guid>
<pubDate><![CDATA[Mon, 11 Jan 2016 10:01:40 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[ Troubleshooting - How can I get single-user access using the QODBC connection string 
Problem Description:
I am in access and need to update the Inventory. I have made a table that contains the adjustments. (Thousands of them) Your notes about Inventor...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;"> Troubleshooting - How can I get single-user access using the QODBC connection string </span></h2>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I am in access and need to update the Inventory. I have made a table that contains the adjustments. (Thousands of them) Your notes about InventoryAdjustmentLine state that I must be in single-user mode to do this. What is the connection string that I must use? When I connect to QuickBooks, I currently log in as an administrator and auto-connect to access.</span>&nbsp;&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> QODBC uses the QuickBooks SDK to communicate with QuickBooks Company files. QODBC can perform only those operations that are available via QBSDK.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">No option/function will change QuickBooks company to switch the company file to single-user or multi-user access.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Yes, if no one is using the QuickBooks company file, you may connect to the QuickBooks Company file in "Single user mode" or "Multi-user mode."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You may either use the Connection string&nbsp;or specify OpenMode = F (Follow Company) / M (Multi-user) / S (Single-user), or change the Open File Mode from the QODBC Setup Screen.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> <img src="//support.flexquarters.com/esupport/newimages/SUAccess/step1.png" alt="" border="0" /> <br /> <br />For the connection string, please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2347/49/how-do-i-build-a-connection-string-with-all-the-available-qodbc-parameters--connection-string-with-qodbc-parameters" target="_blank">How do I build a connection string with all the available QODBC parameters / Connection String with QODBC Parameters</a>.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Insert information from MS Excel spreadsheet to QuickBooks using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2707]]></link>
<guid isPermaLink="false"><![CDATA[65f2a94c8c2d56d5b43a1a3d9d811102]]></guid>
<pubDate><![CDATA[Mon, 02 Nov 2015 13:05:56 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Problem Description: 
How to insert employee time information from an MS Excel time spreadsheet into QuickBooks using QODBC
Solution: 
You cannot perform insert/update operations directly in MS Excel because Excel is just exporting tables in the spread...]]></description>
<content:encoded><![CDATA[<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Problem Description: </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">How to insert employee time information from an MS Excel time spreadsheet into QuickBooks using QODBC</span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Solution: </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You cannot perform insert/update operations directly in MS Excel because Excel is just exporting tables in the spreadsheet. Excel does not create link tables like MS Access. If you want to insert/update using MS Excel, then you need to use MS Query, which will execute the statement you enter in the editor, or you can write VBA code in Excel. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the article for how to write SQL statements using MS Query: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2352" target="_blank">Microsoft Office with MS Query and QODBC</a>.</span></p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.</p>
<p>Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p>You can use ADO in VB to connect to QuickBooks via VBA in MS Excel.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the sample code for inserting records through VBA:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Sub test() <br />Const adopt static = 3<br />Const adLockOptimistic = 3<br /> <br />Dim oConnection<br />Dim oRecordset<br />Dim sMsg<br />Dim sConnectString<br />Dim sSQL<br /> <br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br />sSQL = "INSERT INTO TimeTracking (EntityRefListID, DurationMinutes, TxnDate, CustomerRefFullName, ItemServiceRefFullName, PayrollItemWageRefFullName) VALUES ( '370000-933272659', 480, {d'2007-12-18'}, 'Pretell Real Estate:75 Sunset Rd.', 'Removal,' 'Salary')." <br />Set oConnection = CreateObject("ADODB.Connection")<br />Set oRecordset = CreateObject("ADODB.Recordset")<br />oConnection.Open sConnectString<br />oConnection.Execute (sSQL)<br />sMsg = sMsg &amp; "Record Added!!!"<br />MsgBox sMsg<br />Set oRecordset = Nothing<br />Set oConnection = Nothing<br />End Sub</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please note: All query values are coming from sample company files. Please change it according to your company file value before using it.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please click here to <a href="http://support.flexquarters.com/esupport/newimages/TT/Insert Timetracking.xlsm">download a sample MS Excel file.</a></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting : QODBC Test Tool or VB Demo or Test Connection crashing.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2705]]></link>
<guid isPermaLink="false"><![CDATA[825f9cd5f0390bc77c1fed3c94885c87]]></guid>
<pubDate><![CDATA[Fri, 30 Oct 2015 09:31:25 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Note: VB Demo is deprecated. 
Please refer to&nbsp;How to use the QODBC Test Tool for testing 
Problem Description:
VB Demo\QODBC Test Tool\Test Connection was crashing when I tried to connect to QuickBooks using QODBC.
I have tried reinstalling QODBC...]]></description>
<content:encoded><![CDATA[<h5><span style="color: #cc0000; font-family: Arial,Helvetica,sans-serif;">Note: VB Demo is deprecated. </span></h5>
<p>Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3069/" target="_blank">How to use the QODBC Test Tool for testing </a></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: arial, helvetica, sans-serif;">VB Demo\QODBC Test Tool\Test Connection was crashing when I tried to connect to QuickBooks using QODBC.</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">I have tried reinstalling QODBC &amp; QuickBooks, but the QODBC Test connection (also via QODBC Test Tool) is still crashing. Also, I tried to run QODBC as an Admin/Non-Admin user, QODBC Test Tool, but with no success.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution: </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">If you are running QODBC with <strong>Detail&nbsp;</strong><span style="box-sizing: border-box; margin: 0px; padding: 0px;"><strong>Trace-</strong>enabled</span>&nbsp;mode, please check the log file size (Detail Trace, QODBC Messages, SDK Messages). </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">It should not be more than 400 MB.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please clear all the log files &amp; Optimizer files.</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;">Then, please try to test the Connection through the VB Demo on the sample company file.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">We recommended clearing log files when the file size exceeds 100 MB for better performance.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to connect to multiple company files at the same time/simultaneously]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2703]]></link>
<guid isPermaLink="false"><![CDATA[220c77af02f8ad8561b150d93000ddff]]></guid>
<pubDate><![CDATA[Fri, 30 Oct 2015 09:22:44 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to connect to multiple company files at the same time/simultaneously
Problem:
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?
Solu...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to connect to multiple company files at the same time/simultaneously</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">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?</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution:</span></h3>
<p data-path-to-node="3">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: <strong data-path-to-node="3" data-index-in-node="272">How to set up QODBC for auto-login into QuickBooks</strong>.</p>
<p data-path-to-node="4">To switch between different company files, simply update your application's connection string to point to the specific DSN associated with that company file.</p>
<p data-path-to-node="4">&nbsp;</p>
<p data-path-to-node="4">Please refer to <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2341/48/how-to-setup-qodbc-for-auto-login-into-quickbooks" target="_blank">How to set up QODBC for auto-login into QuickBooks.</a></p>
<h3 data-path-to-node="5">Step 1: Granting QODBC Access Permissions</h3>
<p data-path-to-node="6">Before attempting automated data extraction, QODBC must be granted permission by <strong data-path-to-node="6" data-index-in-node="81">each</strong> QuickBooks company file. This configuration is a one-time requirement per company file.</p>
<p data-path-to-node="7">Follow these steps for each file:</p>
<ol start="1" data-path-to-node="8">
<li>
<p data-path-to-node="8,0,0">Open <strong data-path-to-node="8,0,0" data-index-in-node="5">QuickBooks</strong> and log into the target company file as a QuickBooks user&nbsp;<strong data-path-to-node="8,0,0" data-index-in-node="59">Admin</strong>&nbsp;in <strong data-path-to-node="8,0,0" data-index-in-node="76">Single-User Mode</strong>.</p>
</li>
<li>
<p data-path-to-node="8,1,0">Connect to the company file using the <strong data-path-to-node="8,1,0" data-index-in-node="38">QODBC Test Tool</strong> or your integrated user application.</p>
</li>
<li>
<p data-path-to-node="8,2,0">A QuickBooks integrated application certificate prompt will appear.</p>
</li>
<li>
<p data-path-to-node="8,3,0">Accept the certificate and grant the necessary permissions to allow QODBC to access the data.</p>
</li>
</ol>
<h3 data-path-to-node="9">Step 2: Extracting and Consolidating Data</h3>
<p data-path-to-node="10">Once all certificates are accepted, you can proceed with data extraction:</p>
<ol start="1" data-path-to-node="11">
<li>
<p data-path-to-node="11,0,0">Use an application such as <strong data-path-to-node="11,0,0" data-index-in-node="27">Microsoft Excel Or Access, or your custom application</strong>&nbsp;to connect to each DSN sequentially.</p>
</li>
<li>
<p data-path-to-node="11,1,0">Export/dump the required data for the company.</p>
</li>
<li>
<p data-path-to-node="11,2,0">Close the connection, and wait for 15 seconds before connecting to the next company file.</p>
</li>
</ol>
<h3 data-path-to-node="13">Important Technical Limitations</h3>
<blockquote data-path-to-node="14">
<p data-path-to-node="14,0">⚠️ <strong data-path-to-node="14,0" data-index-in-node="3">QuickBooks SDK Connection Constraint</strong> The QuickBooks SDK can only connect to <strong data-path-to-node="14,0" data-index-in-node="79">one company file at a time</strong>. It does not support concurrent connections to multiple company files.</p>
</blockquote>
<p data-path-to-node="15">Because simultaneous access is not supported, your data extraction workflow must strictly follow a <strong data-path-to-node="15" data-index-in-node="99">sequential</strong> connection process. You must completely close the connection to the active company file before opening a connection to the next one.</p>
<ul data-path-to-node="16">
<li>
<p data-path-to-node="16,0,0"><strong data-path-to-node="16,0,0" data-index-in-node="0">Required Delay:</strong> To ensure QuickBooks completely releases the previous session, implement a <strong data-path-to-node="16,0,0" data-index-in-node="91">15 to 30-second delay (gap)</strong> between closing Connection A and opening Connection B.</p>
</li>
</ul>
<h4 data-path-to-node="17">Potential Error Messages</h4>
<p data-path-to-node="18">If 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:</p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">If the user tries to access multiple company files at the same time, then you will receive the error:</span></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2703/Q1.png" alt="" /></span><br /><br /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">As a workaround,&nbsp;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.&nbsp;<br /><br /></span></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MCom/step2.png" alt="" width="736" height="397" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">For Example:<br />On Application Machine.<br />QRemote Client DSN A --&gt; Points to the IP Address of Machine A --&gt; Machine A will have QuickBooks company file A opened.</span></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MCom/step3.png" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> QRemote Client DSN B --&gt; Points to the IP Address of Machine B --&gt; Machine B will have QuickBooks company file B opened.</span></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MCom/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> QRemote Client DSN C --&gt; Points to the IP Address of Machine C --&gt; Machine&nbsp;C will have QuickBooks company file C opened.</span></p>
<p align="center"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MCom/step5.png" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer to:</span><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2993" target="_blank">How to create or configure a QRemote DSN</a></p>
<p>&nbsp;Keywords:&nbsp;QB&nbsp;win log with multiple companies,&nbsp;log in with various companies,&nbsp;multi-instance, Secondary QuickBooks, multiple company files.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to run QODBC applications on a repeating/nightly basis]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2691]]></link>
<guid isPermaLink="false"><![CDATA[110eec23201d80e40d0c4a48954e2ff5]]></guid>
<pubDate><![CDATA[Mon, 19 Oct 2015 12:35:52 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QODBC with Windows scheduler / How to use&nbsp;QScheduler with QODBC /&nbsp;How to run QODBC applications on a repeating/nightly basis
Problem Description 1:
My application needs to read data from QuickBooks and update data in the SQL server....]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use QODBC with Windows scheduler / How to use&nbsp;QScheduler with QODBC /&nbsp;How to run QODBC applications on a repeating/nightly basis</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">My application needs to read data from QuickBooks and update data in the SQL server. Up to this, I can handle everything. But I need a solution for the task scheduler. My need is that my application needs to run every hour through the task scheduler. I'm trying this, but it is giving the error message:</span></p>
<p>QuickBooks Begin Session Failed. Error = 80040408, Could not start QuickBooks.</p>
<h3><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 2:</span></span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I have a batch file that runs a query using the QODBC driver. It ran perfectly when I logged in, but when I ran it as a scheduled task, I got this error:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Unable to connect to QuickBooks Connection String: DSN=BPCQuickBooks _PROD_batch; DFQ=; OpenMode=F; SERVER=QODBC, OLE Automation Error. The source is Microsoft OLE DB Provider for ODBC Drivers." [QODBC] Server Edition of QODBC is required to use the DCOM Servers."<br /><br />SQLConnect [QODBC] QuickBooks Begin Session Failed. Error = 8004041c, An internal QuickBooks error occurred while accessing the QuickBooks company data file.</span>&nbsp;</p>
<h3><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 3:</span></span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">There is a batch script that runs the data extraction, and it works when it is run manually, and we can generate a CSV file. However, when the batch script is scheduled to run using the task scheduler, it gives an error message 8004041d. We have followed all the solutions in the article, and we're still running into the error message when the task runs during the scheduled time in the task scheduler. We can also manually run the task in the task scheduler without an error, so it is only during the scheduled times that it gives an error, Error ID 8004041d</span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution :</span>&nbsp;</h3>
<p>Windows Scheduler has changed from desktop-based to service-based from Vista or Windows 7 onwards, and the new OS has the Scheduler as a service-based.&nbsp;</p>
<p>QODBC is able to access data from QuickBooks using the QuickBooks SDK, which is an embedded feature of the QuickBooks Desktop Application.</p>
<p>The QuickBooks SDK requires an active desktop session (someone to be logged in) to the machine because QuickBooks is a desktop-based application.</p>
<p>If no one logs on to the server/machine, you will get the error "Could not start QuickBooks."</p>
<p>Even if you have specified the username/password and have a user logged into the machine, you may notice the same error. This is because the task executed from Task Scheduler runs as a different user / new session.</p>
<p><br /> <br />The workaround is to use a Desktop-based Based Scheduler like QScheduler&nbsp;<a href="https://qxl1.com/qschedule">https://qxl1.com/qschedule</a>,&nbsp; or&nbsp;<a href="http://alternativeto.net/software/task-scheduler/?platform=windows" target="_blank">http://alternativeto.net/<wbr />software/task-scheduler/?<wbr />platform=windows</a>.&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use&nbsp;QScheduler with QODBC for repetitive or scheduled jobs</span></h2>
<p>You can download&nbsp;QScheduler from the mentioned link:</p>
<p><a href="https://qxl1.com/qschedule" target="_blank">Download QScheduler</a></p>
<p>Please refer to the following article for how to install QScheduler&nbsp;-&nbsp;<a href="https://qxl1.com/links/3047" target="_blank">https://qxl1.com/links/3047</a></p>
<p>&nbsp;</p>
<p>After downloading QScheduler, please install it on your machine.</p>
<p>How to use QScheduler&nbsp;-&nbsp;<a href="https://qxl1.com/links/3059" target="_blank">https://qxl1.com/links/3059</a></p>
<p>Add a new task using the&nbsp;"Add" button.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/2691/2025-11-05 17_12_51.png" alt="" /></p>
<p>Enter the task title in the "Task Name", and click the "Browse" icon to select the application.</p>
<p>Input the start date of the task and the frequency.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/2691/2025-11-05 17_13_51.png" alt="" /></p>
<p>Select the file that you want to schedule &amp; click "OPEN." In this example, I am selecting the VBS script.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/KAFT/step2.png" alt="" /></p>
<p>Review the task details and click "Close".</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/2691/2025-11-05 17_14_31.png" alt="" /></p>
<p>The task will be added to the task list and will be executed.</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/2691/2025-11-05 17_15_12.png" alt="" /></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Windows Task Scheduler (Troubleshooting)</span></h2>
<p>If your company policy requires you to use the default Windows Task Scheduler, you may try the following option to see if that helps.</p>
<p>Error 8004041d means QuickBooks/SDK rejected the automatic login: &ldquo;This application is not allowed to log into this QuickBooks company data file automatically.&rdquo; In practice, this commonly happens when a scheduled task runs in a different Windows session, under a different account, or without an interactive desktop - QuickBooks (and the QuickBooks SDK) require an interactive desktop session / approved integrated application certificate for the exact user/session that is doing the BeginSession.<br /><br />QuickBooks and QuickBooks SDK are not designed to run as a service.<br />Someone should be logged in to the Windows user session.<br /><br />Run Task only when user is logged on (Interactive session), Do not use "Run with highest privileges."<br /><br />Edit the scheduled task &rarr; General tab &rarr; select Run only when user is logged on (not &ldquo;Run whether user is logged on or not&rdquo;).<br /><br />Rationale: QuickBooks and the QuickBooks SDK require an interactive desktop. If the task is started in a non-interactive session (session 0) or as SYSTEM, it can&rsquo;t establish a QuickBooks SDK BeginSession. Many users fix this by keeping a user logged into the server and setting the task to run under that same user.<br /><br /><br />Use the same Windows account that was used when authorizing QODB.C<br /><br />The Integrated Application permission in QuickBooks is tied to the Windows user and the certificate. Make sure the scheduled task runs under the same Windows user account that you manually used when authorizing QODBC in QuickBooks. If they differ, re-authorize while logged in as the scheduled task user or change the task to run as the authorized user.<br /><br /><br /><br />Confirm QODBC was allowed automatic login in QuickBooks Integrated Applications<br /><br />In QuickBooks: Edit &rarr; Preferences &rarr; Integrated Applications &rarr; Company Preferences &rarr; find QODBC (or the exact application name shown during authorization) and ensure &ldquo;Allow this application to log in automatically&rdquo; is checked and the access level is appropriate (or explicitly select &ldquo;Yes, always; allow access even if QuickBooks is not running&rdquo; if available for your version). If you do not see the app, re-run the QODBC setup/support wizard and accept the certificate when QuickBooks prompts.<br /><br /><br />Make sure the QuickBooks company file is open, and QuickBooks is running in the interactive session.<br /><br />For scheduled runs, quick test: log into the server interactively as the task user, open QuickBooks and the company file, then trigger the scheduled task manually (from Task Scheduler while still logged in) - if that works, but the scheduled run (when no interactive login) fails, it confirms the interactive-session issue.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to use QODBC with multiple QuickBooks Company file]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2680]]></link>
<guid isPermaLink="false"><![CDATA[220a7f49d42406598587a66f02584ac3]]></guid>
<pubDate><![CDATA[Fri, 28 Aug 2015 09:34:12 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to use QODBC with multiple QuickBooks Company files
Problem Description:
I have a question about setting ODBC to auto-login. I am trying to automate some tasks and wanted to auto-login. We have two different company files for accou...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to use QODBC with multiple QuickBooks Company files</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I have a question about setting ODBC to auto-login. I am trying to automate some tasks and wanted to auto-login. We have two different company files for accounting purposes. If I set the path in the odbc to the company file, how do I change this to access the second company?<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> There is a limitation with the QuickBooks SDK: it can connect to only one company file simultaneously on a machine. QODBC uses QuickBooks SDK &amp; QRemoteServer uses QODBC. Thus, you can open one company file at a time on a device. <br /><br />You can create multiple DSNs pointing to different company files and use this DSN in your configuration. <br /><br />Please refer to the steps below for creating multiple DSNs pointing to different company files. <br /><br />1) Create a new DSN.<br /><br />For example, you have a Company file "A," and let us create a DSN for Company "A" with the DSN name <strong>"CompA."</strong>&nbsp;Please refer to the article mentioned below for creating DSN:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1929/48/how-to-create-or-configure-a-qodbc-dsn" target="_blank">How to make or configure a QODBC DSN</a> <br /><br />2) Set up auto login to QuickBooks using QODBC.<br /><br />Please refer to the article mentioned below for configuring auto-login to QuickBooks using QODBC.<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2511" target="_blank">How to set up QODBC Driver to auto-connect to QuickBooks (Video).</a><br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2341" target="_blank">How to set up QODBC for auto-login into QuickBooks.</a><br /><br />Let us repeat steps 1 &amp; 2 for the Company file "B."<br /><br />1) Create a new DSN.<br /><br />Create DSN for Company "B" with DSN name <strong>"CompB."</strong>&nbsp;Please refer to the article mentioned below for creating DSN:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1929/48/how-to-create-or-configure-a-qodbc-dsn" target="_blank">How to make or configure a QODBC DSN</a> <br /><br />2) Set up auto login to QuickBooks using QODBC.<br /><br />Please refer to the article mentioned below for configuring auto-login to QuickBooks using QODBC.<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2511" target="_blank">How to set up QODBC Driver to auto-connect to QuickBooks (Video).</a><br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2341" target="_blank">How to set up QODBC for auto-login into QuickBooks.</a><br /><br /> </span></p>
<h4><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Use DSN in Applications:</span></span></h4>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> We have created multiple DSNs. Now we use it in our application. <br /><br />In this example, I am using DSN in VBA code. Please refer to the sample code for using multiple DSNs in VBA through QODBC:<br /><br />Public Sub Test()<br /><br />Const adopt static = 3<br /><br />Const adLockOptimistic = 3<br /><br />Dim oConnection<br /><br />Dim sConnectString<br /><br />sConnectString = "DSN=CompA;OLE DB Services=-2;"<br /><br />// <strong>Write your query here as per your requirements.</strong> //<br /><br />Set oConnection = CreateObject("ADODB.Connection")<br /><br />oConnection.Open sConnectString<br /><br />oConnection.Close<br /><br />Set oConnection = Nothing<br /><br />Sleep(10)<br /><br />sConnectString = "DSN=CompB;OLE DB Services=-2;"<br /><br />// <strong>Write your query here as per your requirements.</strong> //<br /><br />Set oConnection = CreateObject("ADODB.Connection")<br /><br />oConnection.Open sConnectString<br /><br />oConnection.Close<br /><br />Set oConnection = Nothing<br /><br />Sleep(10)<br /><br />End Sub</span></p>
<p>&nbsp;</p>
<p>Keywords: QB Win Log with multiple companies,&nbsp;log in with multiple companies&nbsp;</p>
<table class="gstl_50 gssb_c" style="width: 206px; display: none; top: 170px; left: 257px; position: absolute;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gssb_f">&nbsp;</td>
<td class="gssb_e" style="width: 100%;">&nbsp;</td>
</tr>
</tbody>
</table>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to Re-Link QuickBooks Data in MS Access using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2679]]></link>
<guid isPermaLink="false"><![CDATA[9813b270ed0288e7c0388f0fd4ec68f5]]></guid>
<pubDate><![CDATA[Fri, 28 Aug 2015 09:29:37 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to Re-Link QuickBooks Data in MS Access using QODBC
Problem Description 1:
We are adding invoice records to QuickBooks using an Access front end. When we create the records and try to insert them into QuickBooks, the line items see...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to Re-Link QuickBooks Data in MS Access using QODBC</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">We are adding invoice records to QuickBooks using an Access front end. When we create the records and try to insert them into QuickBooks, the line items seem to go, but when the invoice header is inserted, we get an error that the Child Record must be inserted before the Header Record in BuildXMLHeader. I have examined the data being passed, and it all looks correct.<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 2:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I upgraded my QuickBooks Premier Plus Professional Services to 2016 (from 2014). I skipped updating to 2015.<br /> <br />I installed the new QODBC connector, but I cannot connect to my Access database. I have tried to uninstall the MS Access Database driver, but I get the error message&nbsp;<span class="kbtitlemain">ODBC call failed- Error 10004.</span><br /><br /></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 3:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I just updated QuickBooks Enterprise 14 to Enterprise 23. Using an Access database 2013 32-bit. I get an error when trying to process a Packing list in Access to invoice in QuickBooks.<br /> <br /><span class="kbtitlemain">I'm having an issue with my database sending a packing list to QuickBooks. It's working, and then it stops.<br /><br />"ODBC--call failed".</span><br />&nbsp;<br /></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 4:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I have an MS Access database containing QuickBooks Data as the linked table. Recently, I changed my Optimizer file path &amp; after changing the Optimizer path, I am facing a slow performance issue.<br /><br /> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ReLink/step1.png" alt="" /></span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> <br /><br />How can I solve this issue?</span>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span>&nbsp;</h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">You need to re-link the MS Access-linked table to resolve the issue. Delete the old linked table &amp; re-link it.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">After changing the optimizer file path, you need to re-link the linked table in MS Access because your MS Access Linked table contains an old Optimizer file path. <br /><br />Please note: Linked Table Manager in MS Access will not update the Optimizer file path; you need to re-link the linked table in MS Access to solve this issue. <br /><br />The solution to this issue is to re-create the linked table.<br /><br />Open MS Access Linked Table:<br /><br />Right-click on the On Your Linked Table:<br /><br /> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ReLink/step3.png" alt="" /></span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />Now, click on the Delete.<br /><br /></span></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ReLink/step4.png" alt="" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br />Now Link the Same Table. After linking the table, you will get the updated optimizer file path.<br /><br />To view the Optimizer file path &amp; other table properties, hover your mouse over the table name so that you can view table properties.<br /><br /></span></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ReLink/step2.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please keep QuickBooks running, log in as Admin to your company file, and try to connect again with MS Access.<br /><br />Please refer to the link below for How to Create a Linked Table in MS Access:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/0/how-to-use-qodbc-with-microsoft-access-2007" target="_blank">How to Use QODBC with Microsoft Access 2007</a> <br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit" target="_blank">How to Use QODBC with Microsoft Access 2010</a> <br /><br /> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">If the above does not resolve the issue, please download the latest QODBC version.</span></p>
<p><a href="http://www.qodbc.com/qodbcDownload.htm" target="_blank"><span style="font-family: Arial, Helvetica, sans-serif;">QODBC Download</span></a></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Skip the CDKEY Step during installation. Restart the Machine after a new version is installed (if prompted)</span></p>
<p><span style="font-family: arial, helvetica, sans-serif;"><strong>If the Above Solutions <span class="GINGER_SOFTWARE_mark">don't work</span>, please post a ticket to us, and we will further investigate your issue.</strong></span></p>
<p>Tags: Re-link linked tables, Re-link table, Re-add table, Re-Add linked tables, Refresh Linked tables, ODBC-Connection to 'QuickBooks Data' failed, #Deleted,[#Deleted], ODBC--call failed,&nbsp;call failed, <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2679/">#Deleted</a></p>
<div id="commentparent">
<div id="commentsformcontainer"><form action="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Comments/Submit/2418/" enctype="multipart/form-data" method="post" name="CommentsForm"></form></div>
</div>
<table class="gstl_50 gssb_c" style="width: 206px; display: none; top: 170px; left: 257px; position: absolute;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gssb_f">&nbsp;</td>
<td class="gssb_e" style="width: 100%;">&nbsp;</td>
</tr>
</tbody>
</table>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to locate data found in QuickBooks by table and field name inside QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2676]]></link>
<guid isPermaLink="false"><![CDATA[d89a66c7c80a29b1bdbab0f2a1a94af8]]></guid>
<pubDate><![CDATA[Fri, 28 Aug 2015 08:43:47 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to locate data found in QuickBooks by table and field name inside QODBC
Problem Description:
I have a question about how to locate data found in QuickBooks by table and field name inside the QODBC system. 
Solutions:
 The fastest...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to locate data found in QuickBooks by table and field name inside QODBC</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I have a question about how to locate data found in QuickBooks by table and field name inside the QODBC system.<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> The fastest way to find data in QuickBooks via the QODBC Driver is to use the batch and sync method. Inside QuickBooks, place a unique "bait" value in the field in question, such as <strong>find me</strong>&nbsp;for text fields or 123321 for numeric fields, and save the data. Then start the QODBC Test Tool and connect to the QuickBooks company file. Refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2512" target="_blank">Connecting QODBC Driver to QuickBooks for the First Time (Video)</a>, then do a global search for the "bait" value. The file and field name will be shown if the data is available via QODBC. <br /><br />Please follow the steps below to locate QuickBooks data by table and field name inside the QODBC system.<br /><br />1) Add a sample <strong>find me</strong>&nbsp;to Invoice or bill records (i.e., RefNumber).<br /><br />For Example, we are creating an Invoice with RefNumber (i.e., Invoice#) <strong>findme</strong>. <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2676/Q1.png" alt="" /><br />2) Add a sample <strong>123321</strong> in the CreditMemo rate.<br /><br />For Example, we are creating a CreditMemo with a rate of&nbsp;<strong>123321</strong>. <br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2676/Q2.png" alt="" /><br />3) Use the SP_GLOBALSEARCH command to search data from the QuickBooks company file. <strong>(Requires v16.0.0.317 or above)</strong> <br /><br />sp_globalsearch SearchValue<br /><br />For Example: <br /><br />sp_globalsearch 'find me.'<br /><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2676/Q3.png" alt="" /> <br />sp_globalsearch '123321' </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><br /> <img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2676/Q4.png" alt="" /> <br /></span></p>
<table class="gstl_50 gssb_c" style="width: 206px; display: none; top: 170px; left: 257px; position: absolute;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gssb_f">&nbsp;</td>
<td class="gssb_e" style="width: 100%;">&nbsp;</td>
</tr>
</tbody>
</table>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Configure QODBC for use with Jitterbit Community Edition 3.0.0 (QRemote)]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2672]]></link>
<guid isPermaLink="false"><![CDATA[0e900ad84f63618452210ab8baae0218]]></guid>
<pubDate><![CDATA[Thu, 20 Aug 2015 10:37:35 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Configure QODBC for use with Jitterbit Community Edition 3.0.0 (QRemote)
 To use QODBC with Jitterbit Community Edition 3.0.0, you should follow the steps below to configure your QODBC driver and Jitterbit connection. These steps work for QODBC with Jitt...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Configure QODBC for use with Jitterbit Community Edition 3.0.0 (QRemote)</span></h2>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> To use QODBC with Jitterbit Community Edition 3.0.0, you should follow the steps below to configure your QODBC driver and Jitterbit connection. These steps work for QODBC with Jitterbit 3.0.0 on 32-bit Windows 7. Other platforms have not been tested.<br /><br />First, you need to configure QRemote. To configure QRemote, please follow the steps below:<br /><br /></span></p>
<p>QRemote has two components: "QRemote Client Driver for QODBC" and "QRemote Server for QODBC."&nbsp;</p>
<p>QRemote Client Driver: Allows service-based applications and 64-bita&nbsp;pplications to connect to the QRemote Server and send the request to the QRemote Server for processing.&nbsp;</p>
<p>QRemote Server: Processes requested instruction from QRemote Client to QuickBooks using QODBC DSN Driver.&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Start "QRemote Server for QODBC" from the start menu. ( If QRemoteServer is not running )&nbsp;</strong></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/JBQODBC/image004.png" alt="" width="261" height="218" /></p>
<p>&nbsp;</p>
<h4>Double-click the QRemote Server icon from the system tray</h4>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/JBQODBC/image005.png" alt="" width="314" height="67" /></p>
<h4>QRemote Server Main screen shows the IP address and port, allowing the QRemote Client to connect.</h4>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/JBQODBC/image007.jpg" alt="" width="642" height="151" /></p>
<h4>Note the IP address and Port number listed on the QRemote Server "Event Logs " window</h4>
<h4>Create a new DSN entry/or configure the existing one</h4>
<p>Navigate to Start Menu, QODBC Drivers for Use with QuickBooks, and click</p>
<p>Configure QODBC Data Source</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="QODBCStartMenu.png" src="//support.flexquarters.com/esupport/newimages/JBQODBC/QODBCStartMenu.png" alt="QODBCStartMenu.png" width="235" height="216" /></p>
<p>"QuickBooks Data QRemote" is the default DSN created when installing QODBC.</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/JBQODBC/image009_32.png" alt="" width="469" height="390" /></p>
<p>Configure the DSN and provide the IP address and Port as listed under "QRemote Server."</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/JBQODBC/image011_32.png" alt="" /></p>
<p>Under the QRemote for QuickBooks &ndash; Client&nbsp; DSN configuration screen, please fill in the following information.&nbsp;</p>
<ul>
<li>Data Source Name: Name of your DSN entry&nbsp;</li>
<li>Server: IP address displayed on QRemote Server&nbsp;</li>
<li>Port: Port displayed on QRemote Server&nbsp;</li>
<li>Encryption Key: Keep default key "<strong>QODBC#QRemote$1"&nbsp;</strong>(In case you want to use encrypted data transfer between QRemote client and QRemoteServer, you can configure your encryption key on QRemoteServer and use the same on QRemote Client DSN)&nbsp;</li>
</ul>
<ul>
<li>Remote DSN: select the QODBC DSN from the list. ( Make sure QRemote Server is running)&nbsp;</li>
</ul>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">After configuring QODBC, you need to configure Jitterbit. To configure Jitterbit, please follow the steps below:<br /><br />1. Start the Jitterbit client<br /><br />2. Right-click Sources and create a New Source</span></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/JBQODBC/Step4.png" alt="http://support.flexquarters.com/esupport/newimages/Jitterbit/Step4.png" width="799" height="700" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">3. Type QuickBooks in the Name field<br /><br />4. Select the Database for the type<br /><br />5. Click Options<br /><br />6. Ensure the box marked "Construct connection string manually" has a tick in it<br /><br />7. Enter DSN=QuickBooks Data QRemote into the field adjacent to the checkbox.<br /><br />8. Click the Save icon.</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/JBQODBC/Step5.png" alt="http://support.flexquarters.com/esupport/newimages/Jitterbit/Step5.png" width="947" height="752" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Writing to QuickBooks safely / Always connect in Read Only Mode]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2665]]></link>
<guid isPermaLink="false"><![CDATA[e727fa59ddefcefb5d39501167623132]]></guid>
<pubDate><![CDATA[Wed, 19 Aug 2015 14:13:59 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[We are writing to QuickBooks safely.
Problem Description:
I'm a little concerned about the write feature and changing any current data in QuickBooks from the Excel files I want to experiment with. Are my concerns valid, or what is the best way for me to...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">We are writing to QuickBooks safely.</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I'm a little concerned about the write feature and changing any current data in QuickBooks from the Excel files I want to experiment with. Are my concerns valid, or what is the best way for me to prevent that from occurring?<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<ul>
<li>Updating any record in the Excel sheet will not fire the update command or change anything on QuickBooks (unless using a VBA script). For better security, you can enable the "Read-Only Access" feature from the QODBC Advanced tab to avoid any application using QODBC to write to QuickBooks. <br /><br /></li>
</ul>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">You can disable write permission by enabling the "Read-Only Access" options from:<br /><br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks&gt;&gt;QODBC Setup Screen&gt;&gt;Advanced Tab&gt;&gt; Enable the "Read-only access" option. &amp; apply the changes. <br /><br /></span></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/WQB/step1.png" alt="" width="414" height="461" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br /></span></span></p>
<ul>
<li>You can make a copy of the company file and test it. So your original company file will be safe.<br /><br /></li>
</ul>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">OR <br /><br /></span></span></p>
<ul>
<li>You can take a backup of the company files &amp; restore them whenever needed.</li>
</ul>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /><br /></span></span></p>
<ul>
<li>QODBC does not write to the QuickBooks company file directly; QODBC writes through the QuickBooks SDK, which follows all business rules &amp; validation.</li>
</ul>
<p>&nbsp;</p>
<p>Tags:&nbsp;configurations, permissions, user rights</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Application Connectivity Delay]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2656]]></link>
<guid isPermaLink="false"><![CDATA[1680e9fa7b4dd5d62ece800239bb53bd]]></guid>
<pubDate><![CDATA[Fri, 10 Jul 2015 08:47:00 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Application Connectivity Delay
Problem Description:
I have an inventory control system (C #, SQL Server) that needs read-only access to four tables in the accounting system. I have deployed your multiuser version and can access the loc...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Application Connectivity Delay</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I have an inventory control system (C #, SQL Server) that needs read-only access to four tables in the accounting system. I have deployed your multiuser version and can access the local QuickBooks instance from your VB app, Excel, and my app.<br /><br />1. When I run your VB app in the production RDP session, the ODBC behavior is as expected. <br /><br />2. I created a WPF/c# app to duplicate your VB and ran it in the production RDP session. The ODBC's behavior is expected. <br /><br />3. When I run my app in my development environment, the ODBC behavior is as expected. <br /><br />4. When I run my app in the production RDP session, opening the ODBC connection takes &gt; 6 minutes. But it opens. <br /><br />Please let me know what I am doing wrong.<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please reset your Optimizer file, check the connection time, and log the connection time in your application. Please refer: <br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2519/0/how-to-remove-optimizer-file">How to Remove Optimizer file</a> <br /><br />Please try the below .net application below for the troubleshooting of the time delay in connection opening and querying:<br /><br /> <a href="http://support.flexquarters.com/supportfiles/VBNetSample-timelog.zip">Sample code for Troubleshooting Connection Time Issue</a> <br /><br />If the above does not resolve the issue, please change the application, as it could eat more environmental resources.<br /><br />Also, please try to move the process of reading the QuickBooks tables to a background task. It will solve the problem. I suspect that your app is consuming most of the thread pool. Creating an explicit task provides sufficient resources to resolve the issue. &nbsp;<br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Error while Inserting Bill]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2654]]></link>
<guid isPermaLink="false"><![CDATA[7180cffd6a8e829dacfc2a31b3f72ece]]></guid>
<pubDate><![CDATA[Fri, 10 Jul 2015 08:34:44 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Error while Inserting Bill
Problem Description 1:
 I am following the steps below and getting the error.1. First, we inserted the records in the Bill &amp; BillExpenseLine table, and the papers got inserted successfully.2. Second, we a...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Error while Inserting Bill</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I am following the steps below and getting the error.<br /><br />1. First, we inserted the records in the Bill &amp; BillExpenseLine table, and the papers got inserted successfully.<br /><br />2. Second, we are inserting the records in BillPaymentCheckLine, and we are getting the following error<br /><br />"Error Parsing Complete XML return string."<br /><br />INSERT INTO BillPaymentCheckLine (PayeeEntityRefListID, APAccountRefListID, BankAccountRefListID, RefNumber, IsToBePrinted, AppliedToTxnTxnID, AppliedToTxnPaymentAmount) VALUES('80000EB1-1435326666', '80000037-1409939589', '80000024-1409927427', '555555',1, '81D4-1435326671', 88.3)<br /><br />Please let me know what I am doing wrong.<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Either remove RefNumber or IsToBePrinted from the insert statement. QuickBooks SDK will allow only one of the fields during insert/update &amp; due to this issue occurring.<br /><br />Your query should be as follows.<br /><br />INSERT INTO BillPaymentCheckLine (PayeeEntityRefListID, APAccountRefListID, BankAccountRefListID, RefNumber, AppliedToTxnTxnID, AppliedToTxnPaymentAmount) VALUES('80000EB1-1435326666', '80000037-1409939589', '80000024-1409927427', '555555', '81D4-1435326671', 88.3)</span>&nbsp;</p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 2:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I am&nbsp;trying to link BillItemLine with PurchaseOrder. I am using the below query to connect transactions &amp; I am getting an XML error.<br /><br />"Error Parsing Complete XML return string."<br /><br />INSERT INTO BillItemLine ( ItemLineLinkToTxnTxnID, ItemLineLinkToTxnTxnLineID, ItemLineQuantity ) values ('271B-1071512692', '271D-1071512692',300 )<br /><br />Please let me know what I am doing wrong.<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions 2:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">If you are trying to link transactions with Bill, you should include vendor details in your query. Please refer to the sample query &amp; test again:<br /><br />Your question should be as follows.<br /><br />INSERT INTO BillItemLine (VendorRefListID, ItemLineLinkToTxnTxnID, ItemLineLinkToTxnTxnLineID, ItemLineQuantity) VALUES ('10000-933272655', '271B-1071512692', '271D-1071512692',30)<br /></span></p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create Invoices using QRemote from SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2651]]></link>
<guid isPermaLink="false"><![CDATA[148260a1ce4fe4907df4cd475c442e28]]></guid>
<pubDate><![CDATA[Fri, 05 Jun 2015 09:45:20 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Examples of Creating an Invoice using QRemote from SQL Server 
 Note: For multi-line invoices, some may find it easier to NOT include the header information with each line item, but rather to have separate smaller commands for the Invoice Lines and a fin...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Examples of Creating an Invoice using QRemote from SQL Server </span></h2>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> <strong>Note:</strong> For multi-line invoices, some may find it easier to NOT include the header information with each line item, but rather to have <span id="a0a24976-a8b6-48fe-ae8e-e3a5cfd67ba3" class="GINGER_SOFTWARE_mark">separate</span> smaller commands for the Invoice Lines and a final&nbsp; INSERT for the Invoice Header.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Create an Invoice with 3 Lines</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Here we create an invoice with three lines by using 3 InvoiceLine INSERT commands (with the <span style="color: #ff0000;">FQSaveToCache</span> caching flag set true) followed by the Invoice table (header) insert, which is automatically designed to pull in all cached InvoiceLine records and save immediately.</span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>First Line </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO QRemote...InvoiceLine(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineRate,InvoiceLineAmount,InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES('240000-933272656','POWERTRAK-2000',200.00000,200.00,'20000-999022286',1)</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> <strong>Note: </strong> QRemote is a linked server name. It would be best if you changed it to your linked server name.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Suppose you don't set up a linked server in SQL Server. Please refer to the link below for creating the linked server. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> For 32-bit SQL Server: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514">How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> For 64-bit SQL Server: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458/52/how-to-create-link-server-with-ms-sql-200520082012-64-bit-using-qodbcqremote">How to create Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a> </span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Second Line </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO QRemote...InvoiceLine(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineRate,InvoiceLineAmount,InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES('240000-933272656','POWERTRAK-3000',200.00000,200.00,'20000-999022286',1)</span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Third Line </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO QRemote...InvoiceLine(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineRate,InvoiceLineAmount,InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES('240000-933272656','POWERTRAK-4000',200.00000,200.00,'20000-999022286',1)</span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Header Information </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">INSERT INTO QRemote...InvoiceLine(CustomerRefListID, ARAccountRefListID, TxnDate, RefNumber, BillAddressAddr1, BillAddressAddr2, BillAddressCity, BillAddressState, BillAddressPostalCode, BillAddressCountry, IsPending, TermsRefListID, DueDate, ShipDate, ItemSalesTaxRefListID, Memo, IsToBePrinted, CustomerSalesTaxCodeRefListID) VALUES('160000-933272658', '40000-933270541', {d'2014-10-01'}, '1', 'Brad Lamb,' '1921 AppleseedLane', 'Bayshore,' 'CA,' '94326', 'USA,' 0, '20000-933272658', {d'2014-10-31'}, {d'2014-10-01'}, '2E0000-933272656', 'Memo Test,' 0,'10000-999022286')</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step1.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step1.png" width="1100" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Results in QuickBooks </strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step2.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step2.png" width="1100" height="522" /></span></p>
<h3>&nbsp;</h3>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Related Data Location </span></h3>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="1edee6aa-a2c4-410a-b36a-45e4f42b41c7" class="GINGER_SOFTWARE_mark">InvoiceLineItemRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="41838a42-b8a5-4d33-b403-68b058dbb742" class="GINGER_SOFTWARE_mark">InvoiceLineItemRefListID</span> is '240000-933272656' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, and FullName from QRemote...An item where FullName is like 'F%.'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step3.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step3.png" width="808" height="590" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="b24f92cb-0a84-4ca0-95ae-541bc7035faf" class="GINGER_SOFTWARE_mark">InvoiceLineSalesTaxCodeRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="18c36acb-d9fe-41b8-9173-266e437e0fc5" class="GINGER_SOFTWARE_mark">InvoiceLineSalesTaxCodeRefListID</span> is '20000-999022286' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, Name from QRemote...SalesTaxCode where Name like 'N%'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step4.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step4.png" width="811" height="589" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="7c64ef3d-1f2a-4900-9bb4-29c02ac6b38a" class="GINGER_SOFTWARE_mark">CustomerRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="6f72d535-3e08-4d5d-831f-0dd516a69900" class="GINGER_SOFTWARE_mark">CustomerRefListID</span> is '160000-933272658' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, and FullName from QRemote...Customers where FullName like 'Aber%'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step5.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step5.png" width="810" height="589" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="505d59a2-ea99-4682-a24c-ba3ada0ea829" class="GINGER_SOFTWARE_mark">ARAccountRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="da7e0de9-a47e-4897-b803-9ada8d40581b" class="GINGER_SOFTWARE_mark">ARAccountRefListID</span> is '40000-933270541' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, and FullName from QRemote...An account where a Name like 'Account%.'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step6.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step6.png" width="807" height="586" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="bca21bac-07bd-485e-979c-1f1c9149e9d4" class="GINGER_SOFTWARE_mark">ItemSalesTaxRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="283919b1-fdec-4bae-82f3-1af6c5a2c677" class="GINGER_SOFTWARE_mark">ItemSalesTaxRefListID</span> is '2E0000-933272656' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, Name from QRemote...ItemSalesTax where Name like 'San%'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step7.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step7.png" width="806" height="587" /></span></p>
<p><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong><span id="9ddfca49-bb14-4946-9c5b-eceea9839390" class="GINGER_SOFTWARE_mark">CustomerSalesTaxCodeRefListID</span></strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="abddc888-82df-49b8-a3ff-8a5d794e388e" class="GINGER_SOFTWARE_mark">CustomerSalesTaxCodeRefListID</span> is '10000-999022286' and found like this:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select ListId, Name from QRemote...SalesTaxCode where Name like 'T%'</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/SQLInvoice/step8.png" alt="http://support.flexquarters.com/esupport/newimages/SQLInvoice/step8.png" width="811" height="587" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Example of adding InvoiceLine items to an existing Invoice</span></h3>
<p>You can add lines to existing Invoices using SQL Linked Server without any issue. Please refer to the sample query for the same:</p>
<p>Insert&nbsp;into QRemote.InvoiceLine (TxnID, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount) VALUES ('1B308-1513325705', '320000-1071525597', '11440DECA', 5,5)</p>
<p><strong>OR</strong></p>
<p>Insert openquery(QRemote, 'select TxnID, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount from InvoiceLine where TxnID=''0''') values ('1B308-1513325705','320000-1071525597', '88880DECA', 5,5)</p>
<p><strong>Note</strong>: In the INSERT statement, a where should be TxnID=''0''. The TxnID=''0'' predicate is used to avoid retrieving data from the remote server, which can result in slower performance.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] Difference between QODBC for QuickBooks Desktop and Online.]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2647]]></link>
<guid isPermaLink="false"><![CDATA[0b7e926154c1274e8b602ff0d7c133d7]]></guid>
<pubDate><![CDATA[Wed, 06 May 2015 10:20:37 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Difference between QODBC for QuickBooks Desktop and Online.
Table Differences:
 Number of Tables available in 


QODBC DesktopQODBC Online 



150
83




 
List of Tables available in QODBC Desktop
List of Tables available in QODBC Online...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Difference between QODBC for QuickBooks Desktop and Online.</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Table Differences:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Number of Tables available in </span></p>
<table border="1" cellspacing="0" align="center" bgcolor="#ffffff">
<thead>
<tr><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;">QODBC Desktop</span></th><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;">QODBC Online </span></th></tr>
</thead>
<tbody align="Center">
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">150</span></td>
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">83</span></td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"> <br /></span></span></p>
<p><a href="http://doc.qodbc.com/qodbc/usa/TableList.php?categoryName=" target="_blank">List of Tables available in QODBC Desktop</a></p>
<p><a href="http://doc.qodbc.com/qodbc/online/TableList.php?categoryName=" target="_blank">List of Tables available in QODBC Online</a></p>
<p><a href="https://developer.intuit.com/docs/api/accounting" target="_blank">List of Tables available via API from QuickBooks Online</a></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Report Differences:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Number of Reports available in</span></span></p>
<table border="1" cellspacing="0" align="center" bgcolor="#ffffff">
<thead>
<tr><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;">QODBC Desktop</span></th><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;">QODBC Online </span></th></tr>
</thead>
<tbody align="Center">
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">93</span></td>
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">22</span></td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></span></p>
<p><a href="http://doc.qodbc.com/qodbc/usa/Reports.php?categoryName=" target="_blank">List of Reports available in QODBC Desktop</a></p>
<p><a href="http://doc.qodbc.com/qodbc/online/Reports.php?categoryName=" target="_blank">List of Reports available in QODBC Online</a></p>
<p><a href="https://developer.intuit.com/docs/0100_accounting/0400_references/reports" target="_blank">List of Reports available via API from QuickBooks Online</a>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Stored Procedure Difference:</span></h3>
<h4><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Stored Procedure, which is not working in QODBC for QuickBooks Online:</span></h4>
<table border="1" cellspacing="0" align="center" bgcolor="#ffffff">
<thead>
<tr><th bgcolor="#c0c0c0"><span style="font-size: 11pt; color: #000000; font-family: Calibri;"> Store Procedure Name</span></th></tr>
</thead>
<tbody align="Center">
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">sp_qbfilename</span></td>
</tr>
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">sp_batchclear TableName</span></td>
</tr>
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">sp_batchstart TableName</span></td>
</tr>
<tr valign="TOP">
<td><span style="font-size: 11pt; color: #000000; font-family: Calibri;">sp_batchupdate TableName</span></td>
</tr>
</tbody>
<tfoot></tfoot>
</table>
<p>&nbsp;</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2342" target="_blank">QODBC Desktop Stored Procedures Command-List</a></p>
<p>&nbsp;</p>
<p>Also, Refer</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2715" target="_blank">Detailed Difference between QODBC for QuickBooks Desktop and Online.</a></p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<p>Tags: QuickBooks Online, QBO, QODBC Online, difference</p>
<p>&nbsp;</p>
<table class="gstl_50 gssb_c" style="width: 206px; display: none; top: 170px; left: 257px; position: absolute;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gssb_f">&nbsp;</td>
<td class="gssb_e" style="width: 100%;">&nbsp;</td>
</tr>
</tbody>
</table>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Getting Multiple-step OLE DB operation generated errors in SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2645]]></link>
<guid isPermaLink="false"><![CDATA[a7789ef88d599b8df86bbee632b2994d]]></guid>
<pubDate><![CDATA[Mon, 04 May 2015 14:05:59 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Getting Multiple-step OLE DB operation generated errors in SQL Server
Problem Description:
 Trying to insert into SalesOrderLine and getting a 'Multiple-step' error. INSERT INTO QBREMOTE...SalesOrderLine (CustomerRefListID, TemplateRef...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Getting Multiple-step OLE DB operation generated errors in SQL Server</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Trying to insert into SalesOrderLine and getting a 'Multiple-step' error. <br /><br />INSERT INTO QBREMOTE...SalesOrderLine (CustomerRefListID, TemplateRefListID, SalesOrderLineItemRefFullName, SalesOrderLineQuantity, SalesOrderLineRate, SalesOrderLineTaxCodeRefListID, ClassRefListID, FQSaveToCache) VALUES ('8000343B-1393961058', '80000008-1377787801 ', 'R1', 1.0000, 500.00, '80000001-1377787801 ', '80000003-1393947522', 0) <br /><br />OLE DB provider "MSDASQL" for linked server "QBREMOTE" returned the message "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".<br /><br />Msg 7343, Level 16, State 2, Line 1<br /><br />The OLE DB provider "MSDASQL" for linked server "QBREMOTE" could not INSERT INTO table "[QBREMOTE]...[SalesOrderLine]". <br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> You need to change the "Maximum Field Name Length" value from QODBC Setup Screen&gt;&gt; Advanced tab to resolve "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done." at the time of insertion.<br /><br />Please follow the instructions below to change the "Maximum Field Name Length" value.<br /><br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks&gt;&gt; Configure QODBC Data Source&gt;&gt;Go To "System DSN" (If you are using System DSN) or "User DSN" (If you are using User DSN) Tab &gt;&gt; select your DSN&gt;&gt; click "configure"&gt;&gt; Advanced &gt;&gt; "Maximum Field Name Length" change to 100.&nbsp;</span>&nbsp;</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MOLEDB/step1.png" alt="http://support.flexquarters.com/esupport/newimages/MOLEDB/step1.png" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Also, you can use openquery, which can insert records in the SalesOrderLine table:<br /><br />Insert openquery(QBREMOTE,' select CustomerRefListID, TemplateRefListID, SalesOrderLineItemRefFullName, SalesOrderLineQuantity, SalesOrderLineRate, SalesOrderLineTaxCodeRefListID, FQSaveToCache from SalesOrderLine where 1=0') values ('160000-933272658', '120000-1071512690', 'Wood Door: Exterior', 1.0000, 555.00, '10000-999022286', 0) <br /><br />Please refer:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2367/50/how-to-do-inserts-updates-and-deletes-using-openquery-with-linked-ms-sql-servers"> How to do INSERTs, UPDATEs, and DELETEs using OPENQUERY with Linked MS SQL Servers</a></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QXL-Desktop] How to use QXL]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2641]]></link>
<guid isPermaLink="false"><![CDATA[f21e255f89e0f258accbe4e984eef486]]></guid>
<pubDate><![CDATA[Thu, 26 Mar 2015 13:31:58 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How to use QXL
Step 1 - Download QXL
 If you haven't already downloaded QXL, go to the download page&nbsp;now. Don't forget to read the "Readme" file during installation for the latest information on QXL setup, new features, and other driver information...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How to use QXL</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Step 1 - Download QXL</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> If you haven't already downloaded QXL, go to the <a href="http://qxl1.com/qxl-for-quickbooks-desktop-downloads/">download page</a>&nbsp;now. Don't forget to read the "Readme" file during installation for the latest information on QXL setup, new features, and other driver information. Save the self-extracting executable "QXLSetup.exe" in a temporary directory or your "My Documents" folder to extract the installation files.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Step 2 - Running the Installer:</span></h3>
<p>Click on the Install program from within Windows to install the driver. Select the destination directory to install the QXL support files. Click "OK" to continue.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step1.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step6.png" alt="" /></p>
<p>The QXL - QuickBooks Export Made Easy&reg; has been successfully installed on your computer. You can begin to use it because it will immediately run as a 30-day evaluation version.</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Step 3 - Use QXL:</span></h3>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step7.png" alt="" /></p>
<p>After installation, you may notice the following icons on the desktop.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step28.png" alt="" /></p>
<p>QXL &ndash; Silent Mode - It uses the last saved settings of QXL and automatically starts executing the data export with no user interface.QXL &ndash; Direct Mode - It uses the previously saved settings of QXL and automatically starts executing the data export with the user interface, i.e., displaying progress data export.QXL &ndash; Manual execution of Data Export/Update Settings/Activation-Deactivation. You can select tables and destinations to which the files should be exported. Start QuickBooks, log in to your company file, switch back to QXL, and click Export Data.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step8.png" alt="" /></p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step9.png" alt="" /></p>
<p>After the export is completed. The exported data folder will open.</p>
<p align="center"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QXL/step10.png" alt="" /></p>
<p>Exported data is placed at the below location by default: C:\Users\User Name\Documents\QXL\</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">QXL Features:</span></h3>
<p>1. Export QuickBooks Data to XML format via QODBC.</p>
<p>2. Export QuickBooks Data to CSV format via QODBC.</p>
<p>3. Ability to choose export file(s) location.</p>
<p>4. Ability to export to Separate files or a single file.</p>
<p>5. Ability to export all selected, tabled, or excluded tables.</p>
<p>6. Ability to save your default settings from Options.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Also, Refer:</span><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2786" target="_blank">QXL options and settings</a></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to select a record when the value is null]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2640]]></link>
<guid isPermaLink="false"><![CDATA[9a5748a2fbaa6564d05d7f2ae29a9355]]></guid>
<pubDate><![CDATA[Mon, 23 Mar 2015 13:43:36 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to select a record when the value is null
Problem Description:
 I am trying to run a report that returns ItemInventory where LastReceived is NULL. I have tried in vain to accomplish this. What syntax do you use to select a blank/nu...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to select a record when the value is null</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I am trying to run a report that returns ItemInventory where LastReceived is NULL. I have tried in vain to accomplish this. What syntax do you use to select a blank/null date, or is there a special function for this? </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solution:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> You can select a blank/null date using "IS NULL" in your query. <br /><br />For example, the below query will return a row whose InventoryDate is blank or null:<br /><br />SELECT * FROM ItemInventory where InventoryDate IS NULL</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ISNULL/step1.png" alt="http://support.flexquarters.com/esupport/newimages/ISNULL/step1.png" width="673" height="373" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br />In the same way, you can use "IS NOT NULL" in your query. <br /><br />For example, the below query will return a row whose InventoryDate is not blank or null:<br /><br />SELECT * FROM ItemInventory where InventoryDate IS NOT NULL</span></span>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/ISNULL/step2.png" alt="http://support.flexquarters.com/esupport/newimages/ISNULL/step2.png" width="673" height="373" /><br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to use Date() And DateAdd() function in QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2638]]></link>
<guid isPermaLink="false"><![CDATA[06c284d3f757b15c02f47f3ff06dc275]]></guid>
<pubDate><![CDATA[Fri, 13 Mar 2015 10:05:07 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to use Date() And DateAdd() function in QODBC
Problem Description:
 I want to write some select statements on InvoiceLine and SalesReceiptLine that return all records dated WITHIN the past 30 days relative to whatever TODAY is. I'm...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to use Date() And DateAdd() function in QODBC</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I want to write some select statements on InvoiceLine and SalesReceiptLine that return all records dated WITHIN the past 30 days relative to whatever TODAY is. I'm very familiar with Microsoft SQL syntax and would normally say... WHERE TxnDate &gt;= getdate()-30<br /><br />How can I reference "30 days ago" using the QODBC driver?<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> In QODBC, the function CURATE() &ndash; Returns the current computer system date as a date value.<br /><br />For example, for Today, April 18, 2006, when the following query:-<br /><br />SELECT {fn CURDATE()} as Today, ({fn CURDATE()}-30) as "30 Days Ago", TxnDate, RefNumber, InvoiceLineDesc FROM invoiceline WHERE TxnDate &gt;= ({fn CURDATE()}-30) is run in <strong>QODBC Test Tool. The</strong>&nbsp;results were:</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2638/Q1.png" alt="" /></span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I need to select only the transactions that occurred in the last 90 days. I used the Access functions Date() and DateAdd() in the Criteria to filter for those transactions, but I am getting the error message "Invalid Procedure Call." Here are the Criteria that I am trying to use:<br /><br />Between Date() And DateAdd("dd",-91,Date())<br /><br />What am I doing wrong? Does QODBC have different functions for this?<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> To write Pass-thru queries for reading and to write QuickBooks&reg; data using QODBC and Microsoft&reg; Access, you must use the proper date format.<br /><br />You may use Date Macros, but you may also use specific from and to dates for more flexibility.<br /><br />This function formats dates with the QODBC format: {d 'YYYY-MM-DD'}. There is no need to remember the form, just the function's name: fncqbDate.<br /><br /> <br /><br /> <strong>Function:</strong> <br /><br />Function fncqbDate(myDate As Date) As String<br />myDate = Nz(myDate, Now)<br />fncqbDate = "{d '" &amp; Year(myDate) &amp; "-" &amp; Right("00" &amp; Month(myDate), 2) &amp; "-" &amp; Right("00" &amp; Day(myDate), 2) &amp; "'}"<br />End Function<br /> <br /><br /> <strong>Example:</strong> <br /><br />You might use fncqbDate to help create an SQL string with VBA from user input dates. <br /><br />mySQL = "sp_report customtxnDetail show TxnType,TxnID, RefNumber, Date, Name ,Memo , Amount,account parameters TxnFilterTypes = 'Check',SummarizeRowsBy = 'TotalOnly',dateFROM = " &amp; fncqbDate(BegDate) &amp; ", dateTO = " &amp; fncqbDate(EndDate) &amp; " where account like '%checking%'" <br /><br /> <br /><br /> <strong>Put Some Checks into a Table:</strong> <br /><br />Try this out and put some checks on a table:<br />1. Copy and paste fncqbDate (first function above) into a module.<br />2. Copy and paste fncGetChecks (function below) into a module.<br />3. If you need QuickBooks&reg; to open to using QODBC, open it and ensure you have authorized QuickBooks&reg; to communicate with QODBC. 4. Make sure the following references are checked in your Microsoft&reg; Access database:<br />Visual Basic For Applications<br />Microsoft Access 10.0 Object Library<br />Microsoft DAO 3.6 Object Library<br /> <br /><br />To use fncGetChecks, call it from a form or type fncGetChecks into the immediate window of the Visual Basic Editor. <br /><br />Change the default connection string if necessary by entering your connection string when prompted. <br /><br />The function will ask for: a name for the new query (make sure this doesn't already exist in your database)<br /><br />a beginning date<br /><br />an ending date<br /><br />Your connection string, which may or may not be the default offered<br /><br /> <br /><br />Function fncGetChecks()<br />On Error GoTo fncGetChecks_err<br />Dim q As String, Date1 As Date, Date2 As Date<br />q = InputBox("Give your temporary query a name:", "Temporary Pass-Thru Query", "")<br />Date1 = InputBox("Enter start date:", "Start Date", FormatDateTime(Now, vbShortDate))<br />Date2 = InputBox("Enter end date:", "End Date", FormatDateTime(Now, vbShortDate))<br />Dim db As DAO.Database, qd As DAO.QueryDef<br />Set db = CurrentDb<br />Set qd = db.CreateQueryDef(q)<br />qd.ReturnsRecords = True<br />qd.Connect = InputBox("Enter connection string:", "", "ODBC;DSN=QuickBooks Data;SERVER=QODBC")<br />qd.SQL = "sp_report customtxnDetail show TxnType,TxnID, RefNumber, Date, Name ,Memo , Amount,account " &amp; _<br />"parameters TxnFilterTypes = 'Check',SummarizeRowsBy = 'TotalOnly'," &amp; _<br />"dateFROM = " &amp; fncqbDate(Date1) &amp; ", dateTO = " &amp; fncqbDate(Date2) &amp; _<br />" where account like '%checking%'"<br />DoCmd.RunSQL "select * into tbl" &amp; q &amp; " from " &amp; q<br />Set qd = Nothing<br />Set db = Nothing<br />DoCmd.DeleteObject acQuery, q<br />DoCmd.OpenTable "tbl" &amp; q<br />Exit Function<br />fncGetChecks_err:<br /> <br />MsgBox Erl &amp; " " &amp; Err.Number &amp; ": " &amp; Err.Description<br />End Function <br /><br /><br />Also, refer to the following:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1225/57/how-to-use-prompted-date-ranges-in-ms-access-2007-using-vista"> How to Use Prompted Date Ranges in MS Access 2007 using Vista&nbsp;</a><br /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to verify if Optimizer file corrupted or not]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2636]]></link>
<guid isPermaLink="false"><![CDATA[c61fbef63df5ff317aecdc3670094472]]></guid>
<pubDate><![CDATA[Thu, 05 Mar 2015 06:33:31 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to verify if the Optimizer file is corrupted or not
Problem Description:
 Is there any way to figure out when the Optimizer cache is corrupted, or is there a way we can avoid it altogether in the future?  
Solutions:
 Please refe...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to verify if the Optimizer file is corrupted or not</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Is there any way to figure out when the Optimizer cache is corrupted, or is there a way we can avoid it altogether in the future? <br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Please refer to the steps below to identify if the Optimizer file has the issue:<br /> </span></p>
<h4><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Method 1</span></span></h4>
<p><span style="font-family: Arial, Helvetica, sans-serif;">1). Locate the Optimizer file. The default path is %AppData%\QODBC Driver for QuickBooks\Optimizer)<br /><br />You can open the optimizer folder via Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source &gt;&gt; Go To the "System DSN" Tab, select "QuickBooks Data" or "Your created QODBC" DSN &amp; click "Configure"&gt;&gt; Navigate to Optimizer tab-&gt;Click On "Open Optimizer Folder."</span>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/2636/Q1.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">2) Check the file modified date-time; if it's not recent, there is an issue.<br /><br />To verify, start QODBC Test Tool and query the table you use the most, e.g., Invoice or Bill.&nbsp;</span></span>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/2636/Q2.png" alt="" /><br /></span></span></p>
<p>&nbsp;</p>
<p><img src="//support.flexquarters.com/esupport/newimages/Optimizer/step3.png" alt="http://support.flexquarters.com/esupport/newimages/Optimizer/step3.png" width="780" height="187" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">3. Check the file modified </span><span style="font-family: Arial, Helvetica, sans-serif;">date-time; if</span><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span><span style="font-family: Arial, Helvetica, sans-serif;">it's</span><span style="font-family: Arial, Helvetica, sans-serif;"> not recent, there is an issue.&nbsp;</span>&nbsp;</p>
<h4><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Method 2</span></h4>
<p><span style="font-family: Arial, Helvetica, sans-serif;">1) Check QODBC logs. The default path is %AppData%\QODBC Driver for QuickBooks.&nbsp;<br /></span></p>
<p>&nbsp;</p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="https://support.flexquarters.com/esupport/newimages/2636/Q3.png" alt="" /></span></span></p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Search for any of the following errors. If one of the following errors is present in the log file, then the Optimizer file is corrupted.<br /><br /> <strong>The database disk image is malformed.</strong><br /><br /> <strong>SQLOptimize_SQLite_OpenOptimizeDBHandle prepare:<br />SELECT "type," "tbl_name" FROM "SQLite_MASTER."<br />Is the file encrypted, or is it not a database?</strong><br /><br /> <strong>SQLOptimize_SQLOpen attach:<br />C:\Users\USER-NAME\AppData\Roaming\QODBC Driver for QuickBooks\Optimizer\COMPANY-NAME.OPT<br />cannot start a transaction within a transaction</strong><br /><br /> <strong>SQLOptimize_SQLite_ExecuteNonQueryFromMemory step:<br />ATTACH_PASSPHRASE ................. "C:\Users\USER-NAME\AppData\Roaming\QODBC Driver for QuickBooks\Optimizer\COMPANY-NAME.OPT" AS "FQBase" The&nbsp;<br />database is locked</strong><br /><br /> <strong>SQLOptimize_SQLite_ExecuteNonQueryFromMemory step:<br />ATTACH_PASSPHRASE ................. "C:\Users\USER-NAME\AppData\Roaming\QODBC Driver for QuickBooks\Optimizer\COMPANY-NAME.OPT" AS "FQBase"</strong><br /><br /></span></span></span></p>
<h4><span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Fixing Optimizer file/Rebuilding Optimizer file</span></span></h4>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">To overcome this issue, we need to reset the optimizer file. Please refer to the steps below to reset your QODBC optimizer file: <br /><br />1) Close all other applications that use QODBC. <br /><br />2)&nbsp;Delete the Optimizer file: Please refer to:&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2519/0/how-to-remove-optimizer-file" target="_blank">How to Remove Optimizer file</a></span></span></span></p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><br />Find the file with the .opt extension at the path you had assigned to the QODBC optimizer and delete the optimizer file.<br />(The default path is %UserProfile%\QODBC Driver for QuickBooks\Optimizer or %AppData%\QODBC Driver for QuickBooks\Optimizer )<br />You can find the optimizer folder path from QODBC Setup Screen-&gt;" Optimizer" tab. Please copy this path &amp; navigate to this path &amp; delete the .opt file.<br /><br /><br />3) After turning on the optimizer, please run the following command in the QODBC Test Tool:<br /><br />sp_optimizefullsync All<br /><br />Refer:&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2459/0/how-to-execute-sp_optimizeupdatesync-or-sp_optimizefullsync-for-selected-tables" target="_blank">How to execute SP_OPTIMIZEUPDATESYNC or SP_OPTIMIZEFULLSYNC for Selected Tables</a><br />This command will bring some data to a local cache to increase query retrieval performance. I want to suggest that you please let the above command run entirely. The above command may take some time, depending on your records in QuickBooks. It may take 2-24 hours or more, depending on the number of documents in the QuickBooks company file. Please let this command run entirely; do not kill this command. It is not advisable to kill/close the application while it's building the Optimizer file. <br /><br />4) Please test again.<br /></span><br /></span></span></p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">5) If you still face the issue, please raise a support ticket.</span></span></span></p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Also, Refer</span></span></span></p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2459/0/how-to-execute-sp_optimizeupdatesync-or-sp_optimizefullsync-for-selected-tables">Troubleshooting: Slow Performance / Cannot Get Full Records From QuickBooks / How to find missing data</a></span></span></span></p>
<p style="text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Keywords:&nbsp;qodbc cache slowing down data access</span></span></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - &quot;Error Parsing complete XML return string&quot; error when trying to update table PriceLevelPerItem in MS Access]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2635]]></link>
<guid isPermaLink="false"><![CDATA[ed277964a8959e72a0d987e598dfbe72]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 12:48:10 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - "Error Parsing complete XML return string" error when trying to update the table PriceLevelPerItem in MS Access
Problem Description:
I constructed an Access database file (32bit Access 2003) with tables linked to QuickBooks. I can pull...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - "Error Parsing complete XML return string" error when trying to update the table PriceLevelPerItem in MS Access</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I constructed an Access database file (32bit Access 2003) with tables linked to QuickBooks. I can pull information from the related tables to other tables in Access using update queries with no problems. When I try to run an update query to change a value in the QuickBooks linked table, I receive the following error. I need help figuring out the error and how to fix it.<br /><br />My query is:<br /><br />UPDATE PriceLevelPerItem INNER JOIN ItemPricing ON PriceLevelPerItem.FQPrimaryKey &lt;&gt; ItemPricing.FQPrimaryKey SET PriceLevelPerItem.PriceLevelPerItemCustomPrice = [ItemPricing].[PriceLevelPerItemCustomPrice];</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/PriceLevelPerItem/step1.png" alt="http://support.flexquarters.com/esupport/newimages/PriceLevelPerItem/step1.png" width="377" height="110" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">You need to include PriceLevelPerItemItemRefListID in your update statement.<br /><br />You need to include the below-the-line in your update statement to resolve this issue.<br /><br />SET PriceLevelPerItem.PriceLevelPerItemItemRefListID = PriceLevelPerItem.PriceLevelPerItemItemRefListID For Example:<br /><br />UPDATE PriceLevelPerItem INNER JOIN ItemPricing ON PriceLevelPerItem.FQPrimaryKey &lt;&gt; ItemPricing.FQPrimaryKey SET PriceLevelPerItem.PriceLevelPerItemItemRefListID = PriceLevelPerItem.PriceLevelPerItemItemRefListID, PriceLevelPerItem.PriceLevelPerItemCustomPrice = [ItemPricing].[PriceLevelPerItemCustomPrice];<br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-POS] QODBC POS could not access to QuickBooks POS Company File]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2633]]></link>
<guid isPermaLink="false"><![CDATA[fc03d48253286a798f5116ec00e99b2b]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 12:38:10 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[QODBC POS could not access the QuickBooks POS Company File
Problem Description:
When Ting sets QODBC POS DSN to access the company file running in QuickBooks POS (Version 10), it will fail to connect to the company file. QuickBooks POS will search for t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">QODBC POS could not access the QuickBooks POS Company File</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">When Ting sets QODBC POS DSN to access the company file running in QuickBooks POS (Version 10), it will fail to connect to the company file. QuickBooks POS will search for the server with no response.<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">There is a limitation of QuickBooks POS SDK 10 that it will not be able to get the currently open company file name &amp; thus, QODBC POS is not able to connect to the now available company file.<br /><br />QuickBooks POS SDK Test Plus tool also requires a connection string; It will not connect to QuickBooks POS without a connection string.<br /><br />For Example:<br /><br />Connection String = " ComputerName=WIN-O8RQBVCMJFC;CompanyName=SampleCompany;Version=10 "<br /><br />You must provide the connection string to connect the company file as a workaround for this issue. Please follow the steps below: <br /><br />1) Please change QuickBooks POS to run in multi-user mode. Click the "Switch Company File to Multi-User Mode" option in the File Menu.&nbsp;</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOS/step1.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCPOS/step1.png" width="584" height="642" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">2) Build Connection String:<br /><br />Click the "..." button at QODBC POS Setup Screen-&gt;General Window to enter the company file selection window:&nbsp;<br /></span><br /></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOS/step2.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCPOS/step2.png" width="403" height="391" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">3) In the company file selection window, QODBC POS will give you a list of all available company files (may take a few seconds) : </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOS/step3.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCPOS/step3.png" width="557" height="201" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">QuickBooks POS will ask you to grant permission to QODBC POS: 4) Select the company files you want to access and click ok. Then you will see the connection string has been built in the "Current Company Setting" option. And then, please click the "Test Connection" button.&nbsp;&nbsp;</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCPOS/step4.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCPOS/step4.png" width="504" height="391" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">5) Click the "Yes Always" button. If QODBC POS tells you the connection is successful, you can use our test tool,s VB De, mo to view QuickBooks POS records via QODBC POS.</span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">6) Now, we will test the connection using the QODBC POS Test Tool. Please open the QODBC POS Test Tool from:<br />Start&gt;&gt;All Programs&gt;&gt; QODBC Driver for use with QuickBooks POS&gt;&gt;QODBC POS Test Tool.<br /></span></span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2633/Q1.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">7) Please select the "QuickBooks POS Data" DSN from the dropdown list &amp; click on "Connect."</span></p>
<div><img style="display: block; margin-left: auto; margin-right: auto; border: 0px none;" src="https://support.flexquarters.com/esupport/newimages/2633/Q2.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">8) We can connect to DSN from the QODBC POS Test Tool. Please write your SQL statement &amp; click on "Run."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2633/Q3.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">9) We can fetch data from the QODBC POS Test Tool.&nbsp; </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2633/Q4.png" alt="" /></div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Invoice RefNumber FAQ]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2632]]></link>
<guid isPermaLink="false"><![CDATA[75455e062929d32a333868084286bb68]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 12:20:49 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Invoice RefNumber FAQ
Problem Description:
 I have the invoice number (RefNumber) from my table outside QuickBooks. But if a QuickBooks user creates invoices directly in QuickBooks, then QuickBooks keeps new incrementing invoices autom...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Invoice RefNumber FAQ</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I have the invoice number (RefNumber) from my table outside QuickBooks. But if a QuickBooks user creates invoices directly in QuickBooks, then QuickBooks keeps new incrementing invoices automatically, and the next invoice I create using my outside table will be incorrect.<br /><br />I need to replicate what QuickBooks does in determining the following QuickBooks invoice number. What do you recommend?<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> While inserting a new invoice from QODBC, if you do not pass RefNumber, QuickBooks will automatically manage and assign a RefNumber to the newly inserted invoice.<br /><br />If you would like to specify the RefNumber, and the RefNumber is numeric, it should be easy to sync up. Just get the max RefNumber from the Invoice table( of the current year), add 1 to it, and specify it in the insert statement.<br /> <br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> How do I auto-increment the Ref Number for the Invoice?<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> While inserting a new invoice from QODBC, if you do not pass RefNumber, QuickBooks will automatically increment and assign a RefNumber to the newly inserted invoice.<br /><br />For example, if the RefNumber of the last Invoice is 1111, then QuickBooks will automatically assign 1112 as a RefNumber for the newly created invoice.<br /> <br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> How do I get the max and insert the RefNumber for the Invoice?<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> You can get the max RefNumber for Invoice by using the below query &amp; add 1 to the result, and can create a new invoice:<br /><br />SELECT Max(RefNumber) FROM InvoiceLine &nbsp;</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoiceFAQ/step1.PNG" alt="http://support.flexquarters.com/esupport/newimages/InvoiceFAQ/step1.PNG" width="641" height="402" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">We got 2581 as the max RefNumber. Now we are creating the new invoice with RefNumber 2582. <br /><br />INSERT INTO InvoiceLine (CustomerRefListID, RefNumber, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('620000-1071526513', '<strong>2582</strong>', '240000-933272656', 'POWER TRAK-2000', 200.00000, 200.00, '20000-999022286',0)</span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> What happens if I use the same RefNumber for Invoice creation?<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> QuickBooks is allowing duplicate RefNumber. So when you use the same RefNumber for Invoice creation. QuickBooks will create an invoice with a duplicate RefNumber/<br /><br />For example, if the RefNumber of the last Invoice is 1111, then QuickBooks will automatically assign 1112 as a RefNumber for the newly created invoice.<br /><br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> How do I Auto Increment Alphanumeric RefNumber for Invoice?<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> First, create an invoice from QuickBooks UI &amp; assign the alphanumeric RefNumber "R0001T". Now create a new Invoice from QODBC &amp; do not pass RefNumber. QuickBooks will automatically increment and assign a RefNumber (i.e., "R0002T") to the newly inserted invoice.<br /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to adjust value of a stock item without adjusting stock quantity]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2628]]></link>
<guid isPermaLink="false"><![CDATA[8e065119c74efe3a47aec8796964cf8b]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 12:07:24 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to adjust the value of a stock item without changing the stock quantity
Problem Description:
 Can I adjust the value of a stock item without changing the stock quantity?  
Solutions:
 Yes, you can adjust the value of a stock item...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to adjust the value of a stock item without changing the stock quantity</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Can I adjust the value of a stock item without changing the stock quantity? <br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Yes, you can adjust the value of a stock item without changing the stock quantity. Here is an example:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">This item has a COGS Average Cost of $69.73429:</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;<br /><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/StockQuantity/step1.png" alt="http://support.flexquarters.com/esupport/newimages/StockQuantity/step1.png" width="599" height="481" /><br /><br /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Using QODBC, I adjusted the opening balance equity cost of the stock item by $250.00 using the following SQL insert statement:<br /><br /> INSERT INTO "InventoryAdjustmentLine" ("AccountRefFullName," "TxnDate," "RefNumber," "Memo," "InventoryAdjustmentLineItemRefFullName," "InventoryAdjustmentLineValueAdjustmentNewValue," "FQSaveToCache") VALUES ('Opening Bal Equity,' {d'2007-05-23'}, '110', 'Value Adj 250', 'Wood Door: Exterior', 250.0, 0)&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/StockQuantity/step2.png" alt="http://support.flexquarters.com/esupport/newimages/StockQuantity/step2.png" width="633" height="398" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">This item now has a COGS Average Cost of $106.69857:</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/StockQuantity/step3.png" alt="http://support.flexquarters.com/esupport/newimages/StockQuantity/step3.png" width="600" height="482" /><br /></span></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">The value adjustment details can be seen in the Inventory Valuation Detail:&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></span></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/StockQuantity/step4.png" alt="http://support.flexquarters.com/esupport/newimages/StockQuantity/step4.png" width="714" height="612" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Cannot use alias in MS Query]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2626]]></link>
<guid isPermaLink="false"><![CDATA[e354fd90b2d5c777bfec87a352a18976]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 11:54:46 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Cannot use an alias in MS Query
Problem Description:
 I am getting the following error message when trying to SELECT data fields AS Alias, the statement runs fine otherwise.[sql syntax error] Expected lexical element not found:= Please...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Cannot use an alias in MS Query</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I am getting the following error message when trying to SELECT data fields AS Alias, the statement runs fine otherwise.<br /><br />[sql syntax error] Expected lexical element not found:= <br /><br />Please see the following SQL statement: <br /><br />SELECT Item. Name AS SKU, Item.CustomFieldColor AS Item, Item.Description, Item.SalesPrice, Item.PurchaseCost, Item.QuantityOnHand FROM Item Item WHERE (Item.Name&lt;&gt;'IFR' And Item.Name&lt;&gt;'OTW') AND (Item.Description&lt;&gt;'') AND (Item.Type='ItemInventory') ORDER BY Item.Name<br /><br />The above statement is working fine in QODBC Test Too and MS Access. But I am facing an issue in MS Excel. &nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSQueryAlias/step1.PNG" alt="http://support.flexquarters.com/esupport/newimages/MSQueryAlias/step1.PNG" width="1198" height="554" /></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> MS Excel has an issue when you alias in the query. When you try to use Microsoft Query to return data from some third-party databases into Microsoft Excel, apostrophes (') around alias names can cause the query to fail. <br /><br />Please refer to the link below to resolve this issue:<br /><br /> <a href="https://support.microsoft.com/en-us/kb/298955" target="_blank"> Using a field alias in Query does not work with some third-party databases </a><br /><br />You can either apply a hotfix or change registry values.</span></p>
<p>Note: In recent versions of Microsoft Excel (including Excel 365), the Microsoft Query (Legacy) feature is hidden by default from the Get Data tab.</p>
<p>Please refer to&nbsp;<a href="https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/3092" target="_blank">Troubleshooting - How to enable Microsoft Excel 365 - Legacy Microsoft Query</a>.</p>
<p>The result after changing registry values &amp; execute the query again:</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/MSQueryAlias/step2.PNG" alt="http://support.flexquarters.com/esupport/newimages/MSQueryAlias/step2.PNG" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Can QODBC / QRemote run as a Service]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2625]]></link>
<guid isPermaLink="false"><![CDATA[6412fef87392ae8c987b0ecc79da1902]]></guid>
<pubDate><![CDATA[Mon, 02 Mar 2015 11:49:08 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Can QODBC / QRemote run as a Service
Problem Description:
 How do I run QODBC as windows services in the background? I noticed it required QuickBooks and Windows Server 2008 to be logged on.  
Solutions:
QODBC and QuickBooks are desk...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Can QODBC / QRemote run as a Service</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> How do I run QODBC as windows services in the background? I noticed it required QuickBooks and Windows Server 2008 to be logged on. <br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">QODBC and QuickBooks are desktop-based applications that cannot run as Windows services. QODBC uses QuickBooks SDK, and QuickBooks SDK uses QuickBooks Application to get data from company files.<br /><br />QuickBooks SDK requires an active desktop session (someone to be logged in) to the machine because QuickBooks is a desktop-based application.<br /><br /><span class="pwa pwa1 pwa-color pwa-red" data-report="grammar" data-suggestions="Remote,Creamed,Grimaud,Jeremiad,Crammed" data-index="1" data-category="grammarspelling" data-sub-category="QRemote" data-urls="" data-help="SIMPLE_SPELLING" data-original-text="QRemote" data-tag-id="1d3bfdb0-b308-4e94-8235-da65f0cad1e7" data-x-title="Unknown word: QRemote">QRemote</span>&nbsp;Server is not a service-based application; a desktop-based Windows application that cannot be run as a service.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - MS Access Crashes Hard On Date Query]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2616]]></link>
<guid isPermaLink="false"><![CDATA[a3d06db1f8c85b2837b4603a51834425]]></guid>
<pubDate><![CDATA[Tue, 16 Dec 2014 10:19:08 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - MS Access Crashes Hard On Date Query
Problem Description:
I've linked all the QODBC tables into an Access 2010 DB. I have created table subset queries on the original tables and would like to do selects based on date ranges - other thi...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - MS Access Crashes Hard On Date Query</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I've linked all the QODBC tables into an Access 2010 DB. I have created table subset queries on the original tables and would like to do selects based on date ranges - other things, too, like JOINs - but I'm stuck with this problem. The minute I give Access a date constraint, like receive payment.TxnDate &gt;=#11/1/2014# as stated in your "How Dates Are Formatted.." documentation for Access Date formats, Access immediately crashes. No msgs in the brief QODBC log files about the crashes, as best I can tell:<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please try executing the following command using <strong>QODBC Test Tool</strong> to see if it can solve the issue: sp_optimizefullsync ALL.<br /><br />This command will bring some data to a local cache to increase query retrieval performance. I want to suggest that you please let me run the above command entirely. The above command may take some time, depending on your records in QuickBooks. It may take 2-24 hours or more, depending on the number of documents in the QuickBooks company file. Please let this command run entirely. Do not kill this command. It is not advisable to kill/close the application while building the Optimizer file. <br /><br />After successfully executing the above command, please create a new MS Access Database file &amp; link all tables &amp; execute the query again. It should work without any issues. <br /><br />Please refer to: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2468/57/using-quickbooks-data-with-access-2010linked-tables-32-bit">How to Use QODBC with Microsoft Access 2010</a></span></p>
<div id="ginger-floatingG-container">&nbsp;</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to use QODBC for development with Visual Studio]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2615]]></link>
<guid isPermaLink="false"><![CDATA[c4f796afbc6267501964b46427b3f6ba]]></guid>
<pubDate><![CDATA[Tue, 16 Dec 2014 10:13:22 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to use QODBC for development with Visual Studio
Problem Description:
I am trying to use a demo file for development, but QODBC is not allowing me to do this now that the evaluation period on my development machine has expired. Are ...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to use QODBC for development with Visual Studio</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I am trying to use a demo file for development, but QODBC is not allowing me to do this now that the evaluation period on my development machine has expired. Are there specific settings in the QODBC setup that I need to set?<br /></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCforDevelopment/step1.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCforDevelopment/step1.png" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QODBCforDevelopment/step2.png" alt="http://support.flexquarters.com/esupport/newimages/QODBCforDevelopment/step2.png" width="516" height="405" /></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please keep QuickBooks running. Log in as Admin to your Sample company files for working with the sample company file without licensing. You can work with sample files without licenses.<br /><br />QODBC Read-only edition for QuickBooks Enterprise does not include the QRemote License. So after 30 days, you may not be able to use QRemote. Instead of using DSN "QuickBooks Data QRemote," try using "QuickBooks Data" DSN.<br /><br />If you use Visual Studio, change the target to x86 instead of Any CPU.<br /><br />Instead of running the website via IIS, run it from Visual Studio. When you run via Visual Studio, the web application is processed by the desktop-based application instead of the service.<br /></span></p>
<p>&nbsp;</p>
<div id="ginger-floatingG-container">&nbsp;</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - How to get Alt.Email1,2 &amp; CC Email fields from the Customer table]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2614]]></link>
<guid isPermaLink="false"><![CDATA[5df07ecf4cea616e3eb384a9be3511bb]]></guid>
<pubDate><![CDATA[Tue, 16 Dec 2014 10:03:31 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - How to get Alt.Email1,2 &amp; CC Email fields from the Customer table
Problem Description:
How do I access the alternate email addresses 1 and 2 and the cc email fields? I don't see them at the customer table. 
Solutions:
 You can ge...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - How to get Alt.Email1,2 &amp; CC Email fields from the Customer table</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">How do I access the alternate email addresses 1 and 2 and the cc email fields? I don't see them at the customer table.<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> You can get CC Email details from the "Cc" field in the Customer &amp; Entity table.<br /><br />The Alt Email 1 and 2 fields are not available through the Intuit SDK, so they are not available through QODBC.<br /><br />QODBC is an ODBC driver for QuickBooks. It uses the QuickBooks SDK to communicate with QuickBooks, which means if Intuit doesn't expose one feature to the application in the SDK, QODBC cannot do it either.<br /></span></p>
<div id="ginger-floatingG-container">&nbsp;</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Freezing QuickBooks, slow query running]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2612]]></link>
<guid isPermaLink="false"><![CDATA[1175defd049d3301e047ce50d93e9c7a]]></guid>
<pubDate><![CDATA[Tue, 16 Dec 2014 09:46:01 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - Freezing QuickBooks, slow query running.
Problem Description:
When I run a report query, the query works very slowly &amp; takes about 1-5 mins per simple report like:"sp_report ARAgingSummary show Current parameters DateFrom={d'2014-1...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting - Freezing QuickBooks, slow query running.</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">When I run a report query, the query works very slowly &amp; takes about 1-5 mins per simple report like:<br /><br />"sp_report ARAgingSummary show Current parameters DateFrom={d'2014-11-12'}, DateTo={d'2014-11-12'} where Blank = 'Total'"<br /><br />Sometimes it freezes QuickBooks, so the user should restart it.<br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please enable the QODBC status panel via Start &gt;&gt; All Programs &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source.</span></p>
<p><img src="//support.flexquarters.com/esupport/newimages/DSNConf/step1.png" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Go to the "System DSN" Tab, select "QuickBooks Data" DSN &amp; click "Configure."</span></p>
<p><img src="//support.flexquarters.com/esupport/newimages/AT_Txn_Tt/step22.png" alt="" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Navigate to the "Message" tab -&gt;Select "Display Driver Status" and "Display Optimizer Status" options.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/FreezingQuickBooks/step1.png" alt="http://support.flexquarters.com/esupport/newimages/FreezingQuickBooks/step1.png" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Then the next time you run a query, if you see "Waiting for QuickBooks," it means QuickBooks is taking time to process the request. There will be a status panel at the lower right corner of your screen, showing a window with information on what QODBC is working on. Please note the step on which QODBC spends the most time or gets stuck and share it with us.<br /><br />If you are getting "Waiting for QuickBooks," it means QuickBooks is taking time to process requests. So we may not provide much help on this issue. <br /><br />QuickBooks SDK provides data in XML format &amp; QODBC displays it in tabular form. QODBC acts as a 'wrapper' around the Intuit SDK so customers can finally get at their QuickBooks data using standard database tools, speeding development time. QODBC accepts SQL commands from applications through the ODBC interface, then converts those calls to navigational XML commands to the QuickBooks Accounting DBMS and returns record sets that qualify for the query results.<br /><br />QODBC requests the Report information from the QuickBooks SDK, and QuickBooks is the one processing it and sending the output. QODBC formats that output to a data table format. &nbsp;&nbsp;</span></p>
<div id="ginger-floatingG-container">&nbsp;</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting : MS Access as middleware is not working with MS SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2609]]></link>
<guid isPermaLink="false"><![CDATA[339a18def9898dd60a634b2ad8fbbd58]]></guid>
<pubDate><![CDATA[Mon, 10 Nov 2014 14:51:06 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting: MS Access as middleware is not working with MS SQL Server
Problem Description:
 I am trying to use MS Access as a middleware with MS SQL Server. I have created an MS Access database &amp; linked all QODBC tables through QRemote DSN. Aft...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting: MS Access as middleware is not working with MS SQL Server</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I am trying to use MS Access as a middleware with MS SQL Server. I have created an MS Access database &amp; linked all QODBC tables through QRemote DSN. After that, I created MS Access DSN, which points to the newly created database. After that, I created the linked server pointing to MS Access DSN. The linked server is created, but when I run the query on the linked server, I get the below error:&nbsp;<br /></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/middlewarenotworking/step1.png" alt="http://support.flexquarters.com/esupport/newimages/middlewarenotworking/step1.png" width="1078" height="658" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please help me to resolve this error.<br /><br /> </span></p>
<p>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">This error is not related to QODBC. You are facing this issue because MS SQL Server is logged on as a&nbsp;<strong>"Network Service."</strong><br /><br />You need to change this setting to <strong>"Local System."</strong><br /><br />You can change it by below steps:<br /><br />Start &gt;&gt; Run &gt;&gt; type "services. msc" and click on "OK." <br /><br />Find SQL Server (MSSQLSERVER), Open SQL Server (MSSQLSERVER) by double clicking on it &amp; navigate log On tab &amp; choose log-on as <strong>"Local System Account,"</strong> and apply the changes by clicking on the ok button &amp; test again.<br /></span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/middlewarenotworking/step2.png" alt="http://support.flexquarters.com/esupport/newimages/middlewarenotworking/step2.png" width="416" height="480" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - ERROR [42S00] [QODBC] Insert value must be a simple value]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2606]]></link>
<guid isPermaLink="false"><![CDATA[a431d70133ef6cf688bc4f6093922b48]]></guid>
<pubDate><![CDATA[Mon, 10 Nov 2014 14:41:41 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting - ERROR [42S00] [QODBC] Insert value must be a simple value
Problem Description 1:
We have a customer trying to import a credit memo from our database into QuickBooks using a vb.net program. They are getting the following error: ERROR [4...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;"><span id="67e313e4-33b2-413f-9cee-ea6eef1aa183" class="GINGER_SOFTWARE_mark">Troubleshooting</span> - ERROR [42S00] [QODBC] Insert value must be a simple value</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><span id="2f305488-ea52-4901-993a-de7840dd603d" class="GINGER_SOFTWARE_mark"><span id="cdf6e950-3226-4cd0-ba6a-fbfc3a25b6b2" class="GINGER_SOFTWARE_mark">We</span></span> have a customer trying to import a credit memo from our database into QuickBooks using a vb.net program. They are getting the following error: ERROR [42S00] [QODBC] Insert value must be a simple value. We have other customers that can import credit memos, and I have compared the imported data and cannot find any difference in the data format. Can you give me an idea of what to look for? <br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">You are getting the error " [QODBC] Insert value must be a simple value" because you are not passing the value in the correct format. The VB code generates this error. It is not a QODBC error.<br /><br />Please verify your insert statement &amp; try again. Please refer below-mentioned link <span id="f0ef706d-a76d-4e59-b902-1720b7c3129c" class="GINGER_SOFTWARE_mark"><span id="8b6615aa-d742-40fa-8cfa-cae1f75a03e3" class="GINGER_SOFTWARE_mark">to</span></span>&nbsp;a sample VB code:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/506/57/examples-of-how-to-use-qodbc-via-visual-basic">Examples of How to Use QODBC via Visual Basic</a><br /><br />Please refer to the below-mentioned article for creating a credit memo:<br /><br /> <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2068/50/how-to-create-credit-memos">How to create Credit Memos</a><br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 2:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">When I go to insert a Customer, I receive an error saying [QODBC] Insert value must be a simple value. I need to know what I am doing wrong to insert a new customer. <br /><br />Please refer below code which I am using:<br /><br />Public Sub InsertNewCustomers<span id="d5eafa60-3a56-4323-842e-c2e37e9ea18b" class="GINGER_SOFTWARE_mark"><span id="4014c3bc-59da-4959-a2b0-faa3bf1d1208" class="GINGER_SOFTWARE_mark">(</span></span>)<br /><br />Dim name As String<br /><br />Dim <span id="e2b82a5d-fefb-475c-94e1-4f4ace002bb4" class="GINGER_SOFTWARE_mark"><span id="ab973260-7da4-449b-8670-1cbc859396e7" class="GINGER_SOFTWARE_mark">firstName</span></span> As String<br /><br />Dim <span id="5dfb6cbb-a49c-4b90-9604-5136406a3556" class="GINGER_SOFTWARE_mark"><span id="fc56e36d-dcd7-48d3-ae42-795ff0b20c86" class="GINGER_SOFTWARE_mark">lastName</span></span> As String<br /><br />Dim <span id="5470e68c-93c0-44f1-8b8b-d0fea7b79678" class="GINGER_SOFTWARE_mark"><span id="f3f9923e-86f1-42e3-8f4c-cd4174dcb42a" class="GINGER_SOFTWARE_mark">companyName</span></span> As String<br /><br />Dim contact As String<br /><br />Dim billAddressAddr1 As String<br /><br />Dim billAddressAddr2 As String<br /><br />Dim billAddressAddr3 As String<br /><br />Dim <span id="a00da066-14bf-4fdc-82dd-6cab8446716a" class="GINGER_SOFTWARE_mark">billAddressCity</span> As String<br /><br />Dim <span id="03e500db-fbee-47f5-b12e-ea94bf26d0d7" class="GINGER_SOFTWARE_mark">billAddressState</span> As String<br /><br />Dim address postal code&nbsp;As String<br /><br />Dim phone As String<br /><br />Dim fax As String<br /><br />Dim email As String<br /><br />'Testing to Insert, remove before going LIVE!!<span id="017a9ef0-ffce-41e6-9440-b553c0377e64" class="GINGER_SOFTWARE_mark">!</span>*************************************************************************************************<br /><br /> <span id="9a4613f3-3ebf-4e34-8d07-7524e60711c6" class="GINGER_SOFTWARE_mark">name</span> = "ABC XYZ"<br /><br /> <span id="9696c9c9-d8d2-4924-99ad-56bd7fbefeae" class="GINGER_SOFTWARE_mark">firstName</span> = "ABC"<br /><br /> <span id="a11e334b-480a-437b-86d2-28edbb24b379" class="GINGER_SOFTWARE_mark">lastName</span> = "XYZ"<br /><br /> <span id="89905a99-1232-4ee9-9352-ba5bb28bfc91" class="GINGER_SOFTWARE_mark">companyName</span> = "Test Company"<br /><br /> <span id="80b92127-af1b-4fcd-a071-db724548d1bc" class="GINGER_SOFTWARE_mark">contact</span> = "Jerry"<br /><br />billAddressAddr1 = "503 Test Club"<br /><br />billAddressAddr2 = ""<br /><br />billAddressAddr3 = ""<br /><br /> <span id="add237f6-6298-4b1f-a98b-3d424c9b2131" class="GINGER_SOFTWARE_mark">billAddressCity</span> = "Test City"<br /><br /> <span id="9638a3dd-13e0-4ce6-87d2-e0ef787d918d" class="GINGER_SOFTWARE_mark">billAddressState</span> = "OK"<br /><br /> <span id="0f8ec6ab-e91e-4afe-8582-489c1435e429" class="GINGER_SOFTWARE_mark">addressPostalCode</span> = "11644"<br /><br /> <span id="6d86bd9a-dcee-4d3d-8163-59288a4734be" class="GINGER_SOFTWARE_mark">phone</span> = "111-111-1111"<br /><br /> <span id="83b40e7b-34a6-424f-9cf0-18f49b5bba61" class="GINGER_SOFTWARE_mark">fax</span> = ""<br /><br /> <span id="146bbc6f-1a6a-4786-90ef-75f04dcb406a" class="GINGER_SOFTWARE_mark">email</span> = ""<br /><br />'*********************************************************************************************************************<br /><br />Dim conn As ADODB<span id="fb28eb49-90e2-4daf-8178-6df337942015" class="GINGER_SOFTWARE_mark">.</span>Connection<br /><br />Dim <span id="50ad1d73-3d6f-428c-9428-109b73882579" class="GINGER_SOFTWARE_mark">rs</span> As ADODB<span id="604d36d7-1c3b-42b9-b47e-81efce50fa2d" class="GINGER_SOFTWARE_mark">.</span>Recordset<br /><br /> <span id="42f7f488-50d5-4d10-9d8e-cd386360b157" class="GINGER_SOFTWARE_mark">conn</span> = New ADODB<span id="dc6b040e-a095-472a-b14c-252309ca23c5" class="GINGER_SOFTWARE_mark">.</span>Connection<br /><br /> <span id="b5179fc0-33fd-4117-9677-c8ca454f2b64" class="GINGER_SOFTWARE_mark">conn</span><span id="c81d4916-35bd-40c9-9413-781344c3d31e" class="GINGER_SOFTWARE_mark">.</span>ConnectionString = "DSN=Quickbooks Data<span id="f260fe7f-7f2c-49df-954b-c2bb5ef6e214" class="GINGER_SOFTWARE_mark">;</span>OLE DB Services=-2;"<br /><br /> <span id="9d00a778-33c0-4052-89bb-5fb882bf442c" class="GINGER_SOFTWARE_mark">conn</span><span id="d3f20649-38b6-4304-8604-8fb9e6e129e8" class="GINGER_SOFTWARE_mark">.</span>Open<span id="7bdd4ada-90cb-4420-ae48-818657ba1cce" class="GINGER_SOFTWARE_mark">(</span>)<br /><br />Try<br /><br />' Create the new record.<br /><br /> <span id="8ce52b64-1bb2-410d-a63c-6289859932d1" class="GINGER_SOFTWARE_mark">rs</span> = conn<span id="56c9d4e9-a7aa-4ce6-a3f8-ad6a49331077" class="GINGER_SOFTWARE_mark">.</span>Execute<span id="495b31d6-a0f5-406c-9821-37f26faa7e93" class="GINGER_SOFTWARE_mark">( </span>_<br /><br />"INSERT INTO customer(name, firstname, lastname, companyName, contact, BillAddressAddr1, BillAddressAddr2, BillAddressAddr3, BillAddressCity, BillAddressState, BillAddressPostalCode, Phone, Fax, Email)VALUES(name, firstname, lastname, companyName, contact, billAddressAddr1, billAddressAddr2, billAddressAddr3, billAddressCity, billAddressState, billAddressPostalCode, phone, fax, email)")<br /><br /> <span id="eb1f360f-52e1-413b-a90b-3d106d62b25d" class="GINGER_SOFTWARE_mark">LogEntry</span><span id="316bb45a-d892-49d7-af67-9a62d201204f" class="GINGER_SOFTWARE_mark">(</span>"New Customer Added to QuickBooks")<br /><br />Catch e As an Exception<br /><br />MsgBox(e.ToString)<br /><br />End Try<br /><br />' Close the database.<br /><br />rs.Close()<br /><br />rs = Nothing<br /><br />conn.Close()<br /><br />conn = Nothing<br /><br />'*********************************************************************************************************************<br /><br />End Sub<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions 2:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">You are getting the error " [QODBC] Insert value must be a simple value" because you are not passing the value in the correct format. The VBA code generates this error. It is not a QODBC error.<br /><br />There is a problem with your Insert statement. You cannot pass the value directly. Your insert statement should be like as below.<br /><br />INSERT INTO customer(Name,FirstName,LastName,CompanyName,Contact,BillAddressAddr1,BillAddressAddr2,BillAddressAddr3,BillAddressCity,BillAddressState,BillAddressPostalCode,Phone,Fax,Email) " &amp; _<br /><br />" VALUES( '" + name + "','" + firstName + "','" + lastName + "','" + companyName + "','" + contact + "','" + billAddressAddr1 + "','" + billAddressAddr2 + "','" + billAddressAddr3 + "','" + billAddressCity + "','" + billAddressState + "','" + billAddressPostalCode + "','" + phone + "','" + fax + "','" + email + "')<br /><br />Please refer to the updated code &amp; try to insert the record with this code.<br /><br />Public Sub InsertNewCustomers<span id="009d05bd-12e8-48fc-a914-5f7c1c22cf17" class="GINGER_SOFTWARE_mark"><span id="b93eea20-dc98-4e71-a07c-83fae6c7d0b3" class="GINGER_SOFTWARE_mark">(</span></span>)<br /><br />Dim name As String<br /><br />Dim <span id="8b01a149-8eca-445a-ba5c-984f65b67a84" class="GINGER_SOFTWARE_mark"><span id="134008c1-7f62-480a-b804-f52a305446a7" class="GINGER_SOFTWARE_mark">firstName</span></span> As String<br /><br />Dim <span id="3cf69305-7871-4fe5-a54c-3bb76b379d24" class="GINGER_SOFTWARE_mark"><span id="ec31a3c1-d58f-4d95-9bc8-7dd61fc68aad" class="GINGER_SOFTWARE_mark">lastName</span></span> As String<br /><br />Dim <span id="e90e0735-041b-4413-8876-5577c519dbf1" class="GINGER_SOFTWARE_mark"><span id="c48e5663-f6ae-4f23-af77-9e544df91e6e" class="GINGER_SOFTWARE_mark">companyName</span></span> As String<br /><br />Dim contact As String<br /><br />Dim billAddressAddr1 As String<br /><br />Dim billAddressAddr2 As String<br /><br />Dim billAddressAddr3 As String<br /><br />Dim <span id="5da4b2c7-b28a-40c2-809d-ce688756458f" class="GINGER_SOFTWARE_mark">billAddressCity</span> As String<br /><br />Dim <span id="751a376e-7f51-4d4c-8ed1-a5e2188ed7ed" class="GINGER_SOFTWARE_mark">billAddressState</span> As String<br /><br />Dim <span id="cdec2226-c32a-4da3-b057-5b5c412c9d37" class="GINGER_SOFTWARE_mark">addressPostalCode</span> As String<br /><br />Dim phone As String<br /><br />Dim fax As String<br /><br />Dim email As String<br /><br />'Testing to Insert, remove before going LIVE!!<span id="f928c858-29ca-41b5-9f11-97acd031a396" class="GINGER_SOFTWARE_mark">!</span>*************************************************************************************************<br /><br /> <span id="0ae542b6-ec7e-4953-8648-6a1a23ae54c3" class="GINGER_SOFTWARE_mark">name</span> = "ABC XYZ"<br /><br /> <span id="c4ce2b6d-bc8a-4f2a-a517-7cc23fa1482c" class="GINGER_SOFTWARE_mark">firstName</span> = "ABC"<br /><br /> <span id="63e17a60-884c-4d74-a4b1-3795cd127e40" class="GINGER_SOFTWARE_mark">lastName</span> = "XYZ"<br /><br /> <span id="fad0e4ea-3189-4fa2-8d96-e53fd14600da" class="GINGER_SOFTWARE_mark">companyName</span> = "Test Company"<br /><br /> <span id="16e5569b-5059-4309-9b3d-29e276084db1" class="GINGER_SOFTWARE_mark">contact</span> = "Jerry"<br /><br />billAddressAddr1 = "503 Test Club"<br /><br />billAddressAddr2 = ""<br /><br />billAddressAddr3 = ""<br /><br /> <span id="83169149-f42b-4a5f-b14b-87503b8586aa" class="GINGER_SOFTWARE_mark">billAddressCity</span> = "Test City"<br /><br /> <span id="70a9367a-ed51-4818-aa73-6242674a9ef5" class="GINGER_SOFTWARE_mark">billAddressState</span> = "OK"<br /><br /> <span id="f8c612b5-004d-4baa-9bd0-7d9298ab6e6e" class="GINGER_SOFTWARE_mark">addressPostalCode</span> = "11644"<br /><br /> <span id="9c83284a-b609-4a75-a476-b1cf4be92aec" class="GINGER_SOFTWARE_mark">phone</span> = "111-111-1111"<br /><br /> <span id="658a6373-a073-4cb4-9faf-79c0fc2abf3e" class="GINGER_SOFTWARE_mark">fax</span> = ""<br /><br /> <span id="79d0c5a2-b040-4a07-b557-995a45d73d5b" class="GINGER_SOFTWARE_mark">email</span> = ""<br /><br />'*********************************************************************************************************************<br /><br />Dim conn As ADODB<span id="84d5fcc2-fdf0-4f48-a67f-a01b602b1718" class="GINGER_SOFTWARE_mark">.</span>Connection<br /><br />Dim <span id="53d27950-c8d1-4238-ae90-a8541709a3ad" class="GINGER_SOFTWARE_mark">rs</span> As ADODB<span id="4b615568-2985-4b51-a959-de3e383064f6" class="GINGER_SOFTWARE_mark">.</span>Recordset<br /><br /> <span id="a5efd808-925e-4b14-9345-2e83f2095e21" class="GINGER_SOFTWARE_mark">conn</span> = New ADODB<span id="0b1c5c9f-118d-4d1d-9f05-32ee845d4932" class="GINGER_SOFTWARE_mark">.</span>Connection<br /><br /> <span id="61d3e034-da6e-45d6-9b3d-49c42750ea60" class="GINGER_SOFTWARE_mark">conn</span><span id="dec77374-5f21-4699-ad97-dda4ae93110b" class="GINGER_SOFTWARE_mark">.</span>ConnectionString = "DSN=Quickbooks Data<span id="eac56e34-02d4-41dd-985f-479f8c9c330d" class="GINGER_SOFTWARE_mark">;</span>OLE DB Services=-2;"<br /><br /> <span id="14bd0469-aff8-47ec-be8e-e076307ca13b" class="GINGER_SOFTWARE_mark">conn</span><span id="ff326b4e-e579-4b8f-bd05-6457b27a6a81" class="GINGER_SOFTWARE_mark">.</span>Open<span id="5790cee1-7085-4a27-a8c7-5ce68192e868" class="GINGER_SOFTWARE_mark">(</span>)<br /><br />Try<br /><br />' Create the new record.<br /><br /> <span id="c18b793a-57f1-46dd-8110-2454826939eb" class="GINGER_SOFTWARE_mark">rs</span> = conn<span id="84a10540-c02e-4c2d-a76c-6f20e70a3355" class="GINGER_SOFTWARE_mark">.</span>Execute<span id="c9aabe28-866d-46be-9502-f610eef8a767" class="GINGER_SOFTWARE_mark">( </span>_<br /><br />sSQL = "INSERT INTO customer(Name,FirstName,LastName,CompanyName,Contact,BillAddressAddr1,BillAddressAddr2,BillAddressAddr3,BillAddressCity,BillAddressState,BillAddressPostalCode,Phone,Fax,Email) " &amp; _<br /><br />" VALUES( '" + name + "','" + firstName + "','" + lastName + "','" + companyName + "','" + contact + "','" + billAddressAddr1 + "','" + billAddressAddr2 + "','" + billAddressAddr3 + "','" + billAddressCity + "','" + billAddressState + "','" + billAddressPostalCode + "','" + phone + "','" + fax + "','" + email + "')"<br /><br />Set conn = CreateObject("ADODB.Connection")<br /><br />Set rs = CreateObject("ADODB.Recordset")<br /><br />conn.Open sConnectString<br /><br />' Create a new record.<br /><br />rs = conn.Execute(sSQL)<br /><br />sMsg = sMsg &amp; "Record Added!!!"<br /><br />MsgBox msg<br /><br />' Close the database.<br /><br />Set rs = Nothing<br /><br />Set conn = Nothing<br /><br />'*********************************************************************************************************************<br /><br />End Sub<br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Troubleshooting - Cannot create a new table using QODBC / Cannot add a new field to the QODBC table]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2602]]></link>
<guid isPermaLink="false"><![CDATA[6403675579f6114559c90de0014cd3d6]]></guid>
<pubDate><![CDATA[Mon, 10 Nov 2014 14:21:37 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting -&nbsp;Cannot create a new table using QODBC / Cannot add a new field to the QODBC table
Problem Description:
 I'm trying to create a new table with VB Demo or QODBC Test Tool.
Can you send me a sample query to do this? 
Solutions:
QO...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;"><span id="f964c0bd-d634-4d7e-98a8-9d34508d2f5e" class="GINGER_SOFTWARE_mark">Troubleshooting</span> -&nbsp;Cannot create a new table using QODBC / Cannot add a new field to the QODBC table</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I'm trying to create a new table with <strong>VB Demo</strong> or <strong>QODBC Test Tool</strong>.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Can you send me a sample query to do this? </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">QODBC is an ODBC driver. Please remember that QODBC is not a database but rather a translation tool. QODBC acts as a 'wrapper' around the Intuit SDK so customers can finally get at their QuickBooks data using standard database tools; </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">You cannot create a new table from <strong>VB Demo</strong> or <strong>QODBC Test Tool</strong> because QODBC is just reading and writing to the QuickBooks Company file via the QuickBooks SDK. QuickBooks SDK provides data in XML format, and QODBC converts it to a table format.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">What you are trying to do is a new table in the QuickBooks Company file, which is not supported. Thus, you cannot create/drop/alter table(s) from the&nbsp;<strong>VB Demo</strong> or <strong>QODBC Test Tool</strong>.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Keywords:&nbsp;adding in a column, adding in a table, how to add a new table, how to add a new column<br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] Update query scanning all records in Linked Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2598]]></link>
<guid isPermaLink="false"><![CDATA[4ebccfb3e317c7789f04f7a558df4537]]></guid>
<pubDate><![CDATA[Tue, 19 Aug 2014 11:55:13 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting: Update query scanning all records in Linked Server
Problem Description 1:
I am using an MS SQL-linked server with QRemote.I am updating a single EstimateItemLine, passing Ref Number and ItemFullName (I also tried itemtxnlineid). Every t...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting:<span id="19cf5f48-4958-43e0-8537-5978ff2a30b6" class="GINGER_SOFTWARE_mark"><span id="0283e23b-a2a6-4b5b-a7b4-ff26f9678070" class="GINGER_SOFTWARE_mark"></span></span> Update query scanning all records in Linked Server</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">I am using an MS SQL-linked server with <span id="5d3abe1c-0ab5-456a-bfd9-c5a5c9f3fe19" class="GINGER_SOFTWARE_mark"><span id="9636f492-ba7c-4385-b5f4-4774d6e9f112" class="GINGER_SOFTWARE_mark">QRemote</span></span>.<br /><br />I am updating a single EstimateItemLine, passing Ref Number and ItemFullName (I also tried <span id="6c6780e0-d3df-4387-a84a-0a97f1aa39bc" class="GINGER_SOFTWARE_mark"><span id="3cd1d123-c195-4b28-af57-9ab101192f46" class="GINGER_SOFTWARE_mark">itemtxnlineid</span></span>). Every time the update statement, with OpenQuery or without <span id="46e6dbe8-2801-4903-912e-79958e7b3d26" class="GINGER_SOFTWARE_mark"><span id="65456abf-4689-4d17-9fc6-ad4f664ff76e" class="GINGER_SOFTWARE_mark">openquery</span></span> on the linked server, it searches all the records of EstimteLine and then updates the record. This process takes 3.5 to 4 minutes.<br /><br />Ideally, it should not scan all the records as the Ref Number is provided.<br /><br />I am using the below query:<br /><br />Update <span id="720cdca8-6f1b-4a85-8cb3-2907a43f6663" class="GINGER_SOFTWARE_mark"><span id="57d6b7f4-12c6-41f0-aae2-d686937c975d" class="GINGER_SOFTWARE_mark">openquery</span></span><span id="29453d9f-ef8b-45ab-b517-3fdf3a924ca1" class="GINGER_SOFTWARE_mark"><span id="a2207219-5b20-49b7-9cef-e01a9c3d5b36" class="GINGER_SOFTWARE_mark">(</span></span><span id="d3748ef6-6d73-4968-b4ec-48b441736de0" class="GINGER_SOFTWARE_mark"><span id="8fd635a7-13fd-4ec6-9f54-656c30d6e500" class="GINGER_SOFTWARE_mark">qremote</span></span>, 'select ClassRefListId from <span id="5e74bd5b-4e6e-45be-bb43-ad254fcb5593" class="GINGER_SOFTWARE_mark"><span id="a6193089-fdc8-4caa-866a-5eb0624a7b98" class="GINGER_SOFTWARE_mark">EstimateLine</span></span> where RefNumber=''501'' and EstimateLineTxnLineID=''8DB9-1071524326''') SET ClassRefListId = '40000-933272658'<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions 1:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">The performance of an update query with OpenQuery can be improved by including the "where" criteria outside the open query.<br /><br />For Example:<br /><br />The Query<br /><br />Update <span id="73eaf5e4-2011-4f61-bc02-53721be97404" class="GINGER_SOFTWARE_mark"><span id="ea227d0a-3def-4fe8-b579-fa01191f609c" class="GINGER_SOFTWARE_mark">openquery</span></span><span id="96d4d67d-15cd-4509-aad4-2992c17b6f51" class="GINGER_SOFTWARE_mark"><span id="47596e04-47ec-4d28-928d-10b7b119dfec" class="GINGER_SOFTWARE_mark">(</span></span><span id="4ffe703a-f3c6-4608-8790-9c3cb7fb7ad7" class="GINGER_SOFTWARE_mark"><span id="534683ee-6d22-4e78-a43d-e2ee0818fcaa" class="GINGER_SOFTWARE_mark">qremote</span></span>, 'select ClassRefListId from <span id="054aeec7-12e2-4ddf-8486-c126703ee544" class="GINGER_SOFTWARE_mark"><span id="81cd7409-ee7d-438b-86fc-50eadf483714" class="GINGER_SOFTWARE_mark">EstimateLine</span></span> where RefNumber=''501'' and EstimateLineTxnLineID=''8DB9-1071524326''') SET ClassRefListId = '40000-933272658'<br /><br /> <span id="5d26f04c-3184-474a-8835-cd66ccbf9d65" class="GINGER_SOFTWARE_mark"><span id="62e7703f-2484-495b-8828-1d55b9975c5f" class="GINGER_SOFTWARE_mark">will</span></span> perform faster when executing it as<br /><br />Update <span id="951f2178-4a2b-42b3-b077-903684ca233b" class="GINGER_SOFTWARE_mark"><span id="95cd09ca-a8f2-4522-b34a-01a4bac44a7a" class="GINGER_SOFTWARE_mark">openquery</span></span><span id="28f36841-644e-4a91-875c-810b19a5a42a" class="GINGER_SOFTWARE_mark"><span id="972bec25-071b-45d0-b36f-d4081e62c469" class="GINGER_SOFTWARE_mark">(</span></span><span id="43b1454a-9fbe-453a-8bf4-87594b212333" class="GINGER_SOFTWARE_mark"><span id="6c3ad2e2-70dd-42e4-8be0-fe29c6ca8526" class="GINGER_SOFTWARE_mark">qremote</span></span>, 'select ClassRefListId<span id="0108984f-fa66-434d-8273-3e2456424ee9" class="GINGER_SOFTWARE_mark"><span id="2d06fb07-a550-4d3e-beb7-4c62d31c071a" class="GINGER_SOFTWARE_mark">,</span></span>EstimateLineTxnLineID<span id="e81dc132-39e7-43fd-9f2d-31a8c508b3eb" class="GINGER_SOFTWARE_mark"><span id="8d1ca4ef-825d-4591-ae13-a547e4192d53" class="GINGER_SOFTWARE_mark">,</span></span><span id="db917625-a19b-47e2-b2b5-f790161096de" class="GINGER_SOFTWARE_mark"><span id="5e4a61d3-84a6-46db-b303-422702a0b711" class="GINGER_SOFTWARE_mark">RefNumber</span></span> from <span id="758ad50f-2968-4a10-91e4-cceec42677e3" class="GINGER_SOFTWARE_mark"><span id="f92d711d-1a0a-4e62-951a-741f28958a60" class="GINGER_SOFTWARE_mark">EstimateLine</span></span> where RefNumber=''501'' and EstimateLineTxnLineID=''8DB9-1071524326''') SET ClassRefListId = '40000-933272658' where RefNumber='501' and EstimateLineTxnLineID='8DB9-1071524326'<br /><br />So yes, you need to include <span id="7bcd05b4-9e80-4a19-bceb-b1cef0ff7d26" class="GINGER_SOFTWARE_mark"><span id="f8d00b22-cc63-42ae-b1a3-8fe006c10738" class="GINGER_SOFTWARE_mark"><span id="184ebba9-3b0a-42cc-b1e7-2383f22ec74f" class="GINGER_SOFTWARE_mark">[ </span></span></span>RefNumber='501' and EstimateLineTxnLineID='8DB9-1071524326'<span id="6decd25b-74de-4f9b-b934-5c5ebbf4a5ce" class="GINGER_SOFTWARE_mark"><span id="eada31cb-f72f-4f56-9f8e-ab1767e9b69f" class="GINGER_SOFTWARE_mark"><span id="8066ce58-8dd4-4b6a-84ad-b4bec2d19753" class="GINGER_SOFTWARE_mark"> ]</span></span></span> twice, inside the OpenQuery and outside too. &nbsp; &nbsp; &nbsp;&nbsp;</span></p>
<h3><span style="font-family: arial, helvetica, sans-serif; color: #3366ff;">Problem Description 2:</span></h3>
<p>I am using an MS SQL-linked server with&nbsp;<span id="5d3abe1c-0ab5-456a-bfd9-c5a5c9f3fe19" class="GINGER_SOFTWARE_mark"><span id="e0121b03-094d-41d2-bf38-bf26b3c90811" class="GINGER_SOFTWARE_mark">QRemote</span></span>.</p>
<p>In SQL Server, when we use update <span id="4241e852-41ca-4139-b11d-0d51e85af9b1" class="GINGER_SOFTWARE_mark">openquery</span><span id="2becf7be-bee6-42fb-9166-691076d25710" class="GINGER_SOFTWARE_mark">,</span> without including fields that identify a single row that needs to be updated, then SQL returns the error "OLE DB provider "MSDASQL" for linked server "QREMOTE" returned the message "Key column information is insufficient or incorrect. Too many rows were affected by the <span id="81322731-e583-471d-83f3-d4f28fb29237" class="GINGER_SOFTWARE_mark">update</span>." Rows were updated, but still, it shows the error message. The OLE DB provider "MSDASQL" for linked server "QREMOTE" could not UPDATE table "&nbsp;[MSDASQL].".<br /><br />I am using the below query:<br /><br />Update <span id="b6c9aa4d-4389-4c6e-9d40-403986ce66e8" class="GINGER_SOFTWARE_mark">openquery</span><span id="0b0c05fc-dd6a-4541-b816-58786032ed97" class="GINGER_SOFTWARE_mark">(</span>QREMOTE,'select <span id="7c586b2c-6dd8-4a79-bc45-e12616aba805" class="GINGER_SOFTWARE_mark">customfieldtransportaddress</span><span id="7cabbdd6-67de-40da-b867-461414ab175f" class="GINGER_SOFTWARE_mark">,</span>CustomFieldOther from <span id="dea70360-4d28-48a6-bb6b-7be9cc092507" class="GINGER_SOFTWARE_mark">salesorderwhere</span> <span id="e7ed4b1d-9908-4709-93ff-e78da6500ad3" class="GINGER_SOFTWARE_mark">txnDate</span> &gt;= {d''2013-12-29''} and <span id="c089d0aa-e490-4c9a-85a1-65e7a8e809e8" class="GINGER_SOFTWARE_mark">refNumber</span> = ''8801'' ')&nbsp;set CustomFieldOther='1514999'<span id="0c287c9a-963a-40d0-85b8-9d24e928e846" class="GINGER_SOFTWARE_mark">,</span><span id="2d22dd72-fef2-4c10-96ef-9ce2c70380bc" class="GINGER_SOFTWARE_mark">customfieldtransportaddress</span> = 'Conex&atilde;o333'</p>
<p>Error message:</p>
<p>OLE DB provider "MSDASQL" for linked server "QREMOTE" returned the message "Key column information is insufficient or incorrect. Too many rows were affected by the update."<span id="df61a97f-4607-4ba5-978f-589bd8b535df" class="GINGER_SOFTWARE_mark">.</span><span id="2ad24fe4-9bff-4e60-b810-42477e18648b" class="GINGER_SOFTWARE_mark">Msg</span> 7343, Level 16, State 4, Line 1The OLE DB provider "MSDASQL" for linked server "QREMOTE" could not UPDATE table "[MSDASQL]."&nbsp;</p>
<p>&nbsp;</p>
<h3><span style="font-family: arial, helvetica, sans-serif; color: #3366ff;">Solutions 2:</span></h3>
<p>To overcome this issue, you need to include an extra "where" clause outside the open query.<br /><br />For Example:<br /><br />Update <span id="04c612c4-a191-4720-a99b-7abd9a859dab" class="GINGER_SOFTWARE_mark">openquery</span><span id="828c411a-ca61-4bf8-995c-ee1fbf0dfe78" class="GINGER_SOFTWARE_mark">(</span>QREMOTE,'select <span id="46446f75-2a13-457e-a547-f3d48c901155" class="GINGER_SOFTWARE_mark">refNumber</span><span id="4f558216-416c-4d77-b84c-178d89a8e601" class="GINGER_SOFTWARE_mark">,</span><span id="048cf37f-a777-479c-ba3f-e288a534b3cd" class="GINGER_SOFTWARE_mark">customfieldtransportaddress</span><span id="6dc1888f-2817-4a43-8c52-d173d8356fcf" class="GINGER_SOFTWARE_mark">,</span>CustomFieldOther from <span id="5683d510-9099-44fb-bcf2-77feb0c94b34" class="GINGER_SOFTWARE_mark">salesorderwhere</span> <span id="47e9daad-e40f-4b21-b1e4-53812557332d" class="GINGER_SOFTWARE_mark">txnDate</span> &gt;= {d''2013-12-29''} and <span id="a521aeaa-98b7-4c44-bcc6-297be264d17f" class="GINGER_SOFTWARE_mark">refNumber</span> = ''8801'' ')&nbsp;set CustomFieldOther='1514999'<span id="d724a1e5-5287-4eef-935d-a62f9595b760" class="GINGER_SOFTWARE_mark">,</span><span id="06387d47-e327-4e37-aadd-a4f05898b3ef" class="GINGER_SOFTWARE_mark">customfieldtransportaddress</span> = 'Conex&atilde;o333' where <span id="bebdd732-49c0-45f8-8a3d-8b82a49dffd7" class="GINGER_SOFTWARE_mark">refNumber</span> = '8801'<br /><br /><br />So, you need to include the where condition twice, inside the OpenQuery and outside. &nbsp; &nbsp; &nbsp;&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>&nbsp;</h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>
<h3>&nbsp;</h3>
<p>&nbsp;</p>
<h3>&nbsp;</h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to Access Account Name details from Journal Report Using SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2597]]></link>
<guid isPermaLink="false"><![CDATA[ed57844fa5e051809ead5aa7e3e1d555]]></guid>
<pubDate><![CDATA[Tue, 19 Aug 2014 11:49:27 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Troubleshooting: How to Access Account Name details from Journal Report Using SQL Server
Problem Description:
 I need some guidance on extracting data from the general ledger. In particular, I need to see the FullName of GL account. Running sp_report Jo...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Troubleshooting: How to Access Account Name details from Journal Report Using SQL Server</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> I need some guidance on extracting data from the general ledger. In <span id="7a9c6119-d0ff-408e-b214-23e7980b7f69" class="GINGER_SOFTWARE_mark">particular, I</span> need to see the F<span id="b19637e6-4867-42ac-8256-b7e25169f202" class="GINGER_SOFTWARE_mark"><span id="3286e87a-1a5a-4fb9-ab73-d9077ef4a929" class="GINGER_SOFTWARE_mark">ullName</span></span> of GL account. Running sp_report Journal through a linked SQL Server returns <span id="f02783b7-4b8d-400f-9623-a983ea2ce94a" class="GINGER_SOFTWARE_mark">errors</span> stating that <span id="2fab10f1-0a39-4b83-bccb-e274a2c1ef67" class="GINGER_SOFTWARE_mark">FullName</span> does not exist.<br /><br />I am using the below query to access the Account detail, but I can't access the Account Name detail from the&nbsp;<span id="dcd5e155-fc4d-43b5-9c84-3c6c51d7826f" class="GINGER_SOFTWARE_mark">output</span>. Please help: <br /><br /> <span id="482dc144-99ba-4f1c-9a60-43750112bdb9" class="GINGER_SOFTWARE_mark">select</span><br /> <span id="c0e1fb5d-d131-4175-bafa-8f12940ac43f" class="GINGER_SOFTWARE_mark">isnull</span><span id="528b3fca-f13e-4bb8-89d3-f8f0408ebb8d" class="GINGER_SOFTWARE_mark">(</span>Account,''<span id="f8e3b674-2de8-4fb6-912e-97bbd5f4b7c3" class="GINGER_SOFTWARE_mark">)</span>Account,<br /> <span id="3b348a75-9a32-44dd-b64d-223be922ea61" class="GINGER_SOFTWARE_mark">isnull</span><span id="60cf1b6a-f77e-4d58-8b3a-f23a098d2c98" class="GINGER_SOFTWARE_mark">(</span>Amount<span id="fa2834e7-7765-4781-8b37-887bece64631" class="GINGER_SOFTWARE_mark">,</span>0<span id="816b95ca-1311-4184-8910-a0c260c1f535" class="GINGER_SOFTWARE_mark">)</span>Amount,<br /> <span id="7702989e-ce76-40bb-97a3-39b2e01d783d" class="GINGER_SOFTWARE_mark">isnull</span><span id="5790ed22-b321-4204-ab26-3ffbdb2ee9c1" class="GINGER_SOFTWARE_mark">(</span>Date,'01/01/1900') [Date],<br /> <span id="be5b0767-840d-4c9c-b28e-3b9c97de982c" class="GINGER_SOFTWARE_mark">isnull</span><span id="bd2ef8ed-a915-412e-9754-9c7f99aeb575" class="GINGER_SOFTWARE_mark">(</span>Credit<span id="a870f277-ed7f-45d0-b907-c00664fb0aec" class="GINGER_SOFTWARE_mark">,</span>0) Credit,<br /> <span id="65611c6e-397e-4dc5-b2e0-e13099ecab8e" class="GINGER_SOFTWARE_mark">isnull</span><span id="f0066640-3391-405e-bdc0-27e59bb1990d" class="GINGER_SOFTWARE_mark">(</span>Debit<span id="6fea120a-52d7-416c-b749-7b8b28c89cd9" class="GINGER_SOFTWARE_mark">,</span>0) Debit,<br /> <span id="f7bbd640-8fae-4f51-87d9-ec7c4b26d9f6" class="GINGER_SOFTWARE_mark">isnull</span><span id="42dad65d-50ca-4b51-bdee-6e8757a55f7d" class="GINGER_SOFTWARE_mark">(</span>Memo,'') Memo,<br /> <span id="6289ef72-d71e-4e99-a4b6-710cf33ec887" class="GINGER_SOFTWARE_mark">isnull</span><span id="18acc82e-8edd-4788-9860-9ccb24c73f38" class="GINGER_SOFTWARE_mark">(</span>Name,'') Name,<br /> <span id="5b2180b1-3f79-4b8b-bb63-ee6a943bb0ba" class="GINGER_SOFTWARE_mark">isnull</span><span id="b4aebcdb-abd4-418a-ab94-ce0e0654c834" class="GINGER_SOFTWARE_mark">(</span><span id="bf1763cd-1c0d-4699-8fb0-a891be94bacc" class="GINGER_SOFTWARE_mark">RefNumber</span>,'') RefNumber,<br /> <span id="16ef3a6e-c950-47d3-821f-07e4ef79d869" class="GINGER_SOFTWARE_mark">isnull</span><span id="db95f070-86ad-4461-ac17-5cb5102228dd" class="GINGER_SOFTWARE_mark">(</span>RowNumber<span id="5964c32e-a05e-4ef2-b156-526dfff1ca7c" class="GINGER_SOFTWARE_mark">,</span>0) RowNumber,<br /> <span id="ef67ad78-d717-416c-bc37-a05c536d3ef1" class="GINGER_SOFTWARE_mark">isnull</span><span id="572190d0-f1c8-4311-8827-c1c33d0b196e" class="GINGER_SOFTWARE_mark">(</span>RowType,''<span id="f0fddd00-9420-4452-810d-ba4cbb4814a2" class="GINGER_SOFTWARE_mark">)</span><span id="bb3a441f-a508-4ea3-b23d-2489d6486005" class="GINGER_SOFTWARE_mark">Rowtype</span>,<br /> <span id="fbf0eb0f-3fab-4d1f-b67d-8f8642b0185a" class="GINGER_SOFTWARE_mark">isnull</span><span id="e3b17ca8-49d7-4daf-b839-5907216493c3" class="GINGER_SOFTWARE_mark">(</span>SplitAccount,''<span id="34796037-97bd-4f38-9c0d-8248426fa06f" class="GINGER_SOFTWARE_mark">)</span>SpliAccount,<br /> <span id="15ffe6f4-463b-4081-9e3c-774f4ed5b4a2" class="GINGER_SOFTWARE_mark">isnull</span><span id="8b9ea20c-e1b3-452f-b2a8-de3f4f703f74" class="GINGER_SOFTWARE_mark">(</span>TxnID,''<span id="3005bd63-cdbc-4213-af1e-ff4b925f83a6" class="GINGER_SOFTWARE_mark">)</span>TxnID,<br /> <span id="273a07cb-8116-408a-80e9-fd545b941ea2" class="GINGER_SOFTWARE_mark">isnull</span><span id="d9e56127-bf98-4fd1-adca-806f54df63fc" class="GINGER_SOFTWARE_mark">(</span>TxnNumber,''<span id="6295afb6-b7d7-4669-a3a5-d24ecbab6b30" class="GINGER_SOFTWARE_mark">)</span>TxnNumber <br /> <span id="57a44800-e472-440d-ab4c-0891d229f842" class="GINGER_SOFTWARE_mark">from</span> <br />openquery(QREMOTE,'sp_report Journal show Account,Amount,Date,Credit,Debit,Memo,Name,RefNumber,RowNumber,RowType,SplitAccount,TxnID,TxnNumber parameters DateFrom = {d''2017-12-01''}, DateTo = {d''2017-12-05''}') where RowType = 'DataRow' &nbsp; &nbsp;</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/JournalReportSQLServer/step1.png" alt="http://support.flexquarters.com/esupport/newimages/JournalReportSQLServer/step1.png" width="1149" height="581" /></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">From sp_report, we would not be able to include F<span id="bced47df-5262-4986-8086-ee8d0b15f48b" class="GINGER_SOFTWARE_mark">ullName</span> instead of the information QuickBooks provides&nbsp;in QuickBooks SDK.<br /><br />Instead, you may use the JournalEntryLine table, which will show detailed information <span id="5d2ff76e-880c-402c-95ff-5c0d60a97fef" class="GINGER_SOFTWARE_mark">about</span> the Journal, and you can apply filters to achieve the desired output.<br /><br />QuickBooks SDK does not provide a full name, and we could not add it to the sp_report response.<br /><br />But yes, there is a workaround, you can query the&nbsp;<span id="e816a1b5-03f9-4cad-8d8c-0bdbd607c21d" class="GINGER_SOFTWARE_mark">Account table</span> and Link the result of Sp_report to Account and get the <span id="d4e34323-4126-470c-8e66-355c185b7037" class="GINGER_SOFTWARE_mark">FullName</span>.<br /><br />Linking two tables would not be straightforward, as QuickBooks sends the Account name as "10020 &middot; Account Receivable," i.e., "AccountNumber <span id="35c1a15d-c65a-42c1-af90-2999ae2b59b2" class="GINGER_SOFTWARE_mark">&middot;</span>Name."<br /><br />We need to query an Account table using the Join function to access account details. Also, we need to use substring &amp; other SQL functions to compare data for achieving desired results because the report output contains <strong>Account Number &amp; Account FullName&nbsp;</strong>in the Account column output combined using <strong>dot "."</strong>. So we need to use substring &amp; other SQL functions to remove this dot &amp; compare the account name with the Account table.<br /><br />Please refer below query:<br /><br /> <span id="e2b92582-9d0c-41c6-b92d-2d67cab88cad" class="GINGER_SOFTWARE_mark">select</span><br /> <span id="b19f3904-c967-40c8-8f9c-757a92ac5f57" class="GINGER_SOFTWARE_mark">isnull</span><span id="5b836e29-509d-4355-bf0c-1a43f0cc83b6" class="GINGER_SOFTWARE_mark">(</span>Account,''<span id="2fb40400-3416-4d77-97f8-9f134fadee47" class="GINGER_SOFTWARE_mark">)</span>Account,<br /> <span id="fd5a327f-29d6-4727-938f-72166c018b95" class="GINGER_SOFTWARE_mark">isnull</span><span id="215aa379-648c-4f25-b227-a3ff465be654" class="GINGER_SOFTWARE_mark">(</span>Amount<span id="f8edada1-99cc-41d2-8500-abd50ab8547f" class="GINGER_SOFTWARE_mark">,</span>0<span id="4eaa554c-d20d-4464-9bbd-ba1af282f584" class="GINGER_SOFTWARE_mark">)</span>Amount,<br /> <span id="75a4d35c-c290-4bdd-865c-dd547a176ecc" class="GINGER_SOFTWARE_mark">isnull</span><span id="da677292-02c5-4e8d-9008-f18f2d1bb1f0" class="GINGER_SOFTWARE_mark">(</span>Date,'01/01/1900') [Date],<br /> <span id="fa3ed95d-da62-42e4-a0c9-70796e624e8c" class="GINGER_SOFTWARE_mark">isnull</span><span id="d82502cf-385d-45cb-83e4-4e64df8b42b9" class="GINGER_SOFTWARE_mark">(</span>Credit<span id="e4c4907c-128e-4a32-a9fc-6a648d642e45" class="GINGER_SOFTWARE_mark">,</span>0) Credit,<br /> <span id="cdd90986-60a2-4cd2-90b4-73a744096c61" class="GINGER_SOFTWARE_mark">isnull</span><span id="49f1c9ba-d6fd-4bca-9e5d-9ccc3d13d6c7" class="GINGER_SOFTWARE_mark">(</span>Debit<span id="505a8934-2fdf-415d-ab5b-4760a18957df" class="GINGER_SOFTWARE_mark">,</span>0) Debit,<br /> <span id="1a93aaa5-9d31-4308-b89d-c2a1b7677ab5" class="GINGER_SOFTWARE_mark">isnull</span><span id="a8f2d656-fb7a-4484-8f20-cc853201ef86" class="GINGER_SOFTWARE_mark">(</span>Memo,'') Memo,<br /> <span id="595de5eb-ecfa-4440-97a7-fd9a818e2918" class="GINGER_SOFTWARE_mark">isnull</span><span id="b3c540c0-3027-4381-96da-e8ec8633d8eb" class="GINGER_SOFTWARE_mark">(</span><span id="6f159558-efaa-416b-92dc-5c6f6af1c65f" class="GINGER_SOFTWARE_mark">a.</span>Name,'') Name,<br /> <span id="ee0773de-cc44-47c6-bb3e-de9de2b29256" class="GINGER_SOFTWARE_mark">isnull</span><span id="82cbcde1-625f-4c3c-a92c-aad1ad29a687" class="GINGER_SOFTWARE_mark">(</span><span id="b8a3ff75-a69a-407a-8796-3b32de0f329e" class="GINGER_SOFTWARE_mark">RefNumber</span>,'') RefNumber,<br /> <span id="b5ece7ad-91a7-4ac9-913d-b8d0a2d5bb1d" class="GINGER_SOFTWARE_mark">isnull</span><span id="376a51be-135e-46cf-904e-6f6c0caf0350" class="GINGER_SOFTWARE_mark">(</span>RowNumber<span id="ce845042-6572-44a0-9b6a-3f1ff203009f" class="GINGER_SOFTWARE_mark">,</span>0) RowNumber,<br /> <span id="d945cfb2-4da3-4d81-bc9d-92d007156a4a" class="GINGER_SOFTWARE_mark">isnull</span><span id="162d80b0-d181-43ab-a39e-d6b20a7e0984" class="GINGER_SOFTWARE_mark">(</span>RowType,''<span id="70c96ae8-01aa-4e69-a964-76081ea78525" class="GINGER_SOFTWARE_mark">)</span><span id="c4ce1cdc-89dc-4839-b8e9-75106dfdfd85" class="GINGER_SOFTWARE_mark">Rowtype</span>,<br /> <span id="ef6d3fa0-d8e2-41d1-851b-3f3c11f29535" class="GINGER_SOFTWARE_mark">isnull</span><span id="2b7025fe-0333-4664-999c-154862ee3cd1" class="GINGER_SOFTWARE_mark">(</span>SplitAccount,''<span id="cbcf57be-dcb7-49e4-9315-5c61bcae7391" class="GINGER_SOFTWARE_mark">)</span>SpliAccount,<br /> <span id="e6b0ebfe-b051-489b-a159-4e5ded2b0d39" class="GINGER_SOFTWARE_mark">isnull</span><span id="eba75d25-b545-40a8-b6ee-acceb69af5fc" class="GINGER_SOFTWARE_mark">(</span>TxnID,''<span id="363d1a00-77e0-4908-8e03-925ba3beb06c" class="GINGER_SOFTWARE_mark">)</span>TxnID,<br /> <span id="7fbd2a2d-8baf-4912-b68d-2ee3e2632eb3" class="GINGER_SOFTWARE_mark">isnull</span><span id="77d74546-7f36-44f9-8e42-0fbd7a8dcbab" class="GINGER_SOFTWARE_mark">(</span>TxnNumber,''<span id="e8bae1ac-451a-4a6c-8b92-05324fa2b722" class="GINGER_SOFTWARE_mark">)</span>TxnNumber,<br /> <span id="f9d8b07c-7f97-4767-8500-1f1da2ca79c7" class="GINGER_SOFTWARE_mark">b.</span><span id="7ef2b192-0aaa-4516-9e16-675757da5c84" class="GINGER_SOFTWARE_mark">FullName</span> as AccountFullName,<br /> <span id="18e476b1-d8e4-46e3-b3c4-dc2964a34ec3" class="GINGER_SOFTWARE_mark">c.</span><span id="7cd97a82-ad24-4b88-b1dd-2327ce72aa41" class="GINGER_SOFTWARE_mark">FullName</span> as SplitFullName<br /> <span id="2bdac82a-6b37-4ef1-be45-a7738157d107" class="GINGER_SOFTWARE_mark">from</span> <span id="d6449594-c417-4efa-a755-bfc4cae9a590" class="GINGER_SOFTWARE_mark">openquery</span><span id="845bf804-a203-462f-a05f-fb2d75bcf533" class="GINGER_SOFTWARE_mark">(</span>QREMOTE,'sp_report Journal show Account<span id="f8becb5d-658c-48da-983e-d6202b5de83e" class="GINGER_SOFTWARE_mark">,</span>Amount<span id="0c9f7c0e-d385-40aa-afc7-477eefd561d0" class="GINGER_SOFTWARE_mark">,</span>Date<span id="cf85d1c3-7535-4623-b4e3-1f2d57b4763f" class="GINGER_SOFTWARE_mark">,</span>Credit<span id="195f5f93-2b9a-4468-a9e3-1c0deac5937f" class="GINGER_SOFTWARE_mark">,</span>Debit<span id="5ae851a9-a8f5-418f-b794-f3a40081e6c6" class="GINGER_SOFTWARE_mark">,</span>Memo<span id="336d1435-353d-4205-91bc-221f022dfcef" class="GINGER_SOFTWARE_mark">,</span>Name<span id="624b5ee4-0acf-4a4b-af07-9f5c0e227cd5" class="GINGER_SOFTWARE_mark">,</span><span id="7d67f78c-1709-4519-bee0-319d788faf7b" class="GINGER_SOFTWARE_mark">RefNumber</span><span id="a5a496be-02c2-4043-a4ce-9434c9e1df78" class="GINGER_SOFTWARE_mark">,</span>RowNumber<span id="a7ae5a2d-1dcc-409e-9a26-c8a4f316cd5b" class="GINGER_SOFTWARE_mark">,</span>RowType<span id="6ec78305-ab1b-4718-b098-173a19821fe7" class="GINGER_SOFTWARE_mark">,</span>SplitAccount<span id="3fdb6a54-e53e-4113-81b0-2ad19893c867" class="GINGER_SOFTWARE_mark">,</span>TxnID<span id="52e6b37f-be1e-4782-98bb-4062443b5ef9" class="GINGER_SOFTWARE_mark">,</span>TxnNumber parameters DateFrom = {d''2017-12-01''}, DateTo = {d''2017-12-05''}') a<br /> <span id="8cb93075-85c1-45cc-8d94-f3540963d52b" class="GINGER_SOFTWARE_mark">left</span> <span id="62530a16-1d6c-4340-bdcf-a70c980f5d36" class="GINGER_SOFTWARE_mark">join</span> <br /> <span id="ae987a3f-d3cb-4bf3-a2bf-1aef263b8497" class="GINGER_SOFTWARE_mark">openquery</span><span id="ea0ce194-199a-4a9f-b898-9484b749aabd" class="GINGER_SOFTWARE_mark">(</span>QREMOTE, 'select * from <span id="07eb6e0d-440b-4df7-93b4-987ac4a0326f" class="GINGER_SOFTWARE_mark">account</span>') <span id="6858a306-ec84-45d5-a8d9-15990192a3e1" class="GINGER_SOFTWARE_mark">b</span> on <br />SUBSTRING <span id="33a69b38-ce4f-423c-88b2-0e560fa0d11e" class="GINGER_SOFTWARE_mark">( </span><span id="16810ce7-fabc-435d-8bf7-57f6cd57941b" class="GINGER_SOFTWARE_mark">a.</span>Account<span id="e745c4f8-cce9-48a7-a4ed-f4fed44bfb1f" class="GINGER_SOFTWARE_mark"> ,</span>0<span id="973800cd-a9b4-462c-8ca7-e48535025969" class="GINGER_SOFTWARE_mark"> ,</span> CHARINDEX (' &middot; ', <span id="ed20f0a9-046e-4757-ba4e-f460c1be4784" class="GINGER_SOFTWARE_mark">a.</span>Account)<span id="ce94656f-1f96-4cce-9d7d-8258e5a56a26" class="GINGER_SOFTWARE_mark"> )</span>= ISNULL<span id="7d552f22-86b2-483a-9635-86ee381ab2f1" class="GINGER_SOFTWARE_mark">(</span>CONVERT<span id="18301cb9-e5f9-4365-b38e-234000700ffb" class="GINGER_SOFTWARE_mark">(</span>varchar<span id="c6ef5c6a-208c-46e0-a037-16790f5ac7dd" class="GINGER_SOFTWARE_mark">(</span>50)<span id="88fe7d91-c684-406e-b662-895d099d8fa1" class="GINGER_SOFTWARE_mark">,</span><span id="f87dbd53-bc42-4e9f-a8dd-5e8428e45379" class="GINGER_SOFTWARE_mark">b.</span><span id="6667f3eb-3bce-4e83-a579-340e1208cef2" class="GINGER_SOFTWARE_mark">AccountNumber</span>),'') <br /> <span id="0d4658fa-23aa-4b65-907a-f6bf60efd932" class="GINGER_SOFTWARE_mark">and</span><br />REPLACE<span id="c85c2782-d6c1-4220-a0b1-e3b8a020b09d" class="GINGER_SOFTWARE_mark">(</span><span id="1d23316f-56c9-4b20-94ff-eb8afa08189e" class="GINGER_SOFTWARE_mark">a.</span>Account<span id="f1808de5-f8e3-47ec-b92c-564ef85ad4da" class="GINGER_SOFTWARE_mark">,</span>SUBSTRING <span id="251a1e0b-e9d9-4d65-a64a-1141faab4e64" class="GINGER_SOFTWARE_mark">( </span><span id="34843d03-f411-4350-932d-6a4042bf6a17" class="GINGER_SOFTWARE_mark">a.</span>Account<span id="4154294a-3c6b-4a81-a1dd-87b76b74ee9b" class="GINGER_SOFTWARE_mark"> ,</span>0<span id="d773b254-85ec-46d3-95bc-392167d912b6" class="GINGER_SOFTWARE_mark"> ,</span> CHARINDEX (' &middot; ', <span id="be3ca283-7ba8-496c-b671-9229e6046e78" class="GINGER_SOFTWARE_mark">a.</span>Account)<span id="7abbf7f1-fe70-4996-9737-6ce869613dc7" class="GINGER_SOFTWARE_mark"> )</span> + ' &middot; ','') = ISNULL<span id="b2838657-1521-4509-9f1d-dadd5a9aa522" class="GINGER_SOFTWARE_mark">(</span>CONVERT<span id="d59a0aa2-55c5-45d5-baa6-9dc8beefc22e" class="GINGER_SOFTWARE_mark">(</span>varchar<span id="61be60d2-6699-4698-9f5a-99ceb04dc2bc" class="GINGER_SOFTWARE_mark">(</span>50)<span id="27bb64a3-f49f-4d18-a2a6-15890b59172f" class="GINGER_SOFTWARE_mark">,</span><span id="0d2475dd-4f5a-4123-ba8f-4341ac4c9510" class="GINGER_SOFTWARE_mark">b.</span>Name),'') left join <br /> <span id="25f68721-ebc4-4b62-97b9-70e3d8cb91de" class="GINGER_SOFTWARE_mark">openquery</span><span id="b5aabed0-41dd-46b3-8744-934fb6156db8" class="GINGER_SOFTWARE_mark">(</span>QREMOTE, 'select * from account') <span id="3d902c95-f8bb-42b4-9710-622b41ec9313" class="GINGER_SOFTWARE_mark">c on</span> <br />SUBSTRING <span id="f73b8ca4-3261-4383-b5ba-9c056aee6597" class="GINGER_SOFTWARE_mark">( </span><span id="2c319b58-9e10-458a-8c77-3c9dd21d81c0" class="GINGER_SOFTWARE_mark">a.</span>SplitAccount<span id="65ac4b0c-489b-491d-8fc5-fb978a80263b" class="GINGER_SOFTWARE_mark"> ,</span>0<span id="503b1cf2-3a6c-42e3-98b8-15b85e799a81" class="GINGER_SOFTWARE_mark"> ,</span> CHARINDEX (' &middot; ', <span id="592d6531-4fd7-4fcb-a93c-2a633909b9b9" class="GINGER_SOFTWARE_mark">a.</span>SplitAccount)<span id="31080fe2-c400-454b-b267-73b02feeb7cb" class="GINGER_SOFTWARE_mark"> )</span>= ISNULL<span id="76c958ac-ada0-447d-858e-e97193a7c733" class="GINGER_SOFTWARE_mark">(</span>CONVERT<span id="b82f16c9-27bb-411f-9e0b-e61465f4bc62" class="GINGER_SOFTWARE_mark">(</span>varchar<span id="f8fa0c42-39d9-45df-87d7-1e73d58d0a86" class="GINGER_SOFTWARE_mark">(</span>50)<span id="61a73ab7-fb81-4288-bd30-35ac378ba9ba" class="GINGER_SOFTWARE_mark">,</span><span id="d207df90-ee11-4319-8a28-8409349da236" class="GINGER_SOFTWARE_mark">c.</span><span id="b045ef30-28fd-4e3c-9f9e-7103d247e7e2" class="GINGER_SOFTWARE_mark">AccountNumber</span>),'') <br /> <span id="c1076c78-c545-41e6-9342-c4bc1c209361" class="GINGER_SOFTWARE_mark">and</span><br />REPLACE(a.SplitAccount,SUBSTRING ( a.SplitAccount ,0 , CHARINDEX (' &middot; ', a.SplitAccount) ) + ' &middot; ','') = ISNULL(CONVERT(varchar(50),c.Name),'') <br /> <span id="ed025321-c9bb-484f-9ba4-5bd43e686aee" class="GINGER_SOFTWARE_mark">where</span> RowType = 'DataRow'</span></p>
<p><img style="float: right;" src="//support.flexquarters.com/esupport/newimages/JournalReportSQLServer/step2.png" alt="http://support.flexquarters.com/esupport/newimages/JournalReportSQLServer/step2.png" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How can I find QuickBooks deleted record information from QODBC?]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2590]]></link>
<guid isPermaLink="false"><![CDATA[7876acb66640bad41f1e1371ef30c180]]></guid>
<pubDate><![CDATA[Tue, 05 Aug 2014 13:33:32 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How can I find QuickBooks deleted record information from QODBC?
Problem Description:
 Is there a stored procedure that provides all deleted transactions? I.e., Voided/Deleted Transactions Detail?
 For Example: 
 If an Invoice gets deleted from QuickB...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">How can I find QuickBooks deleted record information from QODBC?</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> Is there a stored procedure that provides all deleted transactions? I.e., Voided/Deleted Transactions Detail?</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> For Example: </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> If <span id="71121e71-c7ed-497f-9ab6-7bc375664f66" class="GINGER_SOFTWARE_mark">an</span> Invoice gets deleted from QuickBooks, does it get physically deleted? Otherwise, which field(s) would tell me that <span id="8972d45c-0ad2-486f-90ad-0b6fb9a5a9e2" class="GINGER_SOFTWARE_mark">fact</span>?</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">You can find Voided/Deleted <span id="9796a3cf-d558-4720-ad37-41337ca1a290" class="GINGER_SOFTWARE_mark">Transactions</span> details from QODBC "TxnDeleted" and "ListDeleted" tables. Please refer to tables "TxnDeleted" and "ListDeleted" to see the data you are looking for. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">For Example, I have an&nbsp;<span id="073cba39-43f2-4e7d-a630-317aea30e43d" class="GINGER_SOFTWARE_mark">Invoice</span> in QuickBooks whose Invoice# is 1114 &nbsp;</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step1.png" alt="http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step1.png" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Now we are verifying the same Invoice from the QODBC Invoice table<span id="2e3188b2-37b2-47be-87d9-6fb2a6646f24" class="GINGER_SOFTWARE_mark">.&nbsp;</span>By using the below query:<br />SELECT * FROM Invoice where <span id="afce94a8-cbbf-459d-b5fb-702f2936d5d9" class="GINGER_SOFTWARE_mark">RefNumber</span> ='1114'</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step2.png" width="976" height="401" /></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Now we are&nbsp;<span id="79e56ad1-15f3-4cbd-b184-f05e3f114f3c" class="GINGER_SOFTWARE_mark">deleting</span>&nbsp;the Invoice from QuickBooks, whose Invoice# is 1114:&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step3.png" alt="http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step3.png" /><br /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Now we are verifying the same Invoice from the QODBC Invoice table to see if it <span id="31310692-7de6-4897-a7c5-012621eadec0" class="GINGER_SOFTWARE_mark">exists</span> in the QODBC Invoice table<span id="c7ceb552-4480-4b61-a415-86988ba6a5be" class="GINGER_SOFTWARE_mark">.&nbsp;</span>By using the below query:<br />SELECT * FROM Invoice where <span id="6aca47c4-c625-4748-9eeb-80462c2adb73" class="GINGER_SOFTWARE_mark">RefNumber</span> ='1114'</span></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step4.png" alt="http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step4.png" width="982" height="399" /></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Now we are checking the same Invoice from the QODBC TxnDeleted table to see if it <span id="9c9ec1af-4e1d-4c93-8bee-1a40670c9560" class="GINGER_SOFTWARE_mark">exists</span> in the QODBC TxnDeleted table<span id="f77349db-7c15-4190-8780-cdfafcef6434" class="GINGER_SOFTWARE_mark">.&nbsp;</span>By using the below query:<br />SELECT * FROM TxnDeleted where TxnDelType='Invoice'&nbsp;</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step5.png" alt="http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step5.png" width="673" height="717" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">We can find Deleted Transactions (i.e., Invoice<span id="e44aa1be-67d0-4428-bb3d-073305707046" class="GINGER_SOFTWARE_mark">,&nbsp;</span><span id="b9592002-c1ba-42c9-93fd-e84d92d0a3a5" class="GINGER_SOFTWARE_mark">SalesOrder</span><span id="9d4a3f68-7177-433c-8639-6c27a3bdb59f" class="GINGER_SOFTWARE_mark">,&nbsp;</span><span id="bce8e244-4598-4b44-9e0c-251b78a61745" class="GINGER_SOFTWARE_mark">TimeTracking, etc</span>) details from QODBC "TxnDeleted" tables.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">We can find Deleted List (i.e., Customer<span id="32da7f5f-2838-4d5f-80ec-cfa4c00710bf" class="GINGER_SOFTWARE_mark">,</span> Item, etc) details from QODBC "ListDeleted" tables.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] PCI Compliance in QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2586]]></link>
<guid isPermaLink="false"><![CDATA[c57168a952f5d46724cf35dfc3d48a7f]]></guid>
<pubDate><![CDATA[Tue, 05 Aug 2014 12:53:17 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[PCI Compliance in QODBC
Problem Description:
 We are working with a client that processes many credit cards and must be PCI compliant. Do you have any insight into what needs to be done on the QODBC side to maintain PCI compliance? 
Solutions:
QODBC u...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">PCI Compliance in QODBC</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> We are working with a client that processes many credit cards and must be PCI compliant. Do you have any insight into what needs to be done on the QODBC side to maintain PCI compliance?<br /><br /> </span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">QODBC uses <span id="2aa7301d-de92-4d78-9963-c6b54639078f" class="GINGER_SOFTWARE_mark">QuickBooks SDK, which</span> implements the security standards listed in the attached articles:<br /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://quickbooks.intuit.com/learn-support/en-us/help-article/data-security/quickbooks-pci-service-faqs/L7ipNg7n9_US_en_US">https://quickbooks.intuit.com/learn-support/en-us/help-article/data-security/quickbooks-pci-service-faqs/L7ipNg7n9_US_en_US</a></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://security.intuit.com/compliance">https://security.intuit.com/compliance</a></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://quickbooks.intuit.com/learn-support/en-us/employees-and-payroll/re-how-do-you-prove-pci-compliance/01/1278650/highlight/true">https://quickbooks.intuit.com/learn-support/en-us/employees-and-payroll/re-how-do-you-prove-pci-compliance/01/1278650/highlight/true</a></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://quickbooks.intuit.com/learn-support/en-us/help-article/data-security/explanation-pci-dss-compliance-services/L5tbibLub_US_en_US">https://quickbooks.intuit.com/learn-support/en-us/help-article/data-security/explanation-pci-dss-compliance-services/L5tbibLub_US_en_US</a></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> <a href="http://dataservices.intuit.com/support/Articles/INF12850">http://dataservices.intuit.com/support/Articles/INF12850</a> <br /><br /> I want to inform you that QODBC only stores data in encrypted optimizer file(s) on the disc. QODBC can store only <span id="612179a2-563f-43d6-a96c-2bc3cde40888" class="GINGER_SOFTWARE_mark">the</span>&nbsp;information that QuickBooks SDK exposes.<br /><br /> If you want more security, you can disable the optimizer option. So QODBC will fetch data directly from QuickBooks SDK and will not be stored on the disk drive.<br /></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create Invoices through MS Access using QODBC]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2582]]></link>
<guid isPermaLink="false"><![CDATA[7e83722522e8aeb7512b7075311316b7]]></guid>
<pubDate><![CDATA[Tue, 05 Aug 2014 12:40:13 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[Examples of Creating an Invoice using QODBC
First, please create a new MS Access database &amp; link ALL tables.Please refer to the article below for How to Use QODBC with Microsoft Access:
How to Use QODBC with Microsoft Access
After linking the table...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #3366ff;">Examples of Creating an Invoice using QODBC</span></h2>
<p>First, please create a new MS Access database &amp; link <strong>ALL</strong> tables.<br />Please refer to the article below for How to Use QODBC with Microsoft Access:</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2448/0/how-to-use-qodbc-with-microsoft-access-2007" target="_blank">How to Use QODBC with Microsoft Access</a></p>
<p>After linking the table, we need to execute the query in the MS Access query editor:<br />MS Access&gt;&gt; <span id="22bd9f7c-350e-4064-9d1b-58e0c4aa9eaf" class="GINGER_SOFTWARE_mark">create</span> tab &gt;&gt; Query Design &gt;&gt; It should pop up&nbsp;for choosing a&nbsp;<span id="396373f9-5c76-4d08-872c-53b47a354943" class="GINGER_SOFTWARE_mark">table. Please</span>&nbsp;click the "Close" button &amp; click on "SQL" from the left top corner below the File menu.</p>
<p><strong>Note:</strong> For multi-line invoices, some may find it easier to NOT include the header information with each line item, but rather to have <span id="8f3fbfca-b68a-49a6-9ffd-bc5094a0fda1" class="GINGER_SOFTWARE_mark">separate</span> smaller commands for the Invoice Lines and a final&nbsp; INSERT for the Invoice Header.</p>
<h3><span style="color: #0000ff;">Create an Invoice with 3 Lines</span></h3>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Here we create an invoice with three lines by using 3 InvoiceLine INSERT commands (with the FQSaveToCache caching flag set true) followed by the Invoice table (header) insert, which is automatically designed to pull in all cached InvoiceLine records and save immediately.</p>
<p><strong>First Line </strong></p>
<p>INSERT INTO InvoiceLine (InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('320000-1071525597', 'Building permit 1', 1.00000, 1.00, '20000-999022286', 1)</p>
<p>&nbsp;<img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/step1.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/step1.png" width="1024" height="494" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step1.png" width="470" height="142" /></p>
<p>&nbsp;</p>
<p><strong>Second Line </strong></p>
<p>INSERT INTO InvoiceLine (InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('320000-1071525597', 'Building permit 2', 2.00000, 2.00, '20000-999022286', 1)</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step3.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step3.png" width="1022" height="501" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" width="470" height="142" /></p>
<p>&nbsp;</p>
<p><strong>Third Line </strong></p>
<p>INSERT INTO InvoiceLine (InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('320000-1071525597', 'Building permit 3', 3.00000, 3.00, '20000-999022286', 1)</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step4.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step4.png" width="1020" height="494" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" width="470" height="142" /></p>
<p>&nbsp;</p>
<p><strong>Header Information </strong></p>
<p>INSERT INTO Invoice (CustomerRefListID, ARAccountRefListID, TxnDate, <span id="5f40ed5f-c35a-4127-a6dd-ca930606e141" class="GINGER_SOFTWARE_mark">RefNumber</span>, BillAddressAddr1, BillAddressAddr2, BillAddressCity, BillAddressState, BillAddressPostalCode, BillAddressCountry, <span id="635af00c-6eb4-4008-85af-c3fa65e0f392" class="GINGER_SOFTWARE_mark">IsPending</span>, TermsRefListID, DueDate, ShipDate, ItemSalesTaxRefListID, Memo, IsToBePrinted, CustomerSalesTaxCodeRefListID) VALUES ('620000-1071526513', '40000-933270541', #9/23/2005#, '1', 'Brad Lamb,' '1921 Appleseed Lane', 'Bayshore,' 'CA,' '94326', 'USA,' 0, '10000-933272658', #10/31/2005#, #10/01/2005#, '360000-1071521681', 'Memo Test,' 0, '10000-999022286')&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step5.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step5.png" width="1023" height="497" /></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png" width="470" height="142" /></p>
<p><strong>Results in QuickBooks&nbsp;</strong></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step6.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step6.png" width="1034" height="641" /></strong></p>
<p>&nbsp;</p>
<h3>Related Data Location</h3>
<p><strong><span id="c361d80f-3966-4456-b3e1-30b894172447" class="GINGER_SOFTWARE_mark">InvoiceLineItemRefListID</span></strong></p>
<p><span id="08e034ff-f04c-424b-a667-77afb26ed647" class="GINGER_SOFTWARE_mark">InvoiceLineItemRefListID</span> is '320000-1071525597' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="86a3ade3-4674-406f-b920-446ae94d308f" class="GINGER_SOFTWARE_mark">ListId</span>, FullName from Item where <span id="a00e91aa-22ad-453d-828f-98d6b8df2b67" class="GINGER_SOFTWARE_mark">FullName</span> like 'C%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step7.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step7.png" width="1022" height="489" /></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step8.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step8.png" width="321" height="289" /></strong></p>
<p><strong>&nbsp;</strong></p>
<p><strong><span id="2ee6a30c-ced2-49ba-8c4d-7098448fcbba" class="GINGER_SOFTWARE_mark">InvoiceLineSalesTaxCodeRefListID</span></strong></p>
<p><span id="5e2d888c-af34-4e66-b940-469b36d85c10" class="GINGER_SOFTWARE_mark">InvoiceLineSalesTaxCodeRefListID</span> is '20000-999022286' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="feb9963f-d7a9-4d8a-ac30-116fef21e378" class="GINGER_SOFTWARE_mark">ListId</span>, Name from SalesTaxCode where Name like 'N%'</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step9.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step9.png" width="1021" height="494" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step10.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step10.png" width="206" height="92" /></p>
<p><strong><span id="2a6d38cf-a96c-4377-9476-1f213e940a1b" class="GINGER_SOFTWARE_mark">CustomerRefListID</span></strong></p>
<p><span id="a27d940e-1274-453c-8be5-c0764a9cb193" class="GINGER_SOFTWARE_mark">CustomerRefListID</span> is '620000-1071526513' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;Select <span id="f99a9fac-f1c5-47fd-ae71-07374a92d34c" class="GINGER_SOFTWARE_mark">ListId</span>, FullName from Customer where <span id="0228a130-40ad-48b7-bdde-2158ccd600aa" class="GINGER_SOFTWARE_mark">FullName</span> like 'Smi%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step11.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step11.png" width="1023" height="495" /></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step12.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step12.png" width="320" height="110" /></strong></p>
<p>&nbsp;</p>
<p><strong><span id="94da0543-c9df-4825-bdd2-36f333a877ab" class="GINGER_SOFTWARE_mark">ARAccountRefListID</span></strong></p>
<p><span id="d043fa50-5af2-4d61-ada5-a271c1220291" class="GINGER_SOFTWARE_mark">ARAccountRefListID</span> is '40000-933270541' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="3aa6167f-8d49-4d73-a820-b224f4f93aef" class="GINGER_SOFTWARE_mark">ListId</span>, Name from Account where Name like 'Account%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step13.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step13.png" width="1019" height="493" /></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step14.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step14.png" width="272" height="146" /></strong></p>
<p><strong><span id="90778f3b-a80f-4027-9cab-a2541bcee7f4" class="GINGER_SOFTWARE_mark">ItemSalesTaxRefListID</span></strong></p>
<p>ItemSalesTaxRefListID field is related to ItemSalesTax, ItemSalesTaxGroup, and ItemSalesTaxGroup, Line, depending on InvoiceLineType. If InvoiceLineType is GroupItem, then it is found in the ItemSalesTaxGroupLine table.</p>
<p><span id="bb35ce0d-8222-4e3d-866f-81537e79b765" class="GINGER_SOFTWARE_mark">ItemSalesTaxRefListID</span> is '360000-1071521681' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="44c90ffa-edb9-4842-9845-bf6413e48709" class="GINGER_SOFTWARE_mark">ListId</span>, Name from ItemSalesTaxGroup where Name like 'E%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step15.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step15.png" width="1022" height="499" /></p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step16.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step16.png" width="339" height="87" /></p>
<p><strong><span id="1641735f-bd3e-4f61-916e-1da52dd5425f" class="GINGER_SOFTWARE_mark">CustomerSalesTaxCodeRefListID</span></strong></p>
<p><span id="4d753020-f883-49f9-8e67-c46a9126a108" class="GINGER_SOFTWARE_mark">CustomerSalesTaxCodeRefListID</span> is '10000-999022286' and found like this:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Select <span id="bc6b11b1-5118-487d-b716-3fca94a6bf8c" class="GINGER_SOFTWARE_mark">ListId</span>, Name from SalesTaxCode where Name like 'T%'</p>
<p>&nbsp;</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step17.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step17.png" width="1021" height="502" /></p>
<p><strong><img style="display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step18.png" alt="http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step18.png" width="339" height="92" /><br /></strong></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How can I use same Excel files in 64 &amp; 32-bit Systems]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2566]]></link>
<guid isPermaLink="false"><![CDATA[42fe880812925e520249e808937738d2]]></guid>
<pubDate><![CDATA[Thu, 17 Apr 2014 16:41:18 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[How can I use the same Excel files in 64 &amp; 32-bit Systems
Problem Description:
 How can I use the same Excel files in 64 &amp; 32-bit Systems?
 Is it possible to have a connection set up in an Excel file and be able to refresh on either a64-bit4 or...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How can I use the same Excel files in 64 &amp; 32-bit Systems</span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Problem Description:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> How can I use the same Excel files in 64 &amp; 32-bit Systems?</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Is it possible to have a connection set up in an Excel file and be able to refresh on either a64-bit4 or 32-bit system?</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> I know it's possible on the same (64 or 32) as long as the DSNs have the same names, but I wasn't sure about "crossing" between systems. </span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Solutions:</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Yes, you can create a QRemote DSN with the same name on all the machines on which you would like to use Excel. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Your Excel file needs to use a common name DSN, for example, "QODBC-Excel." </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please refer to the example below: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">1) Machine A of a 64-bit OS has 64-bit Excel - create a DSN "QODBC-Excel" under 64-bit ODBC Administrator/Manager: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Start &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source 64-bit:</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step1-64.png" alt="" width="249" height="209" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Go to the "System DSN" Tab &gt;&gt; Click on the Add button to create a new DSN "QODBC-Excel." </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step2.png" alt="" width="469" height="386" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the QRemote for QuickBooks option and click on the Finish button. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step3.png" alt="" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Configure the DSN, enter the name "QODBC-Excel," and provide the IP address and Port as listed under "QRemote Server."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step4.png" alt="" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we can see the newly created DSN "QODBC-Excel" in the System DSN list. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step5.png" alt="" width="464" height="388" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">2) Machine B of a 64-bit OS has 32-bit Excel - create a DSN "QODBC-Excel" under 32-bit ODBC Administrator/Manager: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Start &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source:</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step1.png" alt="" width="235" height="216" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Go to the "System DSN" Tab &gt;&gt; Click on the Add button to create a new DSN "QODBC-Excel."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step2.png" alt="" width="469" height="386" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the QRemote for QuickBooks option and click on the Finish button. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step3.png" alt="" width="475" height="349" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Configure the DSN, enter the name "QODBC-Excel," and provide the IP address and Port as listed under "QRemote Server."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step4.png" alt="" width="718" height="510" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we can see the newly created DSN "QODBC-Excel" in the System DSN list. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step5-32.png" alt="" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">3) Machine C of 32-bit OS has 32-bit Excel - create a DSN "QODBC-Excel" under 32-bit ODBC Administrator/Manager: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Start &gt;&gt; QODBC Driver for use with QuickBooks &gt;&gt; Configure QODBC Data Source:</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step1.png" alt="" width="235" height="216" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Go to the "System DSN" Tab &gt;&gt; Click on the Add button to create a new DSN "QODBC-Excel."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step2.png" alt="" width="469" height="386" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Select the QRemote for QuickBooks option and click on the Finish button. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step3.png" alt="" width="475" height="349" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Configure the DSN, enter the name "QODBC-Excel," and provide the IP address and Port as listed under "QRemote Server."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step4.png" alt="" width="718" height="510" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now we can see the newly created DSN "QODBC-Excel" in the System DSN list. </span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step5-32.png" alt="" width="471" height="389" /></div>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now you can use the same Excel file on the above machine, whether machine 32 or 64-bit machine. Also, you can use the same Excel file on different architectures (i.e., you can use a 32-bit Excel file on 64-bit Excel and vice-versa) </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">To apply the newly created DSN to old Excel files.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Open the Excel file. Please go to the DataTab &amp; click on "Connections."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step6.png" alt="" width="1133" height="569" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">You can see existing connection details. Please click on "Properties."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step7.png" alt="" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please select the connection name &amp; remove it.</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step8.png" alt="" width="418" height="503" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now manually write the newly created DSN name for this example, "QODBC-Excel," &amp; click "OK."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step9.png" alt="" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Now you can see updated connection details. Please click on "close."</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step10.png" alt="" width="575" height="395" /></div>
<p><span style="font-family: Arial,Helvetica,sans-serif;">By clicking on the "Refresh All" button, you will get updated data from the newly created DSN.</span></p>
<div><img style="border: 0px none; display: block; margin-left: auto; margin-right: auto;" src="//support.flexquarters.com/esupport/newimages/Excel3264/step11.png" alt="" width="1031" height="475" /></div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-ALL] How to execute SP_OPTIMIZEUPDATESYNC or SP_OPTIMIZEFULLSYNC for Selected Tables]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2459]]></link>
<guid isPermaLink="false"><![CDATA[8bdb5058376143fa358981954e7626b8]]></guid>
<pubDate><![CDATA[Fri, 05 Oct 2012 15:20:02 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[There are multiple ways to execute SP_OPTIMIZEUPDATESYNC or SP_OPTIMIZEFULLSYNC for selected/multiple tables.
For a Single Execution, follow the steps below.
 Click on "Start" and "Programs" and locate QODBC Driver for the QuickBooks program group. Clic...]]></description>
<content:encoded><![CDATA[<p>There are multiple ways to execute SP_OPTIMIZEUPDATESYNC or SP_OPTIMIZEFULLSYNC for selected/multiple tables.</p>
<p>For a Single Execution, follow the steps below.</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Click on <strong>"Start"</strong> and <strong>"Programs"</strong> and locate <strong>QODBC Driver for the QuickBooks</strong> program group. Click on the <strong>QODBC Test Tool</strong> icon to launch the program supplied with QODBC. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2459/Q1.png" alt="" /></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">To establish a connection, select&nbsp;<strong>"QuickBooks Data"</strong> -&gt; DSN from the dropdown list and click on <strong>"Connect."</strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2459/Q2.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">This will connect you to the current company file opened by QuickBooks. After you click <strong>Connect,&nbsp;</strong>if this is the first time QODBC has used this company file, you will receive a pop-up from QuickBooks asking you to allow QODBC to run. Choose the <strong>Yes, Always</strong> option, and check the Sensitive data option.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Once you are connected, type SP_OPTIMIZEUPDATESYNC or SP_OPTIMIZEFULLSYNC and click on <strong>"Run."</strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2459/Q3.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">After execution, the&nbsp;following message will appear: "Total Number of Records 0."</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://support.flexquarters.com/esupport/newimages/2459/Q4.png" alt="" /></span></p>
<p>&nbsp;</p>
<p><strong>For Recurring / Scheduled Execution, follow the steps below.</strong></p>
<p>( ONLY IF YOU WOULD LIKE TO SCHEDULE OR CREATE A BAT TO RUN OPTIMIZER FOR SELECTED/MULTIPLE TABLES QUICKLY)</p>
<p>In the example below, we are achieving it by creating a VBScript.</p>
<p>You can create a script/exe/VBA code and execute SP_OPTIMIZEUPDATESYNC or SP_OPTIMIZEFULLSYNC for a select table.</p>
<p>In this example, we are creating a VBScript, saving it to e:\, and naming it OptimizeSelected.VBS</p>
<p>(You may change the name and drive location of your choice. Please apply the same modification to the execution statement)</p>
<p>&nbsp;</p>
<p><strong>Below is the source of the OptimizeSelected.VBS</strong></p>
<p><br />'*****************************************<br />Const adopt static = 3<br />Const adLockOptimistic = 3<br /><br />Dim oConnection<br />Dim oRecordset<br />Dim sMsg<br />Dim sConnectString<br />Dim sSQL<br /><br />sConnectString = "DSN=QuickBooks Data;OLE DB Services=-2;"<br />Set oConnection = CreateObject("ADODB.Connection")<br />Set oRecordset = CreateObject("ADODB.Recordset")<br /><br />oConnection.Open sConnectString<br />sSQL = "SP_OPTIMIZEUPDATESYNC Invoice"<br />oRecordset.Open sSQL, oConnection, adOpenStatic, adLockOptimistic<br /><br />sSQL = "SP_OPTIMIZEUPDATESYNC Customer"<br />oRecordset.Open sSQL, oConnection, adOpenStatic, adLockOptimistic<br /><br />sSQL = "SP_OPTIMIZEUPDATESYNC Bill"<br />oRecordset.Open sSQL, oConnection, adOpenStatic, adLockOptimistic<br /><br />Set oRecordset = Nothing<br />oConnection.Close<br />Set oConnection = Nothing</p>
<p>'*****************************************</p>
<p>&nbsp;</p>
<p><strong>How to execute</strong></p>
<p>&nbsp;</p>
<p>For a 64-bit machine, you can execute this using the command below</p>
<p>C:\Windows\SysWOW64\cmd.exe /c cscript e:\OptimizeSelected.vbs</p>
<p>&nbsp;</p>
<p>For a 32-bit machine, you can execute this using the command below</p>
<p>C:\Windows\System32\cmd.exe /c cscript e:\OptimizeSelected.vbs</p>
<p>&nbsp;</p>
<p>Also, Refer</p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2416/0/troubleshooting-vb-demo-is-missing">VB Demo Missing</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2461">TroubleShooting: Cannot Get Full Records From QuickBooks</a></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2357/48/how-to-switch-off-or-reset-the-qodbc-optimizer">How to switch OFF or RESET the QODBC Optimizer </a></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create Link Server with MS SQL 2005/2008/2012/2016 64-bit Using QODBC/QRemote]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2458]]></link>
<guid isPermaLink="false"><![CDATA[54b2b21af94108d83c2a909d5b0a6a50]]></guid>
<pubDate><![CDATA[Thu, 04 Oct 2012 12:39:34 +0000]]></pubDate>
<dc:creator />
<description><![CDATA[
How to create a Link Server with MS SQL 2005/2008/2012/2016 64-bit Using QODBC/QRemote
&nbsp;For 32-bit Refer: How to create Link Server with MS SQL 2005/2008/2012/2016 32-bit Using QODBC/QRemote
Start your "SQL Server Management Studio"
Log in to yo...]]></description>
<content:encoded><![CDATA[<div class="WordSection1">
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">How to create a Link Server with MS SQL 2005/2008/2012/2016 64-bit Using QODBC/QRemote</span></h2>
<p><strong>&nbsp;</strong>For 32-bit Refer: <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514" target="_blank">How to create Link Server with MS SQL 2005/2008/2012/2016 32-bit Using QODBC/QRemote</a></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Start your "</span>SQL Server Management Studio"</p>
<p class="MsoNormal">Log in to your SQL Server.</p>
<p class="MsoNormal">On the left-hand side panel, you will find the Serve. Right-click on the "SQL Server" and Select Properties.&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image001.png" alt="" /></p>
<p class="MsoNormal">Please Verify that your SQL Server is 64-bit.&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image003.jpg" alt="" /></p>
<p style="mso-outline-level: 5;"><span style="mso-bidi-font-weight: bold;">64 and 32-bit words are kept separate in the Microsoft Windows Operating System. QuickBooks 2021 and older versions are 32-bit applications, so a 32-bit ODBC driver is required to communicate with them.</span></p>
<p style="mso-outline-level: 5;">QRemote works as a bridge between 64-bit Applications and the 32-bit QODBC Driver by communicating data calls between the two worlds using TCP/IP protocol. QRemote allows 64-bit Web Servers and 64-bit applications to talk to QuickBooks Live for the first time via the QODBC Driver.</p>
<p style="mso-outline-level: 5;"><span style="mso-bidi-font-weight: bold;">Since a 64-bit application cannot talk to a 32-bit driver, we have to do a bit of magic to get the worlds to connect. We call it QRemote. </span></p>
<p style="mso-outline-level: 5; text-autospace: ideograph-other; margin: 5.0pt .5in 5.0pt .5in;"><span style="mso-bookmark: _Toc85262408;"><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">QRemote has two components: "QRemote Client Driver for QODBC" and "<span class="spelle">QRemote</span> Server for QODBC."</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></span></p>
<p style="mso-outline-level: 5; text-autospace: ideograph-other; margin: 5.0pt .5in 5.0pt .5in;"><span style="mso-bookmark: _Toc85262408;"><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">QRemote Client Driver: Allows service-based applications and 64-bit applications to connect to the QRemote Server and send the request to the QRemote Server for processing.&nbsp;&nbsp;</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></span></p>
<p style="mso-outline-level: 5; text-autospace: ideograph-other; margin: 5.0pt .5in 5.0pt .5in;"><span style="mso-bookmark: _Toc85262408;"><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">QRemote <span class="GramE"><span class="grame">Server:</span></span> Processes requested instructions from QRemote Client to QuickBooks using QODBC DSN Driver.</span></span><span style="mso-bidi-font-weight: bold;">&nbsp;</span>&nbsp;</p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-outline-level: 4;"><strong><span style="font-size: 12pt; font-family: 'Times New Roman','serif';">Start "QRemote Server for QODBC" from the start menu.&nbsp;<span class="GramE">( If</span> <span class="SpellE">QRemoteServer</span> is not running )</span><span style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'; mso-font-kerning: 0pt;">&nbsp;</span></strong>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image004.png" alt="" />&nbsp;</p>
<p>Double-click the QRemote Server icon from the system tray&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image005.png" alt="" /><br style="mso-ignore: vglayout;" /> <span style="font-size: 12.0pt; line-height: 107%; font-family: 'Times New Roman','serif';">&nbsp;</span>&nbsp;</p>
<p>QRemote Server Main screen shows the IP address and port, allowing the QRemote Client to connect.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image007.jpg" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Note the IP address and Port number listed on the QRemote Server "Event Logs " window.</span></p>
<h4><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Create a new DSN entry/or configure the existing one</span></h4>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Navigate to Start Menu, QODBC Drivers for Use with QuickBooks, and click</span></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Configure QODBC Data Source 64-bit</span><span style="font-size: 12.0pt; line-height: 107%; font-family: 'Times New Roman','serif';">&nbsp;</span>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image008.png" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">"QuickBooks Data 64-bit QRemote" is the default DSN created when installing QODBC. (Earlier, it was "QRemote Data 64-bit")</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image009.png" alt="" /></p>
<p class="MsoNormal"><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Configure the DSN and provide the IP address and Port as listed under "QRemote Server."</span>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image011.png" alt="" /></p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Under the QRemote for QuickBooks &ndash; <span class="GramE">Client<span style="mso-spacerun: yes;">&nbsp; </span>DSN</span> configuration screen, please fill in the following information</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Data Source <span class="GramE">Name:</span> Name of your DSN entry</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Server:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> IP address displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="GramE"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Port:</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;"> Port displayed on QRemote Server</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption <span class="GramE">Key/Password:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption Key/Password is set to "QODBC#QRemote$1". In case you want to change your Encryption Key/Password, you can configure your encryption key on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Encryption<span class="GramE">:&nbsp;</span></span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">(By Default, Encryption is set to Off. In case you want to use encrypted data transfer between QRemote client and <span class="SpellE">QRemoteServer</span>, you can configure encryption on&nbsp;<span class="SpellE">QRemoteServer</span> and use the same on QRemote Client DSN)</span><span style="mso-bidi-font-weight: bold;">&nbsp;</span></p>
<p style="margin-left: 1.5in; text-indent: -.25in; mso-outline-level: 5;"><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold;">&middot;</span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-font-weight: bold;">Remote <span class="GramE"><span class="grame">DSN:</span></span>&nbsp;select "QuickBooks Data" DSN from the list.&nbsp;<span class="GramE">( Make</span> sure QRemote Server is running)</span><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-weight: bold;">&nbsp;</span>&nbsp;</p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Start Your QuickBooks.</span></h3>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image013.jpg" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Run MS SQL 2005 Dev / 2008 / 2012 / 2016 (64-bit) and Login</span></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;"> Run <strong>SQL Server Management Studio. You'd</strong>&nbsp;better choose SQL Server Authentication and input the right name and password.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image015.jpg" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Under SQL Server Management <span class="GramE">Studio,</span> Navigate to "Server Objects" -&gt; Linked Server<span style="mso-spacerun: yes;">&nbsp; </span>-&gt; New Linked Server.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image016.jpg" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">&nbsp;OR</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image017.png" alt="" /></p>
<p class="MsoNormal">Provide the "New Linked Server" information: Insert your desired Linked Server Name, select&nbsp;the <strong>Microsoft OLE DB Provider for ODBC Drivers</strong>&nbsp;from the provider list &amp;&nbsp;insert "QODBC" as the Product name &amp; "QuickBooks Data 64-bit QRemote" as the Data Source &amp; click the "OK" button.&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image019.jpg" alt="" /></p>
<p class="MsoNormal">&nbsp;</p>
<div class="WordSection1"><strong>QODBC Desktop for QuickBooks Desktop</strong></div>
<div class="WordSection1">To use QODBC Desktop with Microsoft SQL Server 64-Bit, use "QuickBooks Data 64-Bit QRemote".</div>
<div class="WordSection1">To use QODBC Desktop with Microsoft SQL Server 32-Bit, use "QuickBooks Data QRemote".
<p>&nbsp;</p>
<strong>QODBC Online for QuickBooks Online</strong></div>
<div class="WordSection1">To use QODBC Online with Microsoft SQL Server 64-Bit, use "QuickBooks Online 64-Bit".</div>
<div class="WordSection1">To use QODBC Online with Microsoft SQL Server 32-Bit, use "QuickBooks Online QRemote".
<p>&nbsp;</p>
<strong>QODBC Desktop for QuickBooks POS (Point of Sale)</strong></div>
<div class="WordSection1">To use QODBC POS with Microsoft SQL Server 64-Bit, use "QuickBooks POS 64-Bit QRemote".</div>
<div class="WordSection1">To use QODBC POS with Microsoft SQL Server 32-Bit, use "QuickBooks POS QRemote".
<p>&nbsp;</p>
</div>
<p class="MsoNormal">Clicking OK will start establishing a connection to QuickBooks. Please&nbsp;accept the certificate to allow data access to QuickBooks.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image021.jpg" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">&nbsp;</span><span style="font-size: 12.0pt; line-height: 107%; font-family: 'Times New Roman','serif';">&nbsp;</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image023.jpg" alt="" /></p>
<p class="MsoNormal">After you have accepted the certificate, the Linked Server will be shown under the "Linked Server" Category.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image024.png" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">&nbsp;</span>Configure MSDASQL (Microsoft OLE DB Provider for ODBC Drivers)</p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">&nbsp;&nbsp; The OLE DB provider options for managing linked queries can be set in SQL Server Management Studio. In <strong>Object <span class="GramE">Explorer,</span></strong> right-click the provider name and select <strong>Properties</strong> for MSDASQL.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image025.png" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;"><strong>The dynamic parameter </strong>should be checked to allow parameter queries.&nbsp;<strong>Level zero&nbsp;</strong><span style="box-sizing: border-box; margin: 0px; padding: 0px;">should only</span>&nbsp;be checked to allow four-part naming to work.&nbsp;<strong>Allow <span class="SpellE">InProcess</span> </strong>should be checked to help performance.&nbsp;<strong>Non-transacted updates </strong>should be reviewed if you want to be able to update QuickBooks data. The index<strong>&nbsp;as an access path</strong> should be checked to help performance.&nbsp;<strong>Disallow Adhoc</strong></span> accesses should be <span class="style4">unchecked</span> to allow OPENQUERY to function.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image027.jpg" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">QODBC/QRemote is ready to use with SQL Server/Linked Server</span></h3>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Execute below query</span></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Select * from QR<span class="SpellE">emote</span>&hellip;Company </span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image029.jpg" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">&nbsp;</span>On each <span class="GramE">query,</span>&nbsp;the QRemote Server logs the events. If you are facing any issues or delays in <span class="SpellE">response</span>, please refer to the QRemote Server Event Logs for details on which stage is taking more time.</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image031.jpg" alt="" /></p>
<p class="MsoNormal">Another Test</p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">Select * from QR<span class="SpellE">emote</span>&hellip;Account</span></p>
<p>&nbsp;</p>
<p>or</p>
<p>&nbsp;</p>
<p>Select * from OpenQuery (QRemote, 'select * from Account')</p>
<p>&nbsp;</p>
<p>Note: If your SQL statement contains a WHERE clause, use OpenQuery. When using the OpenQuery 'where' clause, filters will be sent to QODBC, and data retrieval will be faster.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image033.jpg" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">On each <span class="GramE">query,</span>&nbsp;the QRemote Server logs the events. If you are facing any issues or delays in <span class="SpellE">response</span>, please refer to the QRemote Server Event Logs for details on which stage is taking more time.</span>&nbsp;</p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image035.jpg" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Errors and Solutions</span><strong style="mso-bidi-font-weight: normal;"><span style="font-size: 12.0pt; line-height: 107%; font-family: 'Times New Roman','serif';">&nbsp;</span></strong></h3>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">"[QODBC] <span class="GramE">QODBC <span style="mso-spacerun: yes;">&nbsp;</span>Server</span> Edition License Required."</span></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">The QODBC CDKEY License you have activated is not of the Server edition.&nbsp;<span style="mso-spacerun: yes;">Please get in touch with our Sales or Support team</span><span class="GramE">.&nbsp;</span><a title="http://support.flexquarters.com/esupport/" href="http://support.flexquarters.com/esupport/">http://support.flexquarters.com/esupport/</a></span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image037.jpg" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">"[QODBC] Evaluation Expired" OR&nbsp;"Evaluation Expired. QRemote requires a QODBC license. Please purchase a QODBC or QRemote license."&nbsp;&nbsp;</span></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">You have run out of the 30-day trial/evaluation version or are using the QODBC Read-Only Edition for QuickBooks Enterprise. If&nbsp;you still wish to evaluate QODBC, please get in touch with our Sales team.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image039.jpg" alt="" /></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">"QRemote" or "QODBC" contains multiple tables that match the table "<span class="SpellE">TableName.</span>"</span></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">OR</span></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">An invalid schema or catalog was specified for the provider "MSDASQL" for the linked server "QRemote."</span></p>
<p><span style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast;">This means you have not configured the "MSDASQL" provider. Please refer to the above steps and configure the "MSDASQL" provider.</span></p>
<p align="center"><img src="//support.flexquarters.com/esupport/newimages/QRemoteSQLServer64Bit/image041.jpg" alt="" /></p>
<p class="MsoNormal">&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Problem Description:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I have the read-only version included in the enterprise product. I can connect from the VB demo and Excel, but not from the SQL server (I cannot always open Reckon Accounts). All I want to do is export data to the SQL server.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">I have made the SQL server process log on as the same Windows user as Reckon Accounts and QODBC. I am not running RA, QODBC, or SQL Server as a Windows administrator, and I have UAC turned on. Often, during the query, a box pops up trying to start:<br />c:\Program Files (x86)\intuit\Reckon Accounts 2015\DBManagerExe.exe StartServer 64</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><br />It pops up twice, and I choose yes. I have also tried to run it manually.<br />c:\Program Files (x86)\intuit\Reckon Accounts 2015\DBManagerExe.exe StartServer 32.</span>&nbsp;</p>
<h3><span style="font-family: Arial,Helvetica,sans-serif;"><span style="color: #0066cc;">Solution:</span></span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please restart your machine &amp; please run Reckon, log in to your company file with Admin user &amp; try to connect using your application.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">To use DCOM Server &amp; SQL Server with QODBC, you need a QODBC Server Edition license.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Please use the QRemote Server instead of the DCOM Server to connect to the SQL Server using QODBC. Please get in touch with your QODBC dealer to purchase the QODBC Server Edition license.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> For licensing details, please refer to&nbsp;<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2568" target="_blank">QODBC with QRemote Licensing Information</a>.<br /> </span></p>
<p>Please Refer:</p>
<p><a title="Edit" href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2513" target="_blank">Using QuickBooks data with MS SQL Server using QODBC Driver and QRemote (Video)</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2439/0/qodbc-reports-architecture-mismatch-problem-when-connecting" target="_blank">QODBC Reports Architecture Mismatch Problem When connecting</a></p>
<p>Keywords: SQL Server 2008 Management Studio, SQL Server 2016 Management Studio, SQL Server 2012 Management Studio, SQL Server Management Studio, SSMS</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use DTS to Load QuickBooks Data into MS SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2379]]></link>
<guid isPermaLink="false"><![CDATA[add217938e07bb1fd8796e0315b88c10]]></guid>
<pubDate><![CDATA[Wed, 14 Apr 2010 06:21:50 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[Introduction
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The following documentation was written by Andrew Rachmiel at BrightStar Partners, Inc., to guide in setting up a Microsoft SQL server environment to store the QuickBooks database tables. 
 &nbsp;&nbsp;&nbsp;&...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Introduction</span></h2>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The following documentation was written by Andrew Rachmiel at BrightStar Partners, Inc., to guide in setting up a Microsoft SQL server environment to store the QuickBooks database tables. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The purpose of writing this document was to share the information learned in our setup of the environment in-house and will provide a tremendous start for anyone interested in implementing this technique. Note that this was written in order to provide a SQL server database environment for creating reports off of QuickBooks data with Cognos software. BrightStar Partners is a Cognos implementation partner, and the Cognos content will be excluded from this document but is available by contacting him at <a href="mailto:arachmiel@brightstarpartners.com">arachmiel@brightstarpartners.com</a>.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">System Environment </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This was written using QuickBooks 2004 Professional Services Edition, QODBC Driver for QuickBooks 7.00.00.207, and SQL Server 2000. </span></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Setup of QODBC</span></h2>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; It is assumed that the documentation "<a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2378">How to create Link Server with MS SQL 2000</a>" provided on this forum for setting up your connection to QuickBooks has been followed. Therefore, it will not be described in this document.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Microsoft SQL Server 2000</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Database Creation</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The first step in this process is to create a new Microsoft SQL Server database.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I created a database called QB, and I would recommend, if possible, that this name is used so that the DTS scripts work with little to no customization. Please refer to the Microsoft SQL Server 2000 documentation for information on how to create a new database.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Database Tables</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Attached is a .sql file that can be executed in <strong>Microsoft SQL Query Analyzer</strong>. This script should be run against the newly created database to ensure that the tables are created in this database. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Note that we have several custom fields in our environment that will be created as attributes in the applicable tables, and their existence will NOT impact any environment that does not have them.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/dts1.JPG" alt="" width="745" height="275" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; The whole script can view by clicking <a href="images/DatabaseTables.sql.txt">here</a>.</span></p>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">DTS Setup</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; In order to load the data from QuickBooks, a Microsoft DTS job has been created. The job will truncate all tables, reload each table one at a time, and also load transaction details (which is used by us in our Cognos report creation). The transaction detail load leverages a QB stored procedure that was learned through the QODBC.com website. The remainder of the loads is straight Select * from xxx statements.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp; For the jobs to run in a rapid fashion, it is essential that the tables are loaded via the Optimize feature in the QODBC driver. A batch file has been created to facilitate this and the execution of the DTS process.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> 1. Within SQL Server <strong>Enterprise Manager</strong>, navigate to the <strong>Data Transformation Services</strong>. Right, Click and select <strong>Open Package&hellip;</strong></span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/dts2.JPG" alt="" width="470" height="189" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">2. Navigate to the provided .dts package file and select it.<br /> <br />3. At the following screen, select the 2/8/07 version and&nbsp;<strong>OK</strong>. This will open it in DTS.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="oneadmin/_files/Image/Screen%20Dump%20Upload%20Folder/dts3.JPG" alt="" width="411" height="310" /></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">4. Save the new DTS Package with whatever name you desire.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">5. Modify the connections in the package to ensure that they work in your environment.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp; a. Connection 1</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp; b. Connection 2</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp; c. Connection 3</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp; d. Connection 4</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">6. Save and close the package.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Using Microsoft DTS with QODBC</span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Automating the Load</span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; A batch file can be created to automate the load, and it can be scheduled in any scheduling tool to run as frequently as desired. Note that QuickBooks must be open with the company file you are using before running the batch.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">1. Copy the contents below into notepad and save them as <strong>RunQODBC.bat</strong></span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp; C:<br />&nbsp;&nbsp;&nbsp; REM Updating the QuickBooks Optimization file<br />&nbsp;&nbsp;&nbsp; cd "C:Program FilesQODBC Driver for QuickBooks."<br />&nbsp;&nbsp;&nbsp; qodbcful.exe<br />&nbsp;&nbsp;&nbsp; REM<br />&nbsp;&nbsp;&nbsp; REM Executing the DTS Package<br />&nbsp;&nbsp;&nbsp; dtsrun /S &lt;SQL SERVER&gt; /E /N "&lt;DTS PACKAGE NAME&gt;"<br />&nbsp;&nbsp;&nbsp; exit</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">2. Ensure that the items in &lt;SQL SERVER&gt; and &lt;DTS PACKAGE NAME&gt; are replaced with your environment information.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">To download the DTS package and SQL file, click&nbsp;<a href="images/LoadQODBCtoSQLServer.zip">here</a> (6Mb).</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create Link Server with MS SQL 2000]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2378]]></link>
<guid isPermaLink="false"><![CDATA[3837a451cd0abc5ce4069304c5442c87]]></guid>
<pubDate><![CDATA[Fri, 09 Apr 2010 07:38:44 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[System Environment 
Window XP Service Pack 2 
 QuickBooks Enterprise Solutions 9.0 (USA Version) 
 Microsoft SQL Server 2000 Personal Edition 
 QODBC 9.00.00.261 Version 
We recommend using QRemote.
For SQL Server 64-bit, Click Here "How to create L...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">System Environment </span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">Window XP Service Pack 2 </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> QuickBooks Enterprise Solutions 9.0 (USA Version) </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Microsoft SQL Server 2000 Personal Edition </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> QODBC 9.00.00.261 Version </span></p>
<p><br />We recommend using QRemote.</p>
<p>For SQL Server 64-bit, Click Here "<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458/" target="_blank">How to create Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a>."</p>
<p>For SQL Server 32-bit, Click Here "<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514" target="_blank">How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a>."</p>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Instructions</span></h2>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Running QODBC as a Linked server requires the Server Edition of QODBC. The QODBC Server Edition includes DCOM servers required to allow QODBC to run as a system service to find the instance of QuickBooks running on the server console. QuickBooks must be running with the company file opened on the system console.</span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Two Choices Setting up Linked Table with MS SQL Server </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; You have two choices in setting up QODBC Linked Tables with Microsoft SQL Server. The first is using the QODBC DCOM Servers. The second is using the Remote Connector Option. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong><span style="color: #990000;">DCOM Servers </span></strong><br /> <br />&nbsp;&nbsp;&nbsp;&nbsp; The DCOM Servers require QuickBooks to run on the Server Console (Local session), not a Terminal Services session. They are more secure and require no extra overhead but are more rigid in how it is set up, and it cannot be easy to configure the security of the DCOM servers.</span></p>
<pre>Also refer : <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2508">DCom Option / Server Edition Tab missing in QODBC Setup Tab</a></pre>
<p><span style="color: #990000; font-family: Arial,Helvetica,sans-serif;"><strong>Remote Connector Option</strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; The Remote Connector option allows the window that is running QuickBooks to be anywhere that is accessible via TCP/IP. That means QuickBooks can be run in a Terminal Sessions window, on another computer on your LAN, or anywhere on the WEB. If your data are transmitted over the internet, we recommend you upgrade the Remote Connector to the SSL secure version. The instructions on setting up the Remote Connector version are found in <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1506">How to use Remote Connector</a>.</span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Main Steps to Creating Link Server with MS SQL 2000 </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; To create a linked server with MS SQL 2000, there are three main steps: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; 1. Create a new QuickBooks Data Source and connect it to QuickBooks. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; 2. Create a linked server with MS SQL 2000</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; 3. Execute the test query using created link server. </span></p>
<p><span style="color: #990000; font-family: Arial,Helvetica,sans-serif;">[ Note: Our test shows that the Link Server failed to be created successfully with the MS SQL Express Edition. But in MS SQL Server 2000 Personal Edition, it works fine. ] </span></p>
<h2>&nbsp;</h2>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Create a new data source and connect to QuickBooks </span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Create a new QuickBooks Data Source </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">1. Run <strong>ODBC Data Source Administrator</strong> via:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp; <strong>Start</strong> -&gt; <strong>All Programs</strong> -&gt; <strong>QODBC Driver for use with QuickBooks</strong> -&gt; <strong>Configure QODBC Data source</strong> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 1-1.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">2. Click <strong>Add</strong>... button to add a new system DSN with QODBC Driver for QuickBooks named "SLSTest." </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 1-2.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">3. Configure the source company file </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp; Now the QODBC setup screen will become available. First, name this new DSN as 'SLSTest.' Then select Locate a company file option. This allows you to set up the full path to where your QuickBooks data file resides. For example: &ldquo;C:\Program Files\Intuit\QuickBooks Pro\Myapp.qbw&rdquo;. [ Note: To use the QODBC auto-login unattended mode, you must specify the full path of the QuickBooks company file you wish to connect to.] </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 1-3.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp; The Browse button will let you choose your QuickBooks company file from its folder. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 1-4.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">4. Configure the QODBC basic setup for using DCOM Server </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp; You must turn on the use of the DCOM servers. You do this by running the QODBC Setup Screen and selecting the Server Edition tab page. Check the checkbox for Use DCOM Servers. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 1-5.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp; If you're working with the QuickBooks sample company file, this option is available to check even if you do not have a Server Edition license. It will be ignored if you open a standard company file and do not have a QODBC Server Edition or evaluation. [ Note: If you cannot update using QODBC as an SQL Linked Server, you can also try checking the Simulate Transaction Support for SQL Server in the QODBC Setup Screen Advanced Tab Page - The option is not to support Transactions. This is a global driver setting. Checking this box will turn transaction support on so that Microsoft SQL Server will allow updates when using QODBC as a linked server. QODBC doesn't support transactions. It simply simulates the turning on and off of transactions. ] </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 1-6.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">5. Configure the Optimizer Setup of QODBC </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp; Select the&nbsp;<strong>Dirty Reads</strong> option and check to&nbsp;<strong>Optimize data after an Insert or Update</strong> at the same time (or select the&nbsp;<strong>Real Time</strong> option and check to&nbsp;<strong>Optimize data after an Insert or Update</strong> at the same time). These setups relate to executing an UPDATE query using a linked server, and more details will be recorded in this article. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 1-7.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Note</strong>: A linked server runs queries as multiple threads, and the QODBC optimizer is single-user only. So you need to set up a different optimizer file for the SQL Server to use than the other desktop applications. To do this, set up a separate System DSN (see: <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1929">How to create or configure a QODBC DSN</a>) and specify a fixed location of the optimizer database folder for SQL Server to use (like C:\Program Files\QODBC Driver for QuickBooks) instead of the default %UserProfile% method. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; To repair an optimized table (for example, the Invoice table), you can run the following: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; SELECT * FROM OPENQUERY(QUICKBOOKS, 'SELECT * FROM Invoice <strong>VERIFY</strong> WHERE TxnID = "x"' ) </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Another way of doing this is simply logging in to the account under which the SQL Server Agent runs. Bring up the QODBC Setup Screen, and under the OPTIMIZER tab, click <strong>Reload all data</strong> - at this point, you will have &lt;companyname&gt;.opt file in the folder. </span></p>
<p><span style="color: #990000; font-family: Arial,Helvetica,sans-serif;"><strong>Automatic DCOM Configuration </strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp; Click here: <strong><a href="http://www.qodbc.com/download/qodbcSetDCOM.zip">qodbcSetDCOM.zip </a></strong> to download the following automated tools.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>&nbsp;&nbsp; Dcpinst.exe </strong> is an installation setup for the automated DCOM configuration object. This needs to be run first and only once. <strong>QODBCSetDCOM.VBS </strong> is a VB script that uses the installed configuration object to set up the DCOM Servers. It will reset and automatically add all necessary security each time it is run. The script can be edited if you need to change the Accounts it is configuring. The new settings will not take effect until the DCOM servers ( <strong>qbXMLRPeQODBCInteractive.exe </strong> and <strong>qbXMLRP2eQODBCInteractive.exe </strong>) are removed from memory. Rebooting is the simplest way to accomplish this, but running the Windows Task Manager and Ending Process on any running copies will also work. Test your DCOM setup using one of the following: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong> &nbsp;&nbsp; IIS users</strong> download <strong><a href="http://www.qodbc.com/download/TestDCOM_asp.zip">TestDCOM.ASP </a></strong>&nbsp;&nbsp; </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong> &nbsp;&nbsp; PHP users</strong> download <strong><a href="http://www.qodbc.com/download/TestDCOM_php.zip">TestDCOM.PHP </a></strong>&nbsp;&nbsp; </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong> &nbsp;&nbsp; Cold Fusion users</strong> download <strong><a href="http://www.qodbc.com/download/TestDCOM_cfm.zip">TestDCOM.CFM</a></strong> </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong><span style="color: #990000;">Setup Auto-Login Unattended Mode </span></strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong> &nbsp;&nbsp; </strong><span class="style7">First, set up the OQDBC DSN as listed before, and you will also have to authorize QODBC to log in to QuickBooks automatically. To do this, you must start QuickBooks as the Administrator. Go to the <strong>Edit</strong> -&gt; <strong>Preferences</strong> menu item in QuickBooks. Then select the <strong>Integrated Applications</strong> icon from the left side. </span></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 1-8.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp; Then highlight one application (usually <strong>FLEXquarters QODBC</strong>), press the <strong>Properties</strong> button, and click on the Company tab. Check the <strong>Allow this application to access this company file</strong> option. And check the <strong>Allow this application to lologinutomatically</strong> and select a user from the <strong>Logins</strong> drop-down. You will need to repeat this for all the applications on the list that you use. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 1-9.jpg" alt="" /></span></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Create Link Server with MS SQL 2005 </span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Run MS SQL 2000 Personal Edition Enterprise Manager</span></h3>
<p><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 2-1.jpg" alt="" /></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Create Link Server </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">1. Using Enterprise Manager, select your SQL server -&gt; <strong>Security</strong> -&gt; <strong>Linked Servers,</strong> then right-click (or Action menu) and select <strong>New Linked Server...</strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 2-2.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">2. Now, the screenshot below shows a simple Link Server setup: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 2-3.jpg" alt="" /></span></p>
<p><span style="color: #990000;"><strong><span style="font-family: Arial,Helvetica,sans-serif;">Setup Provider Options </span></strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> Before pressing <strong>OK</strong>, select <strong>Provider Options... </strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong> &nbsp;&nbsp; Dynamic parameters</strong> should be checked to allow parameter queries. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp; <strong>Level zero only&nbsp;</strong>should be checked to allow four-part naming to work. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp; <strong>Allow InProcess&nbsp;</strong>should be checked to help performance. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp; <strong>Non-transacted updates </strong>should be checked if you want to be able to update QuickBooks data. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp; <strong> Index as access path</strong> should be checked to help performance. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 2-4.jpg" alt="" /></span></p>
<p><strong><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp; Disallow adhoc accesses&nbsp;</span></strong><span style="font-family: Arial,Helvetica,sans-serif;">should be <span style="color: #990000;">unchecked</span> to allow OPENQUERY to function.&nbsp; </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 2-5.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp; Then <strong>Apply</strong> all the settings for <strong>Provider Options</strong>.</span></p>
<p><span style="color: #990000; font-family: Arial,Helvetica,sans-serif;"><strong>Setup Security Options </strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp; Use the default option on <strong>security</strong>.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 2-6.jpg" alt="" /></span></p>
<p><span style="color: #990000; font-family: Arial,Helvetica,sans-serif;"><strong>Setup Server Options </strong></span></p>
<p><span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp; Use the default Server Options.</span></p>
<p><span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 2-7.jpg" alt="" /></span></p>
<p><span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp; After finishing, all the setups, press <strong>OK</strong> to finish. </span></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial,Helvetica,sans-serif;">Test with the Created Link Server </span></h2>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Browse tables using the link server</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> 1. Press the <strong>Tables</strong> icon on the left side under QODBC brunch. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 3-1.jpg" alt="" /></span></p>
<p><span style="color: #990000; font-family: Arial,Helvetica,sans-serif;"><strong>Application Certificate for the first connection </strong></span></p>
<p>&nbsp;&nbsp;&nbsp; If it is the<span style="font-family: Arial,Helvetica,sans-serif;"> first time to connect using the newly created link server, QuickBooks must be running with your target company file open. When you click the <strong>Tables</strong> icon, a Certificate window will pop up. Check <strong>Yes, always; allow access even if QuickBooks is not running</strong> and <strong>Allow this application to access personal data such as Social Security Numbers and customer credit card information.</strong> , and then click <strong>Continue...</strong>&nbsp;and <strong>Done</strong> as follows: </span></p>
<p><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 3-2.jpg" alt="" /></p>
<p><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 3-3.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">2. If it succeeds, it will show all table names in QuickBooks.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 3-4.jpg" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Running Test Queries in SQL Query Analyzer</span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">1. Run SQL Query Analyzer and start <strong>SQL Server</strong></span></p>
<p><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 3-5.jpg" alt="" /></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">2. Execute a SELECT query below for the test: </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"> &nbsp;&nbsp;&nbsp; Select * from qodbc...bill</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp; The results show the SELECT succeed. </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 3-6.jpg" alt="" /></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">3. Execute an UPDATE with the OPENQUERY query below for the test: <br />&nbsp;&nbsp;&nbsp; The results show the UPDATE succeed.</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/MS SQL 2000 3-7.jpg" alt="" /></span></p>
<h3><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Some examples are based on a Link Server named QODBC </span></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT * FROM OPENQUERY(QODBC, 'SELECT * FROM Host') </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT * FROM QODBC...HOST </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT * FROM OPENQUERY(QODBC, 'SELECT * FROM HostSupportedVersions') </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT * FROM QODBC...HostSupportedVersions </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT * FROM OPENQUERY(QODBC, 'SELECT ListID, Name FROM Employee') </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT ListID, Name FROM QODBC...Employee </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT * FROM OPENQUERY(QODBC, 'SELECT ListID, Name FROM Customer') </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT ListID, Name FROM QODBC...Customer </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT * FROM OPENQUERY(QODBC, 'SELECT ListID, Name, CompanyName FROM Vendor') </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT ListID, Name, CompanyName FROM QODBC...Vendor </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT * FROM OPENQUERY(QODBC, 'SELECT Name, CompanyName FROM Vendor Where "Name" =''Bayshore Water''') </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">SELECT * FROM OPENQUERY(QODBC, 'sp_report CheckDetail show TxnType_Title, RefNumber_Title,Date_Title, Name_Title, Item_Title, Account_Title, PaidAmount_Title, OriginalAmount_Title, TxnType, RefNumber, Date, Name, Item, Account, PaidAmount, OriginalAmount parameters DateMacro = ''ThisMonthToDate''') </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">UPDATE OPENQUERY(QODBC, 'SELECT "Name", "CompanyName" FROM Vendor WHERE "Name" = ''Bayshore Water''') SET "CompanyName" = 'Bayshore Water, LLC' </span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;"><strong>Note</strong>: During our test, the UPDATE query using the link server can only work fine with the&nbsp;<strong>OPENQUERY</strong> tag but <span style="color: #990000;">failed</span> using the query below:</span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; UPDATE QODBC...Vendor SET "CompanyName" = 'Bayshore Water, LLC' WHERE "Name" = 'Bayshore Water' </span></p>
<h3><strong><span style="color: #0066cc; font-family: Arial,Helvetica,sans-serif;">Troubleshooting QODBC as a SQL Linked server </span></strong></h3>
<p><span style="font-family: Arial,Helvetica,sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Below is an SQL script that will test the DCOM Server setup. All components should have a "Successfully Created" description when everything is configured correctly. Follow the <a href="https://qodbc.com/aus" target="_blank">instructions</a> on this website for the Web Server Edition if you have difficulty with DCOM configuration. </span></p>
<p><span style="color: #990000; font-family: Arial,Helvetica,sans-serif;"><strong>Test DCOM Script (.vbs): </strong></span></p>
<p><span style="font-family: Arial,Helvetica,sans-serif;">DECLARE @oQBXMLrp int <br />DECLARE @iHR int <br />DECLARE @iCnt int <br />DECLARE @sSource varchar(255)&nbsp; <br />DECLARE @sDesc varchar(255) <br />DECLARE @sObjectName varchar(255) <br /> <br />SET @iCnt = 1 <br />SELECT "Current User: " = CURRENT_USER, " Time: " = CONVERT(char(30), CURRENT_TIMESTAMP) <br />WHILE @iCnt &lt; 6 BEGIN <br />SET @sObjectName = CASE @iCnt <br />WHEN 1 THEN 'QBXMLRPEQODBCInteractive.RequestProcessor' <br />WHEN 2 THEN 'QBXMLRP.RequestProcessor' <br />WHEN 3 THEN 'QBXMLRP2EQODBCInteractive.RequestProcessor' <br />WHEN 4 THEN 'QBXMLRP2.RequestProcessor' <br />ELSE 'Xerces.DOMDocument' <br />END <br />EXEC @iHR = sp_OACreate @sObjectName, @oQBXMLrp OUT <br />IF @iHR &lt;&gt; 0 BEGIN <br />EXEC sp_OAGetErrorInfo @oQBXMLrp, @sSource OUT, @sDesc OUT <br />SELECT "Object" = @sObjectName, "Function" = 'CreateObject', "HR" = convert(varbinary(4),@iHR), "Source" = @sSource, "Description" = @sDesc <br />END <br />ELSE BEGIN <br />SELECT "Object" = @sObjectName, "Function" = 'CreateObject', "HR" = convert(varbinary(4),0), "Source" = ', "Description" = 'Successfully Created' <br />END <br /> <br />EXEC @iHR = sp_OADestroy @oQBXMLrp <br />SET @iCnt = @iCnt + 1 <br />END</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to create Link Server with MS SQL 2005/2008]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2350]]></link>
<guid isPermaLink="false"><![CDATA[326a8c055c0d04f5b06544665d8bb3ea]]></guid>
<pubDate><![CDATA[Fri, 27 Nov 2009 07:57:39 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[ Note:&nbsp;&nbsp;DCom component is deprecated. As an alternative to DCom, you can use QRemote. 
Please refer articles for more information:
How to configure QRemote
How to create a Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote
How...]]></description>
<content:encoded><![CDATA[<p><strong> <span style="color: #ff0000;">Note:</span>&nbsp;&nbsp;</strong><span style="color: #000000; font-family: Arial,Helvetica,sans-serif;"><strong>DCom component is deprecated. As an alternative to DCom, you can use QRemote.</strong> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">Please refer articles for more information:</span></p>
<p><a title="Edit" href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2483">How to configure QRemote</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514/">How to create a Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a></p>
<p><a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458/">How to create a Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a></p>
<h2><span class="style2">System Environment</span></h2>
<p>Window XP Service Pack 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>Window 7 32-bit &nbsp;</p>
<p>Window 7 64-bit</p>
<p>QuickBooks Enterprise Solutions 9.0 (USA Version)</p>
<p>Microsoft SQL Server 2005 Development -32-bit</p>
<p>(Microsoft SQL Server 2008 Express)-32-bit</p>
<p>QODBC 9.00.00.261 Version</p>
<p>&nbsp;</p>
<p>Refer : <a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2508">DCom Option / Server Edition Tab missing in QODBC Setup Tab</a></p>
<p>We recommend using QRemote.</p>
<p>For SQL Server 64-bit, Click Here "<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2458/">How to create Link Server with MS SQL 2005/2008/2012 64-bit Using QODBC/QRemote</a>."</p>
<p>For SQL Server 32-bit, Click Here "<a href="http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2514">How to create Link Server with MS SQL 2005/2008/2012 32-bit Using QODBC/QRemote</a>."</p>
<h2 class="style2">Instruction</h2>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; Running QODBC as a Linked server requires the Server Edition of QODBC. The QODBC Server Edition includes DCOM servers required to allow QODBC to run as a system service to find the instance of QuickBooks running on the server console. QuickBooks must be running with the company file opened on the system console.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; To create a linked server with MS SQL 2005/2008, there are three main steps:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; 1. Create a new QuickBooks Data Source and connect it to QuickBooks.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; 2. Create a linked server with MS SQL 2005/2008</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; 3. Execute the test query using created link server.</p>
<p class="style4">[<strong>Note</strong>:&nbsp;Our test shows that the Link Server failed to be created successfully with the <strong>MS SQL Express Edition</strong> of MS SQL Server 2005 but works fine with MS SQL Server 2008 Express Edition. And in<strong> MS SQL Server 2005 Development </strong>or<strong> Enterprise </strong>version it works fine. ]</p>
<p>&nbsp;</p>
<p>The process of MS SQL 2005 Dev and MS SQL 2008 Express is almost the same. Below we take MS SQL 2005 Dev as an example to show you the steps:</p>
<h2 class="style2">Create a new data source and connect to QuickBooks</h2>
<h3 class="style3">Create a new QuickBooks Data Source</h3>
<p>1. Run <strong>Configure QODBC Data Source</strong></p>
<p>&nbsp;&nbsp; Start -&gt; All Programs -&gt; QODBC Driver for use with QuickBooks -&gt; Configure QODBC Data source</p>
<p>2. Add a new system DSN with QODBC Driver for QuickBooks</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-1.jpg" alt="" /></p>
<p>3. Configure the source company file</p>
<p>&nbsp;&nbsp;&nbsp; Now the QODBC setup screen will become available. <strong>&nbsp;</strong>First, name this new DSN as 'SLSTest.' Then select <strong>Locate a company file</strong> option. This allows you to set up the full path to where your QuickBooks data file resides. For example: &ldquo;C:\Program Files\Intuit\QuickBooks Pro\Myapp.qbw&rdquo;.<span class="style4"> [<strong>Note</strong>: To use the QODBC auto-login unattended mode, you must specify the full path of the QuickBooks company file you wish to connect to.]</span></p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-2.jpg" alt="" /></p>
<p>&nbsp;&nbsp; The <strong>Browse</strong> button will let you choose your QuickBooks company file from its folder.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-3.jpg" alt="" /></p>
<p>4. Configure the QODBC basic setup for using DCOM Server</p>
<p>&nbsp;&nbsp;&nbsp; You must turn on the use of the DCOM servers. You do this by running the QODBC Setup Screen and selecting the <strong>Server Edition</strong> tab page. Check the checkbox for <strong>Use DCOM Servers</strong>.</p>
<p>&nbsp; <img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-4.jpg" alt="" /></p>
<p>&nbsp;&nbsp;&nbsp; If you're working with the QuickBooks sample company file, this option is available to check even if you do not have a Server Edition license. It will be ignored if you open a standard company file and do not have a QODBC Server Edition or evaluation. <span class="style4">[<strong>Note</strong>: If you cannot update using QODBC as an SQL Linked Server, you can also try checking the <strong>Simulate Transaction Support for SQL Server</strong> in the QODBC Setup Screen <strong>Advanced</strong> Tab Page</span> - The option is not to support Transactions. This is a global driver setting. Checking this box will turn transaction support on so that Microsoft SQL Server will allow updates when using QODBC as a linked server. QODBC doesn't support transactions. It simply simulates the turning on and off of transactions. ]</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-5.jpg" alt="" /></p>
<p class="style4"><strong>Automatic DCOM Configuration </strong></p>
<p>&nbsp;&nbsp;&nbsp; Click here: <strong><a href="http://www.qodbc.com/download/qodbcSetDCOM.zip">qodbcSetDCOM.zip </a></strong> to download the following automated tools.</p>
<p><strong>&nbsp;&nbsp; Dcpinst.exe </strong> is an installation setup for the automated DCOM configuration object. This needs to be run first and only once. <strong>QODBCSetDCOM.VBS </strong> is a VB script that uses the installed configuration object to set up the DCOM Servers. It will reset and automatically add all necessary security each time it is run. The script can be edited if you need to change the Accounts it is configuring. The new settings will not take effect until the DCOM servers ( <strong>qbXMLRPeQODBCInteractive.exe </strong> and <strong>qbXMLRP2eQODBCInteractive.exe </strong>) are removed from memory. Rebooting is the simplest way to accomplish this, but running the Windows Task Manager and Ending Process on any copies will also work. Test your DCOM setup using one of the following: <strong>IIS users</strong> download: <strong><a href="http://www.qodbc.com/download/TestDCOM_asp.zip">TestDCOM.ASP </a></strong>&nbsp;&nbsp; <strong>PHP users</strong> download: <strong><a href="http://www.qodbc.com/download/TestDCOM_php.zip">TestDCOM.PHP </a></strong>&nbsp;&nbsp; <strong>Cold Fusion users</strong> download&nbsp;<strong><a href="http://www.qodbc.com/download/TestDCOM_cfm.zip">TestDCOM.CFM </a></strong></p>
<p class="style1">&nbsp;</p>
<p>5. Configure the Optimizer Setup of QODBC</p>
<p>&nbsp;&nbsp;&nbsp; Select the&nbsp;<strong>Dirty Reads</strong> option and check to&nbsp;<strong>Optimize data after an Insert or Update</strong> at the same time (or select the&nbsp;<strong>Real Time</strong> option and check to&nbsp;<strong>Optimize data after an Insert or Update</strong> at the same time). These setups relateexecutingn to an UPDATE query using a linked server. This article will record more details belowicle.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-6.jpg" alt="" /></p>
<h3 class="style3">Test Connection to QuickBooks</h3>
<p>1. Test Connection to QuickBooks</p>
<p>&nbsp;&nbsp;&nbsp; After <strong>Applying</strong> all settings of the new DSN, press the&nbsp;<strong>Test Connection to QuickBooks</strong> button. <span class="style4">[<strong>Note</strong>: QuickBooks must be run before and start as Administrator.] </span></p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-7.jpg" alt="" /></p>
<p>2. Application Certificate</p>
<p>&nbsp;&nbsp;&nbsp; The first time you connect to QuickBooks using the new created DSN, you need to finish the application certificate process like below:</p>
<p>&nbsp; <img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-8.jpg" alt="" /></p>
<p>3. Authorize QODBC to log in to QuickBooks automatically</p>
<p>&nbsp;&nbsp; To do this, you must start QuickBooks as the Administrator. Go to the <strong>Edit </strong>-&gt; <strong>Preferences</strong> menu item in QuickBooks. Then select <strong>Integrated Applications</strong> from the left side.</p>
<p>&nbsp;&nbsp; Select the <strong>Company Preferences</strong> tab, highlight one application (usually FLEXquarters QODBC), and press the <strong>Properties</strong> button. Check<strong> Allow this application to read and modify this company file </strong>and <strong>Allow this application to login automatically</strong>. And you will need to repeat this for all the applications on the list that you use.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-9.jpg" alt="" /></p>
<p>4. Exit QuickBooks</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-1-10.jpg" alt="" /></p>
<p>&nbsp;</p>
<h2 class="style2">Create Link Server with MS SQL 2005/2008</h2>
<h3 class="style3">Run MS SQL 2005 Dev / 2008 Express and Login in</h3>
<p>&nbsp;&nbsp;&nbsp; Run <strong>SQL Server Management Studio. You'd</strong>&nbsp;better choose SQL Server Authentication and input the correct name and password.</p>
<p>&nbsp; <img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-2-1.jpg" alt="" /></p>
<h3 class="style3">Create Link Server</h3>
<p>1. When connecting successfully, select <strong>Server Objects</strong> -&gt; <strong>Linked Servers, right-click,</strong>&nbsp;and select <strong>New Linked Server... </strong></p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-2-2.jpg" alt="" /></p>
<p>2. The following screenshot below shows the general settings of a simple Link Server setup for QODBC. The data source SLSTest has been created before.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-2-3.jpg" alt="" /></p>
<p>3. The basic security settings</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-2-4.jpg" alt="" /></p>
<p>4. The basic Server settings. Press <strong>OK</strong> after applying all settings.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-2-5.jpg" alt="" /></p>
<p>5. Configure MSDASQL (Microsoft OLE DB Provider for ODBC Drivers)</p>
<p><br />&nbsp;&nbsp; The OLE DB provider options for managing linked queries can be set in SQL Server Management Studio. In <strong>Object Explorer</strong>, right-click the provider name and select <strong>Properties</strong> for MSDASQL.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-2-6.jpg" alt="" /></p>
<p>&nbsp; &nbsp;The dynamic<strong>&nbsp;parameter&nbsp;</strong>should be checked to allow parameter queries. <strong>Level zero only&nbsp;</strong>should be checked to allow four-part naming to work. <strong>Allow InProcess&nbsp;</strong>should be checked to help performance. <strong>Non-transacted updates&nbsp;</strong>should be checked if you want to be able to update QuickBooks data. <strong>Index as access path</strong> should be checked to help performance. <strong>Disallow Adhoc accesses&nbsp;</strong>should be <span class="style4">unchecked</span> to allow OPENQUERY to function.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-2-7.jpg" alt="" /></p>
<p>&nbsp; Now you can see the QODBC link server displayed on the left side.</p>
<p>&nbsp; <img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-2-8.jpg" alt="" /></p>
<p>&nbsp;</p>
<h2 class="style2">Execute Test Query using created link server</h2>
<h3 class="style3">Execute Test Query</h3>
<p class="style1">1. Press <strong>New Query</strong> in MS SQL Server Management Studio Express, input the test query on the right side, and then click <strong>Execute</strong> button.</p>
<p class="style1">&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-3-1.jpg" alt="" /></p>
<p class="style1">2. The query results are displayed as follows:</p>
<p class="style1">&nbsp; <img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-3-2.jpg" alt="" /></p>
<h3 class="style3">Some examples are based on a Link Server named <strong>QODBC</strong></h3>
<p>SELECT * FROM OPENQUERY(QODBC, 'SELECT * FROM Host')</p>
<p>SELECT * FROM QODBC...HOST</p>
<p>SELECT * FROM OPENQUERY(QODBC, 'SELECT * FROM HostSupportedVersions')</p>
<p>SELECT * FROM QODBC...HostSupportedVersions</p>
<p>SELECT * FROM OPENQUERY(QODBC, 'SELECT ListID, Name FROM Employee')</p>
<p>SELECT ListID, Name FROM QODBC...Employee</p>
<p>SELECT * FROM OPENQUERY(QODBC, 'SELECT ListID, Name FROM Customer')</p>
<p>SELECT ListID, Name FROM QODBC...Customer</p>
<p>SELECT * FROM OPENQUERY(QODBC, 'SELECT ListID, Name, CompanyName FROM Vendor')</p>
<p>SELECT ListID, Name, CompanyName FROM QODBC...Vendor</p>
<p>SELECT * FROM OPENQUERY(QODBC, 'SELECT Name, CompanyName FROM Vendor Where "Name" =''Bayshore Water''')</p>
<p>SELECT * FROM OPENQUERY(QODBC, 'sp_report CheckDetail show TxnType_Title, RefNumber_Title,Date_Title, Name_Title, Item_Title, Account_Title, PaidAmount_Title, OriginalAmount_Title, TxnType, RefNumber, Date, Name, Item, Account, PaidAmount, OriginalAmount parameters DateMacro = ''ThisMonthToDate''')</p>
<p>UPDATE OPENQUERY(QODBC, 'SELECT "Name", "CompanyName" FROM Vendor WHERE "Name" = ''Bayshore Water''') SET "CompanyName" = 'Bayshore Water, LLC'</p>
<p>UPDATE QODBC...Vendor SET "CompanyName" = 'Bayshore Water, LLC' WHERE "Name" = 'Bayshore Water'</p>
<p>INSERT INTO QODBC...Customer (Name) Values ('Test Customer 201')</p>
<h4 class="style4">Different UPDATE queries with Different QODBC Setup Settings<a name="OptimizerSettings"></a></h4>
<p>&nbsp;&nbsp; There are two ways to UPDATE data as below:</p>
<p>&nbsp;&nbsp; (1) Using OPENQUERY:&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UPDATE OPENQUERY(QODBC, 'SELECT "Name", "CompanyName" FROM Vendor WHERE "Name" = ''Bayshore Water''') SET "CompanyName" = 'Bayshore Water, LLC'</p>
<p>&nbsp;&nbsp; (2) Update directly:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UPDATE QODBC...Vendor SET "CompanyName" = 'Bayshore Water, LLC' WHERE "Name" = 'Bayshore Water'</p>
<p>&nbsp;&nbsp; With the QODBC Optimizer Setup: Select the&nbsp;<strong>Dirty Reads</strong> option or <strong>Real Time</strong> option (which performs slower than Dirty Reads) and <span class="style4">check to</span> <strong>Optimize data after an Insert or Update. Both</strong>&nbsp;kinds of UPDATE queries can execute successfully.</p>
<p>&nbsp;&nbsp; With the QODBC Optimizer Setup: Select the&nbsp;<strong>Null</strong> option and <span class="style4">uncheck</span> <strong>Optimize data after an Insert or Update. Only</strong>&nbsp;the OPENQUERY Update can execute correctly.</p>
<h3 class="style3">About MS SQL Server Services Run as the Build-in System Account</h3>
<p>&nbsp;&nbsp; The MS SQL Server services running as the <span class="style4">built-in system account</span> is strongly suggested when you configure your Properties settings about SQL Server. During our test, the link server sometimes failed to work when logging on as a specified user account. To configure the built-in system account settings, please follow the steps below:</p>
<p>1. Start -&gt; Run -&gt; Input the following command: <span class="style4">%SystemRoot%\system32\services.msc /s</span> to start MS SQL Services.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-3-3.jpg" alt="" /></p>
<p>2. Double-click <strong>SQL Server (MSSQLSERVER) </strong></p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-3-4.jpg" alt="" /></p>
<p>3. Select the <strong>Log On</strong> Tab, select the&nbsp;<strong>Local System account</strong> option, and press <strong>Apply</strong> to finish the configuration.</p>
<p>&nbsp;<img src="//support.flexquarters.com/esupport/newimages/LinkServer2005-3-5.jpg" alt="" /></p>
<h3 class="style3">Troubleshooting QODBC as a SQL Linked server</h3>
<p class="style1">&nbsp;&nbsp;&nbsp; Below is an SQL script that will test the DCOM Server setup. All components should have a "Successfully Created" description when everything is configured correctly. Follow the <strong><a href="http://www.qodbc.com.au/QODBCwebserver.asp?Region=OZ">instructions</a>&nbsp;</strong>on this website for the Web Server Edition if you have difficulty with DCOM configuration.</p>
<p class="style4"><strong>Test DCOM Script (.vbs)</strong></p>
<p>DECLARE @oQBXMLrp int <br />DECLARE @iHR int <br />DECLARE @iCnt int <br />DECLARE @sSource varchar(255) <br />DECLARE @sDesc varchar(255) <br />DECLARE @sObjectName varchar(255) <br /> <br />SET @iCnt = 1 <br />SELECT "Current User: " = CURRENT_USER, " Time: " = CONVERT(char(30), CURRENT_TIMESTAMP) <br />WHILE @iCnt &lt; 6 BEGIN <br />SET @sObjectName = CASE @iCnt <br />WHEN 1 THEN 'QBXMLRPEQODBCInteractive.RequestProcessor' <br />WHEN 2 THEN 'QBXMLRP.RequestProcessor' <br />WHEN 3 THEN 'QBXMLRP2EQODBCInteractive.RequestProcessor' <br />WHEN 4 THEN 'QBXMLRP2.RequestProcessor' <br />ELSE 'Xerces.DOMDocument' <br />END <br />EXEC @iHR = sp_OACreate @sObjectName, @oQBXMLrp OUT <br />IF @iHR &lt;&gt; 0 BEGIN <br />EXEC sp_OAGetErrorInfo @oQBXMLrp, @sSource OUT, @sDesc OUT <br />SELECT "Object" = @sObjectName, "Function" = 'CreateObject', "HR" = convert(varbinary(4),@iHR), "Source" = @sSource, "Description" = @sDesc <br />END <br />ELSE BEGIN <br />SELECT "Object" = @sObjectName, "Function" = 'CreateObject', "HR" = convert(varbinary(4),0), "Source" = '', "Description" = 'Successfully Created' <br />END <br /> <br />EXEC @iHR = sp_OADestroy @oQBXMLrp <br />SET @iCnt = @iCnt + 1 <br />END</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[[QODBC-Desktop] How to use DTS to Import QuickBooks Data into MS SQL Server]]></title>
<link><![CDATA[https://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2349]]></link>
<guid isPermaLink="false"><![CDATA[70fcb77e6349f4467edd7227baa73222]]></guid>
<pubDate><![CDATA[Wed, 11 Nov 2009 08:24:20 +0000]]></pubDate>
<dc:creator><![CDATA[Juliet]]></dc:creator>
<description><![CDATA[System Environment 
&nbsp;&nbsp;&nbsp;&nbsp; Windows XP System
&nbsp;&nbsp;&nbsp;&nbsp; QuickBooks Enterprise Solution 9.0 (USA)
&nbsp;&nbsp;&nbsp;&nbsp; QODBC v10
 &nbsp;&nbsp;&nbsp;&nbsp; Microsoft SQL Server 2000
&nbsp;
Configuration of QODBC
&n...]]></description>
<content:encoded><![CDATA[<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">System Environment </span></h2>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Windows XP System</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; QuickBooks Enterprise Solution 9.0 (USA)</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; QODBC v10</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; Microsoft SQL Server 2000</span></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Configuration of QODBC</span></h2>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; When using QODBC with MS SQL Server, the <strong>Use DCOM Server</strong> option should be checked in QODBC Setup Screen (Server Edition Tab). </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; If you want to set up a remote connection using RDS Server/Client, please see: <a href="http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/1906/49/qodbc-desktop-accessing-quickbooks-data-remotely-via-qodbc-v9-and-above-using-rds" target="_blank">Accessing QuickBooks data remotely via QODBC v9 and above using RDS</a> for more.</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;"> &nbsp;&nbsp;&nbsp;&nbsp; <strong>Note</strong>: Using RDS to import QuickBooks data into MS SQL Server remotely is almost the same as on the local machine. The little difference will be listed below. </span></p>
<p>&nbsp;</p>
<h2><span style="color: #6633cc; font-family: Arial, Helvetica, sans-serif;">Import QuickBooks Data into MS SQL Server via DTS </span></h2>
<h3><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Create a New Database in MS SQL Server </span></h3>
<p><span style="font-family: Arial, Helvetica, sans-serif;">1. Run <strong>Service Manager</strong> of MS SQL Server. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp; <strong>Start</strong> -&gt; <strong>Program</strong> -&gt; <strong>Microsoft SQL Server</strong> -&gt; <strong>Service Manager</strong> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">2. Run <strong>Enterprise Manager</strong> of MS SQL Server. </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp; <strong>Start</strong> -&gt; <strong>Program</strong> -&gt; <strong>Microsoft SQL Server</strong> -&gt; <strong>Enterprise Manager</strong> </span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif;">3. Create a new database in SQL Server Enterprise Manager and name it <strong>test1</strong>. </span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import1.jpg" alt="" /></span></p>
<h3 align="left"><span style="color: #0066cc; font-family: Arial, Helvetica, sans-serif;">Import Data using DTS </span></h3>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;"> 1. Right click <strong>test1</strong> -&gt; <strong>All Tasks</strong> -&gt; <strong>Import Data</strong>. </span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import2.jpg" alt="" /></span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">2. Setup using DTS Import/Export Wizard</span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; The DTS Import/Export Wizard dialog box pops out. Click <strong>Next</strong> to go on. </span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import3.jpg" alt="" /></span></p>
<p align="left"><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Data Source Setup</strong></span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select <strong>QODBC Driver for QuickBooks</strong> as the Data Source and <strong>MSSQL</strong> (created before) as the User/System DSN, then click Next. </span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import4.jpg" alt="" /></span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;"><strong>Note</strong>: An authorization dialog box will pop out if using RDS to connect QuickBooks. Select <strong>Yes, always, when a server is an available</strong> option, insert the right RDS Server name and password and then press <strong>OK</strong> as follows:</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import5.jpg" alt="" /></span></p>
<p align="left"><span style="color: #990000; font-family: Arial, Helvetica, sans-serif;"><strong>Destination Setup </strong></span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Set the Destination as the default SQL Server option and Next. </span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import6.jpg" alt="" /></span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select the options to specify table copy or query and <strong>Next</strong>. </span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import7.jpg" alt="" /></span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Select source tables and views you want to copy and then <strong>Next</strong>. Here I take table <strong>Account</strong> as an example. </span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import8.jpg" alt="" /></span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import9.jpg" alt="" /></span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Finally, press <strong>Finish</strong> completing the DTS Import/Export Wizard. </span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import10.jpg" alt="" /></span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">3. Waiting for Data Transfer</span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp; &nbsp; &nbsp;I waited for the data copy from QODBC to MS SQL until it popped out a dialog box to say successful reproduction. </span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import11.jpg" alt="" /></span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import12.jpg" alt="" /></span></p>
<p align="left"><span style="font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;&nbsp;&nbsp; Now we can see table Account in the test1 data source.</span></p>
<p align="center"><span style="font-family: Arial, Helvetica, sans-serif;"><img src="//support.flexquarters.com/esupport/newimages/DTS Import13.jpg" alt="" /></span></p>]]></content:encoded>
</item>
</channel>
</rss>