Quantcast
Channel: FLEXquarters.com Limited
Viewing all 313 articles
Browse latest View live

Troubleshooting - Wrong Data in Excel from QODBC

$
0
0

Problem Description:

We modified an invoice in QuickBooks and we are trying to get the data out in Excel, but QODBC gives us the old data still.

Why?

Solutions:

I would like to inform you that QODBC failed to return full records is usually caused by either corruption of QODBC optimizer file. I would like to inform you that Optimizer file may be corrupted if you are killing process or query while optimizer file is building. It is not advisable to kill query while it is in execution.

I kindly request you to please reset the optimizer to solve the problem.

1) Close all other applications that use QODBC.

2) Turn off QODBC optimizer (QODBC Setup Screen->”Optimizer” tab->Uncheck “Use optimizer” option)

3) Find the file with .opt extension at the path you had assigned to QODBC optimizer and delete the optimizer file.

(The default path is %UserProfile%\QODBC Driver for QuickBooks\Optimizer)

You can find optimizer folder path from QODBC Setup Screen->”Optimizer” tab. Please copy this path & navigate to this path & delete .opt file.

Or

You can directly delete .opt file from:

Start>>All Programs>> QODBC Driver for use with QuickBooks>>QODBC Setup Screen>>”Optimizer” tab>>Click "Reset Optimizer File(s)".

http://support.flexquarters.com/esupport/newimages/QODBCResetOptimizer%20Files.png


4) Turn on QODBC optimizer (QODBC Setup Screen->”Optimizer” tab->Check “Use optimizer” option)

5) After turning on optimizer, please run below command in VB Demo:

sp_optimizefullsync All

This command will bring some data to a local cache to increase retrieval performance for queries. I would like to suggest you to please let run above command completely. Above command may take sometime depends on your records in QuickBooks. It may take 2-5 hours or more depends on the number of records in QuickBooks company file. Please let this command run completely do not kill this command. It is not advisable to kill/close the application while its building the Optimizer file.

6) Please test again to see if the problem is still there.

7) After completing above steps, please test data from VB Demo application. If you are able to get updated data, then please refresh excel sheet so you can get updated data.


Troubleshooting - Cannot create new table using QODBC / Cannot ad...

$
0
0

Troubleshooting - Cannot create new table using QODBC / Cannot add a new field to QODBC table

Problem Description:

I'm trying to create a new table with VB Demo.

Can you send me a sample query to do this?

Solutions:

QODBC is an ODBC driver. Please keep in mind that QODBC is not a database tool, 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;

You can not create a new table from VB Demo because QODBC is just reading and writing to QuickBooks Company file via QB SDK. QuickBooks SDK provides data in XML format, and QODBC converts it to a table format. What you are trying to do is create a new table in QuickBooks Company file which is not supported. Thus, you cannot create/drop/alter table(s) from VB Demo or QODBC.

Keywords: adding in a column, adding in table, how to add a new table, how to add a new column

Update query scanning all records in Linked Server

$
0
0

TroubleShooting : Update query scanning all records in Linked Server

Problem Description 1:

I am using MS SQL linked server with QRemote.

I am updating a single EstimateItemLine, passing Ref Number and ItemFullName (also tried itemtxnlindid). Every time the update statement, with OpenQuery or without openquery on the linked server, its searching all the records of EstimteLine and then is updating the record. This process takes 3.5 to 4 minutes.

Ideally, it should not scan all the records as Ref Number is provided.

I am using below query:

Update openquery(qremote, 'select ClassRefListId from EstimateLine where RefNumber=''501'' and EstimateLineTxnLineID=''8DB9-1071524326''') SET ClassRefListId = '40000-933272658'

Solutions 1:

I would like to inform you that performance of update query with OpenQuery can be improved by including the "where" criteria outside the open query.

For Example:

The Query

Update openquery(qremote, 'select ClassRefListId from EstimateLine where RefNumber=''501'' and EstimateLineTxnLineID=''8DB9-1071524326''') SET ClassRefListId = '40000-933272658'

will perform faster when executing it as

Update openquery(qremote, 'select ClassRefListId,EstimateLineTxnLineID,RefNumber from EstimateLine where RefNumber=''501'' and EstimateLineTxnLineID=''8DB9-1071524326''') SET ClassRefListId = '40000-933272658' where RefNumber='501' and EstimateLineTxnLineID='8DB9-1071524326'

So yes, you need to include [ RefNumber='501' and EstimateLineTxnLineID='8DB9-1071524326' ] twice, inside the OpenQuery and outside too.       

Problem Description 2:

I am using MS SQL linked server with QRemote.

In SQL Server when we use update openquery,without including fields that identifies a single row that needs to be updated then SQL is returning error "OLE DB provider "MSDASQL" for linked server "QREMOTE" returned message "Key column information is insufficient or incorrect. Too many rows were affected by update."The OLE DB provider "MSDASQL" for linked server "QREMOTE" could not UPDATE table " [MSDASQL]". Actually rows were updated, but still it shows error message.

I am using below query:

Update openquery(QREMOTE,'select customfieldtransportaddress,CustomFieldOther from salesorderwhere txnDate >= {d''2013-12-29''} and refNumber = ''8801'' ') set CustomFieldOther='1514999',customfieldtransportaddress = 'Conexão333'

Error message:

OLE DB provider "MSDASQL" for linked server "QREMOTE" returned message "Key column information is insufficient or incorrect. Too many rows were affected by update.".Msg 7343, Level 16, State 4, Line 1The OLE DB provider "MSDASQL" for linked server "QREMOTE" could not UPDATE table "[MSDASQL]". 


Solutions 2:

I would like to inform you that you need to include extra "where" clause outside the open query to overcome this issue.

For Example:

Update openquery(QREMOTE,'select refNumber,customfieldtransportaddress,CustomFieldOther from salesorderwhere txnDate >= {d''2013-12-29''} and refNumber = ''8801'' ') set CustomFieldOther='1514999',customfieldtransportaddress = 'Conexão333' where refNumber = '8801'


So, you need to include where condition twice, inside the OpenQuery and outside too.       


 


 


How to Access Account Name details from Journal Report Using SQL ...

$
0
0

TroubleShooting : How to Access Account Name details from Journal Report Using SQL Server

Problem Description:

I need some guidance with extracting data from the general ledger. In particular, I need to see the fullname of the GL account. Running sp_report Journal through a linked SQL Server returns errors stating that FullName does not exist.

I am using below query to access Account detail, but I can't access Account Name detail from output. Please help:

select
isnull(Account,'')Account,
isnull(Amount,0)Amount,
isnull(Date,'01/01/1900') [Date],
isnull(Credit,0) Credit,
isnull(Debit,0) Debit,
isnull(Memo,'') Memo,
isnull(Name,'') Name,
isnull(RefNumber,'') RefNumber,
isnull(RowNumber,0) RowNumber,
isnull(RowType,'')Rowtype,
isnull(SplitAccount,'')SpliAccount,
isnull(TxnID,'')TxnID,
isnull(TxnNumber,'')TxnNumber
from
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'    

http://support.flexquarters.com/esupport/newimages/JournalReportSQLServer/step1.png

Solutions:

I would like to inform you that from sp_report we would not be able to include fullname instead of the information QuickBooks is providing in QuickBooks SDK.

Instead, you may use JournalEntryLine table which will show detail information of the Journal and you can apply filters to achieve the desired output.


QuickBooks SDK does not provide full Name and we would not be able to add it to the sp_report response.

But yes, there is a workaround, you can query Account table and Link the result of Sp_report to Account and get the FullName.

Linking two tables would not be straight forward, as QuickBooks sends Account name as "10020 · Account Receivable" i.e "AccountNumber ·Name"

To access account details we need to query an Account table by using the Join function. Also, we need to use Substring & other SQL functions to compare data for achieving desired results because the report output contains Account Number & Account FullName in Account column output is combined using dot ".". So we need to use substring & other SQL functions to remove this dot & compare the account name with Account table.

Please refer below query:

select
isnull(Account,'')Account,
isnull(Amount,0)Amount,
isnull(Date,'01/01/1900') [Date],
isnull(Credit,0) Credit,
isnull(Debit,0) Debit,
isnull(Memo,'') Memo,
isnull(a.Name,'') Name,
isnull(RefNumber,'') RefNumber,
isnull(RowNumber,0) RowNumber,
isnull(RowType,'')Rowtype,
isnull(SplitAccount,'')SpliAccount,
isnull(TxnID,'')TxnID,
isnull(TxnNumber,'')TxnNumber,
b.FullName as AccountFullName,
c.FullName as SplitFullName
from 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''}') a
left join
openquery(QREMOTE, 'select * from account') b on
SUBSTRING ( a.Account ,0 , CHARINDEX (' · ', a.Account) )= ISNULL(CONVERT(varchar(50),b.AccountNumber),'')
and
REPLACE(a.Account,SUBSTRING ( a.Account ,0 , CHARINDEX (' · ', a.Account) ) + ' · ','') = ISNULL(CONVERT(varchar(50),b.Name),'') left join
openquery(QREMOTE, 'select * from account') c on
SUBSTRING ( a.SplitAccount ,0 , CHARINDEX (' · ', a.SplitAccount) )= ISNULL(CONVERT(varchar(50),c.AccountNumber),'')
and
REPLACE(a.SplitAccount,SUBSTRING ( a.SplitAccount ,0 , CHARINDEX (' · ', a.SplitAccount) ) + ' · ','') = ISNULL(CONVERT(varchar(50),c.Name),'')
where RowType = 'DataRow'

http://support.flexquarters.com/esupport/newimages/JournalReportSQLServer/step2.png

SP_REPORT BalanceSheetStandard report error "[QODBC] At least one...

$
0
0

Troubleshooting : SP_REPORT BalanceSheetStandard report error "[QODBC] At least one field requested requires DateFrom to be set".

Problem Description:

I am running BalanceSheetStandard through VB Demo & It is returning below error.

When I run this query as the following in VB Demo, it will report error "[QODBC] At least one field requested requires DateFrom to be set" sp_report BalanceSheetStandard show Text, Label, Amount, AmountPreviousYear parameters DateMacro = 'All', SummarizeColumnsBy = 'Day', ReturnColumns = 'All'  

http://support.flexquarters.com/esupport/newimages/BalanceSheetStandard/Step1.png

Solutions:

I would like to inform you that as per QuickBooks you can't use “DateMacro = 'All'” and the field “AmountPreviousYear” same time. If you want to display the field “AmountPreviousYear” the parameter “DateMacro = 'All'” is not appropriate.

You can verify the same by running the same report through QuickBooks & choose DateMacro to All and you will notice that Previous Year options are disabled.

 

http://support.flexquarters.com/esupport/newimages/BalanceSheetStandard/Step2.png

 

But when you choose the Dates as others expect “All”, the field “Previous Year” is enabled.   

http://support.flexquarters.com/esupport/newimages/BalanceSheetStandard/Step3.png

 

To resolve this issue either you have to remove field “AmountPreviousYear” from a query or you have to change the parameter “DateMacro” to others except “All”, such as “This month”. Please refer below query:

sp_report BalanceSheetStandard show Text, Label, Amount parameters DateMacro = 'All', SummarizeColumnsBy = 'Day', ReturnColumns = 'All'

sp_report BalanceSheetStandard show Text, Label, Amount, AmountPreviousYear parameters DateMacro = 'ThisMonth', SummarizeColumnsBy = 'Day', ReturnColumns = 'All'

I would like to suggest you to please refer below mentioned article. You can get detailed information about how to execute sp_report in QODBC:

How to use the QuickBooks Reporting Engine with QODBC

How Can I find QuickBooks deleted record information from QODBC.

$
0
0

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 a Invoice gets deleted from QuickBooks, does it get physically deleted? Otherwise, which field(s) would tell me that fact?

Solutions:

You can find Voided/Deleted Transactions details from QODBC "TxnDeleted" and "ListDeleted" tables. Please do refer table "TxnDeleted" and "ListDeleted" to see the data you are looking for.

For Example: I have Invoice in QuickBooks whose Invoice# is 1114  

http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step1.png

Now we are verifying same Invoice from QODBC Invoice table.By using below query:
SELECT * FROM Invoice where RefNumber ='1114'

http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step2.png

 

Now we deleting Invoice from QuickBooks whose Invoice# is 1114: 

http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step3.png

Now we are verifying same Invoice from QODBC Invoice table to see if it exist in QODBC Invoice table or not.By using below query:
SELECT * FROM Invoice where RefNumber ='1114'

http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step4.png

Now we are checking same Invoice from QODBC TxnDeleted table to see if it exist in QODBC TxnDeleted table or not.By using below query:
SELECT * FROM TxnDeleted where TxnDelType='Invoice' 

http://support.flexquarters.com/esupport/newimages/QuickBooksdeletedrecord/Step5.png

 

We can find Deleted Transactions (i.e. Invoice,SalesOrder,TimeTracking etc..) details from QODBC "TxnDeleted" tables.

We can find Deleted List (i.e. Customer,Item etc..) details from QODBC "ListDeleted" tables.


Configure QODBC for use with Jitterbit Community Edition 3.0.0

$
0
0

Configure QODBC for use with Jitterbit Community Edition 3.0.0

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.

First, you need to configure QODBC. To configure QODBC please follow below steps:

1. Click Start > All Programs > QODBC Driver for QuickBooks

2. Click QODBC Setup Screen

3. Click the Server Edition tab

4. Ensure the box marked “Use DCOM Servers” has a tick in it

5. Click the Apply button

http://support.flexquarters.com/esupport/newimages/Jitterbit/Step1.png

 

If Server Edition is Missing in your QODBC Setup Screen. Below are the steps to Enable "DCom" and "Server Edition" tab on QODBC Setup Screen.


Start QODBC Setup Screen

Navigate to "Advanced" Tab

Enable "Turn On Remote Connector And DCom"

Apply the changes

Click Ok

http://support.flexquarters.com/esupport/newimages/Jitterbit/Step2.png

6. Click the General tab

7. Select “Use the company files that’s now Open in QuickBooks“

8. Ensure the Data Source Name is set to QuickBooks Data

9. Select “Same as company file” for Mode when opening

Click OK

http://support.flexquarters.com/esupport/newimages/Jitterbit/Step3.png

 

After configure QODBC you need to configure Jitterbit. To configure Jitterbit please follow below steps:

1. Start the Jitterbit client

2. Right-click Sources and create a New Source

http://support.flexquarters.com/esupport/newimages/Jitterbit/Step4.png

 

3. Type QB in the Name field

4. Select Database for the type

5. Click Options

6. Ensure the box marked “Construct connection string manually” has a tick in it

7. Enter DSN=QuickBooks Data into the field adjacent to the check-box.

8. Click the Save icon.

http://support.flexquarters.com/esupport/newimages/Jitterbit/Step5.png

How can I find source of SP_Report

$
0
0

How can I find source of SP_Report

Problem Description 1:

Is there a way to see the SQL that QuickBooks uses to generate their reports?
Also, Which tool do they use to generate reports?

Problem Description 2:

I need to access information that is used in the QuickBooks audit trail report. Do you have the table name, the field names, and where the table is located.

Problem Description 3:

Do we have access to see the code behing the QODBC Stored Procedures?

Problem Description 4:

How can I know the table and field names used in the report Trial Balance. For example, sp_report TrialBalance show Debit_Title, Credit_Title, Label, Debit, Credit parameters DateMacro = 'LastMonth' I want to run my own SQL in MS Access, not just sp_reports. For the future, what reference can I use to connect the QB List and Transaction tables to the standard SQL SELECT and FROM statements?

Solutions:

I would like to inform you that the QuickBooks SDK does provides output of the report but does not provide information on how those data are derived or which tables are used in those reports.
QuickBooks SDK does not expose information regarding how the report is built, what are the tables used or logic part and thus it is not available in QODBC.
All QODBC do is request for the Report information from QuickBooks SDK and QuickBooks is the one processing it and sending the output. QODBC formats that output to data table format.


QODBC Licensing Information

$
0
0

QODBC Licensing Information

 

There are different types of License required depends on your requirement in QODBC, Please refer detailed information of QODBC Licensing as below.

QODBC Licensing Diagrams:

1) QODBC Read Only Diagram:

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Read Only Diagram.png

 

2) QODBC Read Write Diagram:

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Read Write Diagram.png

 

3) QODBC Server/Terminal Edition - Service Base Application Diagram:

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Service Base Diagram.png

 

4) QODBC Server/Terminal Edition - Service Base Application Diagram without QRemote License:

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Service Base Diagram without QRemote License.png

 

5) QODBC Server/Terminal Edition - Service Base Application Diagram without QRemote License (All Component in single machine):

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Service Base Diagram without QRemote License (All Component in single machine).png

 

6) QODBC Server/Terminal Edition - Service Base Application Diagram - Without Client:

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Service Base Diagram - Without Client.png

 

7) QODBC Server/Terminal Edition - Service Base Application Diagram (Web Server):

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Service Base Diagram (Web Server).png

 

8) QODBC Server/Terminal Edition - Service Base Application Diagram (Web Server All Component in Single Machine):

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Service Base Diagram (Web Server All Component in Single Machine).png

 

9) QODBC Server/Terminal Edition - Citrix XenDesktop or XenApp Server Diagram without QRemote:

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Citrix Without QRemote.png

 

10) QODBC Server/Terminal Edition - Citrix XenDesktop or XenApp Server Diagram without QRemote (All Component in Single Machine):

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Cloud Without QRemote (All Component in Single Machine).png

 

11) QODBC Server/Terminal Edition - Microsoft Windows Server Remote Desktop Services Diagram without QRemote:

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Windows Server Without QRemote.png

 

12) QODBC Server/Terminal Edition - Microsoft Windows Server Remote Desktop Services Diagram without QRemote (All Component in Single Machine):

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/QODBC Server Edition - Windows Server Without QRemote (All Component in Single Machine).png

 

13) Multiple Licensing Scenario:

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/scenario2.png

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/scenario3.png

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/scenario4.png

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/scenario5.png

 

http://support.flexquarters.com/esupport/newimages/QODBCLicensingInformation/scenario6.png

 

 

QODBC License Details FAQ:

Question:

Would you be kind enough to give me any information that you have that would enable me to get the application to run an all of the machines in the network. I have the server edition and I have tried using the DCOM set up procedure without success. Can you indicate to me how to set up the DCOM.

 

Answer:

I kindly suggest you to refer below article for how to setup DCOM sever:
How to setup QODBC DCOM Server

I would like to suggest you to use QRemote instead of DCOM server. Please refer below mentioned articles for QRemote configuration.
Accessing QuickBooks Data Remotely using QODBC & QRemote

I guess you might be trying to configure QODBC -DCom so that other machines can connect to your server machine having QODBC + QuickBooks.
I would like to share that QODBC is not the client-server application. To access data from the remote machine you need to use QRemote. Install QODBC on the client machine and using QRemote client connect to your server which runs QRemote Server.
QODBC Server edition license is required when you have any service based application like SQL Server, WebServer, Windows Service connecting to QODBC and not when remote machine connecting to the machine.

 

Question:

I purchased the server edition with the expectation that it could be used in a multiuser environment. Currently, my client has 8 workstations that are linked to a server in the network. I wanted to find out if the dcom feature could be used and you recommended to use Qremote. However, the literature that he recommend that I should use, suggested that QODBC should be loaded on each workstation. My query is cant the server edition work or do I have to purchase a driver for each workstation. Please explain.

 

Answer:

The server version of QODBC is not a driver that you would install on a server and multiple workstations would have access to it. The server version of QODBC is for synchronizing SQL Server with QuickBooks data or for a web or intranet application, it is multi-threaded and can run as a service. QODBC is a client-side driver that would normally reside on the workstations.

 

Question:

I have a developer who is doing most of the development work on his desktop computer. I have to test and verify his work on my personal desktop computer. I have a separate desktop machine where I actually run the software for my small business. Everything for the business is done on that 1 machine. It looks like I would actually need to purchase 2 licenses at 149 each since the license is per user, even though I need to run the software on 2 machines? could you please confirm?

 

Answer:

If you want to work with live data on both machines then you need to purchase 2 licenses. You can continue your work with 1 licenses If your developer works with sample business file. For working with sample file no need of licensing. Your developer can work with sample file without licenses and You can test his work on your machine with licenses. 

 

Keywords: QODBC Licensing, QODBC Licensing Information, QODBC Licensing Diagram

PCI Compliance in QODBC

$
0
0

PCI Compliance in QODBC

Problem Description:

We are working with a client that processes a lot of 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:

I would like to inform you that QODBC uses QuickBooks SDK which implements the security standards listed in the attached article:

http://dataservices.intuit.com/support/Articles/INF12850

I would like to inform you QODBC only stores data in encrypted optimizer file(s) on the disc. QODBC can store only those information which is exposed by QuickBooks SDK.

If you want more security, you can disable optimizer option. So QODBC will fetch data directly from QuickBooks SDK and will not be stored on the disk drive.

How to use MS Access as Middleware with QODBC

$
0
0

How to use MS Access as Middleware with QODBC

Problem Description:

When using Prepared Statements with QRemote driver then it throws an error called ODBC driver not supported. How can I use Prepared Statements with QODBC/QRemote?

Solutions:

You may be using a function/feature which is not supported by ODBC driver. You can use MS-Access as middleware, ie. Create linked tables in MS-Access, connect your application to MS-Access, MS-Access has linked table connecting to QRemote or QODBC.

First of all you need to create linked table in MS Access. Please refer below mentioned article for creating linked table in MS Access.

For 32-Bit MS Access: How to Configure QODBC to Work With 32-bit MS Access

For 64-Bit MS Access: How to Configure QODBC to Work With 64-bit MS Access

Please Note 64-Bit MS Access article contains information about Import table, Please choose "Link to the data source by creating a linked table" option for creating linked table.

Now we are creating MS Access DSN that is pointing to Access database file which we created in the above steps. Please follow below steps for creating MS Access DSN.

1) Please create new MS Access DSN from:
Start>>All Programs>> QODBC Driver for use with QuickBooks>> Configure QODBC Data Source>>Go To "System DSN" Tab>>Click on "Add"

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step1.png 

2) Choose "Microsoft Access Driver (*.mdb, *.accdb)" & click on "Finish" button. 

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step2.png

 

3) Enter DSN name & description & click on select.

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step3.png

4) Provide MS Access database file location which we created earlier & click on "OK". 

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step4.png

 

5) Click on "OK" to save DSN.

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step5.png

6) Newly created DSN is available in DSN list.

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step6.png

7) Now we will use this DSN as a Middle ware. We are testing this DSN with our VB Demo application. Please open VB Demo from:
Start>>All Programs>> QODBC Driver for use with QuickBooks>>VB Demo
Please click on Connection>>Add New Connection: 

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step7.png

8) Please select newly created DSN from Machine Data Source & click on "OK".

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step8.png

9) You can see we are able to connect to MS Access DSN from VB Demo application. Please write your SQL statement & click on "Query".

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step9.png

You can see we are able to fetch data with MS Access DSN from VB Demo application.

http://support.flexquarters.com/esupport/newimages/MSAccessMiddleware/Step10.png

You can use this MS Access DSN with any of your applications.

Inserting invoice lines built from external data using MS Access

$
0
0

Question:

I've built a table in Access of invoice lines to be added to existing invoices. I have the TxnID and all the necessary xxxxListID fields etc., with the item, quantity and values coming from other sources. So "all" I have to do now is feed these records, one by one, into an INSERT INTO . . . VALUES . . . statement. I'm an experienced Access user, but a VBA-by-the-seat-of-my-pants-because-I-can't-find-a-good-training-course user - as I suspect many others may be!

To begin with, so I can see the thing works, I'm using a form based on my table with a combo box to select one record, so I thought I'd be able to have the thing look like this:
DoCmd.RunSQL "INSERT INTO QB_InvoiceLine ( TxnID, RefNumber, InvoiceLineItemRefListID, InvoiceLineDesc, " & _
"InvoiceLineQuantity, InvoiceLineRate, InvoiceLineClassRefListID, InvoiceLineTaxCodeRefListID, " & _
"CustomFieldVFBatchNo, FQSaveToCache )" & _
"VALUES ('Me.TxnID', 'Me.RefNumber', 'Me.InvoiceLineItemRefListID', 'Me.InvoiceLineDesc', 'Me.InvoiceLineQuantity', " & _
"'Me.InvoiceLineRate', 'Me.InvoiceLineClassRefListID', 'Me.InvoiceLineTaxCodeRefListID', 'Me.CustomFieldVFBatchNo', 0)"
It tries to add a record, but fails - one field set to Null due to a type conversion failure.
Am I on totally the wrong track, or is it just some really annoying little thing I've missed?

Answer:

You are on the right track. InvoiceLineRate is a decimal, but you are trying to insert it as a string, "'Me.InvoiceLineRate', should be "Me.InvoiceLineRate, without the single quotes.

Question:

Thank you for your usual prompt reply, but then it asks me for the value of Me.InvoiceLineRate and the insert fails with Runtime Error 3155 - Incorrectly built XML from Update start (#10045). I thought I already posted the first part of this this reply, so forgive me if this is a repeat, but I didn't receive a notification that my post had been accepted..

I tried removing the quotes from the two numeric fields - Me.InvoiceLineQuantity and Me.InvoiceLineRate, but now it asks for the value of them, and when I give it values it then fails to insert - Runtime error 3155, Incorrectly built XML from Update Start (#10045).

I made the procedure display the two values in a message box - they're fine. If I take them out of the insert altogether I still get the same error, but with no prompts for values of any fields first. Since custom fields have been known to misbehave, I've tried removing the last field too, but still the same problem.

Answer:

[QODBC] Incorrectly built XML from Update Start (#10045)

Most likely means that one of your ListID values used or the TxnID is not correct for the company file you are using. ListIDs and TxnIDs are unique to each QuickBooks company file.

Question:

I checked all my ListID's and TxnID - I can query on them and return the right record. I reduced to one connection - to the open QB file, deleted the OPT files (one in Program Files, one in Documents and Settings - eh? There seems to be a disparity between using 'Configure QODBC data source' and 'QODBC Setup screen') and switched off optimization, re-booted (on principle) and tried this in VBDemo:

INSERT INTO InvoiceLine ( TxnID,CustomerRefListID,RefNumber, InvoiceLineItemRefListID, InvoiceLineAmount,FQSaveToCache) VALUES ('11CC9-1157644406', '200000-1135954083', 'I13462', 'DC40000-1157657910', 235.89,0) It says 'Error parsing complete XML return string'

But if I remove the TxnID:

INSERT INTO InvoiceLine ( CustomerRefListID,RefNumber, InvoiceLineItemRefListID, InvoiceLineAmount,FQSaveToCache) VALUES ('200000-1135954083', 'I13462', 'DC40000-1157657910', 235.89,0) - the invoice is inserted correctly. But of course, this means I get another invoice, not another line on an existing invoice.

Do I remember reading somewhere on the forum that there's a problem with using TxnID on inserts on the UK version? If so, I'll have to do this a different way - hold the header data from the existing invoice in QB, delete it, then create a new invoice with the saved header data and my 'built' item lines.

Answer:

When you add lines to an existing invoice, use the line detail columns only and not any of the header details as the Invoice header already exists and don't use FQSaveToCache. For example:

INSERT INTO "InvoiceLine" ("TxnID", "InvoiceLineItemRefListID", "InvoiceLineDesc", "InvoiceLineRate", "InvoiceLineAmount", "InvoiceLineTaxCodeRefListID") VALUES ('5CA9-1197764583', '250000-933272656', 'Bin Permit Renovations', 200.00000, 200.00, '20000-999022286')

You need to look at the botton of both the Review QODBC Messages and Review SDK Messages log in the QODBC Setup screen for the real error message and post the last entry sections only so we can see what the problem is. We will also need to know the revision and update rev of the copy of QuickBooks you are using.

Question:

Yee haaa! as they say. How on earth I managed not to see that I had left the CustomerRefListID in there, I will never know. Thank you for all your help. Now to wrap it up in a chunk of code to process a whole list of invoices unattended. Should be fun!

 

 

How to create Invoices through MS Access using QODBC

$
0
0

Examples of Creating Invoice using QODBC

First of all please create new MS Access database & link ALL table.
Please refer below mentioned article for How to Use QODBC with Microsoft Access:

How to Use QODBC with Microsoft Access

After linking table, we need to execute query in MS Access query editor:
MS Access>> create tab >> Query Design >> It should popup for choosing table, please click "close" button & click on "SQL" from left top corner below File menu.

Note: For multi-line invoices, some may find it easier to NOT include the header information with each line item, but rather to have seperate smaller commands for the Invoice Lines and a final  INSERT for the Invoice header.

Create an Invoice with 3 Lines

     Here we create an invoice with 3 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.

First Line

INSERT INTO InvoiceLine (InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('320000-1071525597', 'Building permit 1', 1.00000, 1.00, '20000-999022286', 1)

 http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/step1.png

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step1.png

 

Second Line

INSERT INTO InvoiceLine (InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('320000-1071525597', 'Building permit 2', 2.00000, 2.00, '20000-999022286', 1)

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step3.png

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png

 

Third Line

INSERT INTO InvoiceLine (InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID, FQSaveToCache) VALUES ('320000-1071525597', 'Building permit 3', 3.00000, 3.00, '20000-999022286', 1)

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step4.png

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png

 

Header Information

INSERT INTO Invoice (CustomerRefListID, ARAccountRefListID, TxnDate, RefNumber, BillAddressAddr1, BillAddressAddr2, BillAddressCity, BillAddressState, BillAddressPostalCode, BillAddressCountry, IsPending, 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') 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step5.png

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step2.png

Results in QuickBooks 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step6.png

 

Related Data Location

InvoiceLineItemRefListID

InvoiceLineItemRefListID is '320000-1071525597' and found like this:

     Select ListId, FullName from Item where FullName like 'C%'

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step7.png

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step8.png


InvoiceLineSalesTaxCodeRefListID

InvoiceLineSalesTaxCodeRefListID is '20000-999022286' and found like this:

     Select ListId, Name from SalesTaxCode where Name like 'N%'

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step9.png

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step10.png

CustomerRefListID

CustomerRefListID is '620000-1071526513' and found like this:

    Select ListId, FullName from Customer where FullName like 'Smi%'

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step11.png

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step12.png

 

ARAccountRefListID

ARAccountRefListID is '40000-933270541' and found like this:

     Select ListId, Name from Account where Name like 'Account%'

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step13.png

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step14.png

ItemSalesTaxRefListID

I would like to inform you that ItemSalesTaxRefListID field is related to ItemSalesTax, ItemSalesTaxGroup, ItemSalesTaxGroupLine depend on InvoiceLineType. If InvoiceLineType is GroupItem then it is found in ItemSalesTaxGroupLine table.

ItemSalesTaxRefListID is '360000-1071521681' and found like this:

     Select ListId, Name from ItemSalesTaxGroup where Name like 'E%'

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step15.png

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step16.png

CustomerSalesTaxCodeRefListID

CustomerSalesTaxCodeRefListID is '10000-999022286' and found like this:

     Select ListId, Name from SalesTaxCode where Name like 'T%'

 

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step17.png

http://support.flexquarters.com/esupport/newimages/InvoicesMSAccess/Step18.png

How to Create an Item Inventory Assembly through MS Access using ...

$
0
0

How to Create an Item Inventory Assembly through MS Access using QODBC

An Example of Creating One ItemInventoryAssembly with Two Lines

First of all please create new MS Access database & link ItemInventoryAssemblyItemInventoryAssemblyLine table.
Please refer below mentioned article for How to Use QODBC with Microsoft Access:

How to Use QODBC with Microsoft Access

After linking table, we need to execute query in MS Access query editor:
MS Access>> create tab >> Query Design >> It should popup for choosing table, please click "close" button & click on "SQL" from left top corner below File menu.
Note the FQSaveToCache field, set to True, except on the last one.

 

First Line

INSERT INTO ItemInventoryAssemblyLine (Name, IsActive, SalesDesc, IncomeAccountRefListID, COGSAccountRefListID, AssetAccountRefListID, ItemInventoryAssemblyLnItemInventoryRefListID, ItemInventoryAssemblyLnQuantity, FQSaveToCache) VALUES ('NewAssembly1', 1, 'QODBC New Assembly1', '340000-933270542', '1E0000-933270542', '60000-933270541', '160000-933272656', 2.0, 1)

http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step1.png

http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step2.png

Second Line

INSERT INTO ItemInventoryAssemblyLine (Name, IsActive, SalesDesc, IncomeAccountRefListID, COGSAccountRefListID, AssetAccountRefListID, ItemInventoryAssemblyLnItemInventoryRefListID, ItemInventoryAssemblyLnQuantity, FQSaveToCache) VALUES ('NewAssembly1', 1, 'QODBC New Assembly1', '340000-933270542', '1E0000-933270542', '60000-933270541', '130000-933272656', 1.0, 0)

http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step3.png

 

http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step2.png

 

Result in QuickBooks  

http://support.flexquarters.com/esupport/newimages/InventoryAssemblyMSAccess/Step4.png

 

Questions and Answers

Question

     This seems to work for adding multiple items (ItemInventoryAssemblyLine records) to an assembly when the assembly is first created.

     However, I am having trouble adding new ItemInventoryAssemblyLine records to an existing assembly. When I try to repeat an INSERT with FQSaveToCache set to 0, then I get an error

     QODBC Error 3100 - The name "NewAssembly1" of the list element is already in use (#10053)

Answer

   I don't think we can add items to an existing assembly. The workaround would be to create a new assembly with the additional items

 

 

Problem Description:

I want to add new assemblies to the item list. I've tried the two queries below. Both result in this error:

invalid operand for operator: <assignment>
code 11024
Can you suggest a query that will work?

 


INSERT INTO ItemInventoryAssemblyLine (Name, IsActive, SalesDesc, IncomeAccountRefListID, IncomeAccountRefFullName, PurchaseDesc, COGSAccountRefListID, COGSAccountRefFullName, AssetAccountRefListID, AssetAccountRefFullName) VALUES ('12082-74262', 'Active', 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875; Tera Gear', '80000038-1351453685', 'BBQ Sales Income', 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875', '80000046-1351453685', 'Cost of Goods Sold:Materials - Cost of Goods Sold', '80000021-1351453684', 'Inventory Asset');

 

INSERT INTO ItemInventoryAssembly (Name, IsActive, SalesDesc, IncomeAccountRefListID, IncomeAccountRefFullName, PurchaseDesc, COGSAccountRefListID, COGSAccountRefFullName, AssetAccountRefListID, AssetAccountRefFullName, CustomFieldcoo, CustomFielditemClass) VALUES ('12082-74262', 'Active', 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875; Tera Gear', '80000038-1351453685', 'BBQ Sales Income', 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875', '80000046-1351453685', 'Cost of Goods Sold:Materials - Cost of Goods Sold', '80000021-1351453684', 'Inventory Asset', 'TW', 'am');

 

 

Solution:

You have used 'Active' as a value in IsActive field due to this issue happen. IsActive field contains boolean datatype & it accepts 1/0 or true/false as input. Please use below query & try again.


INSERT INTO ItemInventoryAssemblyLine (Name, IsActive, SalesDesc, IncomeAccountRefListID, IncomeAccountRefFullName, PurchaseDesc, COGSAccountRefListID, COGSAccountRefFullName, AssetAccountRefListID, AssetAccountRefFullName,FQSaveToCache) VALUES ('12082-74262', 1, 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875; Tera Gear', '80000038-1351453685', 'BBQ Sales Income', 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875', '80000046-1351453685', 'Cost of Goods Sold:Materials - Cost of Goods Sold', '80000021-1351453684', 'Inventory Asset',1)

INSERT INTO ItemInventoryAssembly (Name, IsActive, SalesDesc, IncomeAccountRefListID, IncomeAccountRefFullName, PurchaseDesc, COGSAccountRefListID, COGSAccountRefFullName, AssetAccountRefListID, AssetAccountRefFullName, CustomFieldcoo, CustomFielditemClass,FQSaveToCache) VALUES ('12082-74262', 1, 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875; Tera Gear', '80000038-1351453685', 'BBQ Sales Income', 'burner assy, oval twin, 3" offset, ss, 13.875 x 3.875', '80000046-1351453685', 'Cost of Goods Sold:Materials - Cost of Goods Sold', '80000021-1351453684', 'Inventory Asset', 'TW', 'am',0)


Please refer below-mentioned link for getting details about QODBC Table schema:

QODBC Data Layouts

 

 

How to add Additional quote (') in Insert statement using QODBC

$
0
0

How to add Additional quote (') in Insert statement using QODBC

Problem Description:

I have exported customer list from QB and Now I wanted to insert these using insert query. But some of them are failing because of having apostophe (').
How to deal with special characters like this.

Solutions:

I would like to inform you that you can additional quote in your query.
For Example If you want to add customer whose name contains extra quotes, then you can insert name using below query:
Insert into customer (name) values ('Larry''s Custom Invoice ')
The above query will create customer entry with name Larry's Custom Invoice.        


Activation-DeActivation FAQ

$
0
0

Activation-DeActivation FAQ

 

 

Problem Description 1:

My old machine broke and I had to completely reinstall the OS. Now I am moving to a new machine. I want to activate QODBC on my new machine. But I cannot deactivate the QODBC CDKey on my old machine. So I am stuck.

Or

My computer recently crashed and I need to activate QODBC on a different PC. I have my order information / CD Key. The CD Key does not work on the new computer. Would you please tell me what I need to do?

Solutions 1:

In this case, you need to raise a support ticket with "Sales - Registration - Activation Department". So our Sales team member will help you on this issue. You can  Click Here for raising a support ticket.

 

 

Problem Description 2:

I am moving to a new computer. I tried to activate on the new computer and it tells me Authorized quantity exhausted. When I try to deactivate on the old computer it tells me Activation not on file.

Solutions 2:

I would like to share that after the second deactivation there is a 24-48 hour delay before the license becomes available for activation. After the 2nd deactivation, there is a 48-hour delay.  Please wait for 24-48 Hours and try again.

In the case of an urgent reset, please raise a support ticket with "Sales - Registration - Activation Department": Click Here for raising a support ticket.

 

Problem Description 3:

Is it mandatory to deactivate current license while upgrading or downgrading QODBC version?

Solutions 3:

No there is no need to deactivate current license while upgrading or downgrading QODBC version. Just uninstall current QODBC version, install new QODBC version & Skip CDKEY step during installation.

 

 

Problem Description 4:

I do not have the CD Key on hand, Can I update my QODBC to latest version & retain my existing license Active?

Solutions 4:

Yes, you can update QODBC to the latest version without CD Key. There is no need of CD key during QODBC version upgrade. Your existing license remains active in the latest version. Just install new QODBC version & Skip CDKEY step during installation.

 

 

Problem Description 5:

Will my license get remove if I uninstall QODBC?

Solutions 5:

No license file will not remove if you uninstall QODBC. It will uninstall QODBC only.

 

 

Problem Description 6:

Will my license get automatically upgraded to latest version If I install new QODBC version.?

Solutions 6:

No license file will not update if you update QODBC Version.

 

 

Problem Description 7:

I am trying to reactivate QODBC 14 on the same server. Before reactivating, I deactivated and waited for 24 hours. Still, I am getting Authorized quantity exhausted error. Please help.

How much time Deactivation process takes?

Solutions 7:

I would like to share that after the second deactivation there is a 24-48 hour delay before the license becomes available for activation.

 

 

Problem Description 8:

I have already deactivated my license, but I cannot hold my development till License is reset, is there any workaround?

Solutions 8:

As a workaround till your license does not get reset, You can use QuickBooks Sample Company file, QODBC can work with Sample Company file and does not need License. ( If you are using QRemote - with Remote Data Access, this workaround would not work for you ).

 

 

Problem Description 9:

I deactivate the license on the computer I use and try to activate on the new one but does not let me, I need solutions right away because I deactivate from my office computer in order to work from home.

Solutions 9:

I would like to share that after the second deactivation there is a 24-48 hour delay before the license becomes available for activation. After the 2nd deactivation, there is a 48-hour delay.  Please wait for 24-48 Hours and try again.

In the case of an urgent reset, please raise a support ticket with "Sales - Registration - Activation Department": Click Here for raising a support ticket.

Or

As a workaround till your license does not get reset, You can use QuickBooks Sample Company file, QODBC can work with Sample Company file and does not need License. ( If you are using QRemote - with Remote Data Access, this workaround would not work for you ).

Or

You can take remote control of your work computer or get a license for the home computer.

 

After the 2nd deactivation, there is a 48-hour delay

[QODBC] Requires at least one child. Cannot delete last line.

$
0
0

Problem Description:

I am getting the following error trying to delete a record from InvoiceLine:

[QODBC] Requires at least one child. Cannot delete last line (#10074)

Does the invoice file require that there be at least one record in InvoiceLine? If so, will delete the Invoice delete the InvoiceLine record?
Or - how do I get around the problem?

Step1

 

 

Solution:

I would like to inform you can delete all records of Child tables. If all the records of child table e.g invoiceline are deleted, header record will not be of any use. If all the rows of a transaction is to be deleted, that means you would like to discard/delete the transaction. For deleting the transaction/invoice, delete the header row and all its child records like, invoice line,invoice linked transaction will be deleted automatically.

I think you have only one line item in an InvoiceLine table for that particular TxnId. QODBC / QuickBooks SDK cannot delete the last line item (invoice line having only 1 row left for the transaction/invoice) which is associated with header a row of Invoice.

If you have multiple lines and would like to to delete a line items then you need to provide InvoiceLineTxnLineID in where clause. You cannot use TxnNumber or TxnID because it is same for all line items. But InvoiceLineTxnLineID is unique for each line item.



Please refer below sample query:

DELETE FROM InvoiceLine WHERE InvoiceLineTxnLineID='376D-1264409144'

If you want to delete all line items then you need to delete records from header table.

DELETE FROM Invoice WHERE TxnNumber = 3444

How Can I use same excel files in 64 & 32-Bit Systems

$
0
0

How Can I use same excel files in 64 & 32-Bit Systems

Problem Description:

How Can I use same excel files in 64 & 32-Bit Systems?

Is it possible to have a connection setup in an excel file and be able to refresh on either a 64 or 32 bit system?

I know it’s possible on the same (64 or 32) as long as the DSN’s have the same names but I wasn’t sure about “crossing” between systems.

Solutions:

Yes, You can create a QRemote DSN with the same name on all the machine on which you would like to use Excel.

Your Excel file need to use a common name DSN, For Example "QODBC-Excel"

Please refer below example:

1) Machine A of 64 bit OS has 64 bit Excel - create a DSN "QODBC-Excel" under 64 bit ODBC Administrator/Manager:

Start >> QODBC Driver for use with QuickBooks >> Configure QODBC Data Source 64-Bit:

Go To "System DSN" Tab >> Click on the Add button to create a new DSN "QODBC-Excel".

Select the QRemote for QuickBooks option and click on the Finish button.

Configure the DSN enter name "QODBC-Excel" and provide the IP address and Port as listed under “QRemote Server”

Now we can see newly created DSN "QODBC-Excel" in System DSN list.


2) Machine B of 64 bit OS has 32 bit Excel - create a DSN "QODBC-Excel" under 32 bit ODBC Administrator/Manager:

Start >> QODBC Driver for use with QuickBooks >> Configure QODBC Data Source:

Go To "System DSN" Tab >> Click on the Add button to create a new DSN "QODBC-Excel".

Select the QRemote for QuickBooks option and click on the Finish button.

Configure the DSN enter name "QODBC-Excel" and provide the IP address and Port as listed under “QRemote Server”

Now we can see newly created DSN "QODBC-Excel" in System DSN list.


3) Machine C of 32 bit OS has 32 bit Excel - create a DSN "QODBC-Polay" under 32 bit ODBC Administrator/Manager:

Start >> QODBC Driver for use with QuickBooks >> Configure QODBC Data Source:

Go To "System DSN" Tab >> Click on the Add button to create a new DSN "QODBC-Excel".

Select the QRemote for QuickBooks option and click on the Finish button.

Configure the DSN enter name "QODBC-Excel" and provide the IP address and Port as listed under “QRemote Server”

Now we can see newly created DSN "QODBC-Excel" in System DSN list.


Now you can use same excel file on above machine whether machine of 32 or 64 bit. Also you can use same excel file on different architecture (i.e. You can use 32-Bit excel file on 64-Bit excel vice-versa.)

To apply newly created DSN to old excel files.

Open excel file, Please Go To Data Tab & click on "Connections" .

you can see existing connection details, please click on "Properties".

Please select connection name & remove it.

Now manually write newly created DSN name for this example it is "QODBC-Excel" & click "OK".

Now you can see updated connection details. Please click on "close".

By clicking on "Refresh All" button, you will get updated data from newly created DSN.

Where are the "Company & Financial" sp_reports for "Cash Flow

$
0
0

Problem Description 1:

Where are the "Company & Financial" sp_reports for "Statement of Cash Flow" and "Cash Flow Forecast"?

Is there any other way I can access values for 'Cash at the beginning of period' and 'Cash at the end of period' please?

Solution 1:

I'm sorry to inform you that the Statement of Cash Flow report is not available through the Intuit SDK so they are not available through QODBC.

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 application in SDK, QODBC could not do it either.

Problem Description 2:

I see where on the computer the files (Files attached to Bills) are stored. How do we go about identifying which transaction that file belongs to?

Solution 2:

I'm sorry to inform you that the Files attachment is not available through the Intuit SDK so they are not available through QODBC.

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 application in SDK, QODBC could not do it either.

Problem Description 3:

What are the field names for item image, item notes under item inventory in QODBC?

Solution 3:

I'm sorry to inform you that the item image, item notes field is not available through the Intuit SDK so they are not available through QODBC.

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 application in SDK, QODBC could not do it either.

Problem Description 4:

I am trying add sales tax info to the detail lines, but when I try this:

INSERT INTO "InvoiceLine" ("CustomerRefListID", "TxnDate", "RefNumber", "InvoiceLineItemRefListID", "InvoiceLineDesc", "InvoiceLineRate", "InvoiceLineAmount", "FQSaveToCache", "InvoiceLineIsTaxable", "SalesTaxLineRatePercent", "InvoiceLineAmount", "InvoiceLineItemRefFullName", "Memo", "Subtotal", "SalesTaxPercentage", "SalesTaxTotal") VALUES ('2', {d '2013-10-26'} ,'PS11', '2', 'To Professional Services Rendered', 1.00000, 1320.00, 1, 1, 5, 1352.00, 'PTax2015', 'Here is a memo', 1352.00, 5, 82.52)

It reports that these fields are not allowed:

"Subtotal" not allowed
"SalesTaxPercentage" not allowed
"SalesTaxTotal"

So how do I include Sales tax?

Solution 4:

I'm sorry to inform you that the "Subtotal" ,"SalesTaxPercentage", "SalesTaxTotal" field is not available through the Intuit SDK so they are not available through QODBC.

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 application in SDK, QODBC could not do it either.

Problem Description 5:

How do I update the vendors website field using an SQL Statement?

Solution 5:

I'm sorry to inform you that the vendor website field is not available through the Intuit SDK so they are not available through QODBC.

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 application in SDK, QODBC could not do it either.

Problem Description 6:

We have a Access program that we prepare our daily orders with and it manages our live inventory.
When the trucks are loaded the last step is to transmit the Access order into QB where it becomes a QB invoice.
Now we need to have these invoices debit against estimates, I found that once the invoice is made in QB it cannot be linked to the Estimate, so I assume i have to either:
1) send it to the estimate and then have the person convert it to an invoice in QB, or 2. just set the estimate link field to the estimate when i sent it in.
The second option sounds like what i would like but i dont know, can you tell me what the appropriate method for doing this is?
(I wrote the code for the original access program btw, its just that i havent modified it in 3+ ears and am not up to speed on QODBC anymore)

Solution 6:

I'm sorry to inform you that the creating link of estimate to invoice is not available through the Intuit SDK so they are not available through QODBC.

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 application in SDK, QODBC could not do it either.
For workaround, you may have to follow the first option.

Using QuickBooks POS Data with Access 2013 (Linked Tables) 32-bit

$
0
0

Using QuickBooks POS Data with Access 2013 (Linked Tables) 32-bit

For 64 Bit, Please refer : How to Configure QODBC to Work With 64-bit MS Access

Creating a Table in Microsoft Access:

Note: Microsoft Access is a product with many uses, and will allow you to use your QuickBooks POS Data files in the same fashion as Access databases.

Open MS Access 2013, you can find it via Windows Start->All Programs->Microsoft Office 2013:


 

A default database filename Database1 appears in the box. You can edit this to a more relevant name, such as QB Link.accdb. Save the file as type "Microsoft Office Access Databases".

Then Click "Create" to create a blank database:

 

After  the new database is created, Navigate to "External Data":

Build a connection via External Data->More->ODBC Database, or directly click ODBC database button at External Data menu:

Under Get External Data window, you will get two options:

Import the source data into a new table in the current database: this option will directly extract tables into Access DataBase, you can view and edit these tables but all modification will not be uploaded unless you build another query to do so.

Link to the data source by creating a linked table: this option will create a table just like the first option, but will keep its link to QuickBooks, which means all your operation to this table will be uploaded to QuickBooks, and the data in table is also in full sync with QuickBooks.

In this article, we will show you how to build linked table in MS Access.

Build a Linked Table in MS Access

After you select access method and click OK, then you will get a Select Data Source window:

Select the QuickBooks related DSN you setup with the QODBC driver. This can be one of our pre-installed DSN names or one that you have created. (Here I choose the default DSN as example.)

The first time you use MS Access to access QuickBooks, it will ask you to grant permssion for this application:

Select "Yes, Always" option, and then click "Done" in the next window:

Once the connection is built, Access will return a list of available tables in Select Tables window. Please select tables you want to extract data from. Mutiple Selection is available.

If the Import/Linking works without any problems, you will see linked tables been created in the table list of MS Access:

If you want to view QuickBooks records in this linked table, just double click the linked server, then you will see the records:

FYI, linked table is always in sync with QuickBooks POS Data, so you cannot add or delete any columns in this table. But you can directly modify the data in linked table, QODBC will automatically update the modification to QuickBooks.

Note: In the case where you run across an application which is not fully ODBC compatible, often times they do support getting data from Access tables. To make this application work with QuickBooks tables, you can run the Microsoft Access setup as shown above. Then have this application use the MS Access ODBC driver to talk to the Access database, which you created, which was linked to QuickBooks tables. This middleware approach allows us to support nearly any application, even if not fully ODBC compliant.


Also Refer :
How to Use QODBC with Microsoft Access 2007
Using QuickBooks Data with Access 2010 (Import Tables) 32-bit
Using QuickBooks Data with Access 2010(Linked Tables) 32-bit
How to Configure QODBC to Work With 64-bit MS Access
Microsoft Access 2003 and QODBC

Viewing all 313 articles
Browse latest View live