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

Troubleshooting - Error while Inserting Bill

$
0
0

Troubleshooting - Error while Inserting Bill

Problem Description 1:

I am following the below steps and getting error.

1.First we are inserted the records in Bill & BillExpenseLine table and records got inserted successfully.

2.Second we are inserting the records in BillPaymentCheckLine and we are getting the below error

"Error Parsing Complete XML return string"

INSERT INTO BillPaymentCheckLine (PayeeEntityRefListID,APAccountRefListID, BankAccountRefListID, RefNumber, IsToBePrinted,AppliedToTxnTxnID, AppliedToTxnPaymentAmount) VALUES('80000EB1-1435326666','80000037-1409939589', '80000024-1409927427','555555',1,'81D4-1435326671', 88.3)


Please let me know what I am doing wrong.


Solutions 1:

Either remove RefNumber or IsToBePrinted from the insert statement. QuickBooks SDK will not allow any one of the field during insert/update & due to this issue occurred.

Your query should be as below.

INSERT INTO BillPaymentCheckLine (PayeeEntityRefListID,APAccountRefListID, BankAccountRefListID, RefNumber, AppliedToTxnTxnID, AppliedToTxnPaymentAmount) VALUES('80000EB1-1435326666','80000037-1409939589', '80000024-1409927427','555555','81D4-1435326671', 88.3)

 

 

Problem Description 2:

I am trying link BillItemLine with PurchaseOrder. I am using below query to link transaction & I am getting XML error.

"Error Parsing Complete XML return string"

INSERT INTO BillItemLine ( ItemLineLinkToTxnTxnID,ItemLineLinkToTxnTxnLineID, ItemLineQuantity ) values ('271B-1071512692','271D-1071512692',300 )

Please let me know what I am doing wrong.


Solutions 2:

If you are trying link transaction with Bill, then you should include vendor details in your query. Please refer below sample query & test again:

Your query should be as below.

INSERT INTO BillItemLine (VendorRefListID, ItemLineLinkToTxnTxnID,ItemLineLinkToTxnTxnLineID, ItemLineQuantity) VALUES ('10000-933272655', '271B-1071512692','271D-1071512692',30)

 


Troubleshooting - QB Begin Session Failed. Error = 80040410, The ...

$
0
0

Troubleshooting - QB Begin Session Failed. Error = 80040410

Problem Description:

I am trying to connect to QuickBooks through QODBC using VB Demo application.

I am consistently getting "80040410" error.

Begin Session Failed. S0000 00000 [QODBC] QB Begin Session Failed. Error = 80040410, The QuickBooks company data file is currently open in a mode other than the one specified by your application.

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



Please let me know what I am doing wrong.



 

Solutions:

I would like to inform you that 80040410 error is occurring when the company file mode specified on QODBC Setup Screen is different from Company file opened in QuickBooks.

Please enable below option on QODBC & try again. Please select "Use the company file that's now open in QuickBooks" option & mode when opening "Same as company file":

Start>> QODBC Driver for use with QuickBooks >> Configure QODBC Data Source >>Go To "System DSN" Tab >> select DSN name >> click "configure" >> General tab >> select mode when opening "Same as company file" option.

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



After changing above settings, please open company file in QuickBooks, which you want to open & try to connect using your application.



How to run a Profit and Loss By Class Report in QODBC

$
0
0

Typical Profit and Loss By Class Report in QuickBooks

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

Report Displayed in QODBC

Stored Procedure Command

       With QODBC the same report can be generated using stored procedure reports like this:

       sp_report ProfitAndLossByClass show Amount_Title, Text, Label, Amount
       parameters DateMacro = 'ThisMonthToDate', SummarizeColumnsBy = 'Class'

Predefined DateMacro Options

      All the predefined DateMacro options available to you are:

|All|Today|ThisWeek|ThisWeekToDate|ThisMonth|ThisMonthToDate|ThisQuarter|ThisQuarterToDate
|ThisYear|ThisYearToDate|Yesterday|LastWeek|LastWeekToDate|LastMonth|LastMonthToDate|LastQuarter
|LastQuarterToDate|LastYear|LastYearToDate|NextWeek|NextFourWeeks|NextMonth|NextQuarter|NextYear|

Display in QODBC

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

 

 

Change report to use "Cash" reporting

Stored Procedure Command

      To change these reports to use"Cash" reporting just add the ReportBasis parameter:

      sp_report ProfitAndLossByClass show Amount_Title, Text, Label, Amount
       parameters DateMacro = 'ThisMonthToDate', SummarizeColumnsBy = 'Class',
ReportBasis='Cash'

ReportBasis Options

      The options are: |Cash|Accrual|None|

 

Profit and Loss By Class Report in QuickBooks in Collapse Mode

      If I collapse the QuickBooks 2013 Sample Rock Castle Contruction company file Profit and Loss By Class Report it looks like this:

http://support.flexquarters.com/esupport/newimages/ProfitAndLossByClass/step3.png

Report Displayed in QODBC

Stored Procedure Command

      By removing the NestedText6 (SubLevel 0) level I can get similiar results using QODBC:

      sp_report ProfitAndLossByClass show Amount_Title, Text, Label, Amount
       parameters DateMacro = 'ThisMonthToDate', SummarizeColumnsBy = 'Class'
      where NestedText6 is NULL

Display in QODBC

http://support.flexquarters.com/esupport/newimages/ProfitAndLossByClass/step4.png

How to create Invoices using QRemote from SQL Server

$
0
0

Examples of Creating 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 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 QRemote...InvoiceLine(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineRate,InvoiceLineAmount,InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES('240000-933272656','POWERTRAK-2000',200.00000,200.00,'20000-999022286',1)

Note: QRemote is linked server name you need to change it with your linked server name.

If you don't setup linked server in SQL Server. Please refer below mentioned link for creating linked server.

For 32-Bit SQL Server: How to create Link Server with MS SQL 2005/2008/2012 32-Bit Using QODBC/QRemote

For 64-Bit SQL Server: How to create Link Server with MS SQL 2005/2008/2012 64-Bit Using QODBC/QRemote

Second Line

INSERT INTO QRemote...InvoiceLine(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineRate,InvoiceLineAmount,InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES('240000-933272656','POWERTRAK-3000',200.00000,200.00,'20000-999022286',1)

Third Line

INSERT INTO QRemote...InvoiceLine(InvoiceLineItemRefListID,InvoiceLineDesc,InvoiceLineRate,InvoiceLineAmount,InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES('240000-933272656','POWERTRAK-4000',200.00000,200.00,'20000-999022286',1)

Header Information

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')

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

Results in QuickBooks

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

 

Related Data Location

InvoiceLineItemRefListID

InvoiceLineItemRefListID is '240000-933272656' and found like this:

     Select ListId, FullName from QRemote...Item where FullName like 'F%'

http://support.flexquarters.com/esupport/newimages/SQLInvoice/step3.png

InvoiceLineSalesTaxCodeRefListID

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

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

http://support.flexquarters.com/esupport/newimages/SQLInvoice/step4.png

CustomerRefListID

CustomerRefListID is '160000-933272658' and found like this:

     Select ListId, FullName from QRemote...Customer where FullName like 'Aber%'

http://support.flexquarters.com/esupport/newimages/SQLInvoice/step5.png

ARAccountRefListID

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

     Select ListId, FullName from QRemote...Account where Name like 'Account%'

http://support.flexquarters.com/esupport/newimages/SQLInvoice/step6.png

ItemSalesTaxRefListID

ItemSalesTaxRefListID is '2E0000-933272656' and found like this:

     Select ListId, Name from QRemote...ItemSalesTax where Name like 'San%'

http://support.flexquarters.com/esupport/newimages/SQLInvoice/step7.png

CustomerSalesTaxCodeRefListID

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

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

http://support.flexquarters.com/esupport/newimages/SQLInvoice/step8.png


Troubleshooting - How to get Bank Reconciliation details using QO...

$
0
0

Troubleshooting - How to get Bank Reconciliation details using QODBC

Problem Description:

How to get Bank Reconciliation details using QODBC

I've not had success identifying any field/flag that identifies the Bank Reconciled status. Is this information available thru QODBC? Or has not been made available?

I’d like to be able to pull bank rec data from Quickbooks (using QODBC) and be able to identify cleared/not cleared bank account transactions. It’s easy enough to pull from the Transaction table all bank account transactions (debits and credits) which if you order by date, is very much like a bank statement. But I’ve not been able to determine the CLEARED status of each transaction. This would be very useful for a client of mine that I’m building a supplemental (to Quickbooks) bank account management/forecasting application. Is there any way for me to determine this thru QODBC?

Solutions:

I'm sorry to inform you that the Bank Reconciliation details 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.

You can refer ClearedStatus table which is used to clear check using QODBC.

"ClearedStatus" table is Insert Only table. It is used for Insert purpose only.

You can clear check using QODBC by inserting TxnId & check status in "ClearedStatus" table. If you want to clear check using QODBC, Please refer below steps:

Please open Check register in QuickBooks & locate transaction which you want to update check status.

For Example I want to update check status of Bill Payment:

To locate the TxnID of the "BILLPMT" check I ran:

SELECT TxnID, AppliedToTxnSeqNo, TxnDate, PayeeEntityRefFullName, Amount FROM BillPaymentCheckLine where RefNumber='294'

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



Using this TxnID, I can mark the Check as cleared by running the following using the INSERT only ClearedStatus table:

INSERT INTO ClearedStatus ("TxnID", "ClearedStatus") VALUES ('39D7-1071529831','Cleared')

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



BTW: The valid values are: |Cleared|NotCleared|Pending|

And the check is now marked as "Cleared" in QuickBooks.

http://support.flexquarters.com/esupport/newimages/Bank/step3.png



 


Troubleshooting - QRemote Error "Could not connect to server/QRem...

$
0
0

Troubleshooting - QRemote Error "Could not connect to server/QRemoteserver"

Problem Description 1:

I cannot connect through QRemote DSN. I have tested using VB Demo application as well as using QRemote DSN test connection. I am getting below error:

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




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

 

Problem Description 2:

I am trying to connect to QRemote Server from my application. Below code hangs on the .open command:

Dim cnQODBC As New System.Data.Odbc.OdbcConnection("DSN=QuickBooks Data 64-Bit QRemote;OLE DB Services=-2;")

Dim daQODBC As System.Data.Odbc.OdbcDataAdapter = New Odbc.OdbcDataAdapter() cnQODBC.Open()

The QODBC server does not show any activity.


 

Solutions:

Please follow below steps to resolve the issue.

You will get message "Could not connect to server" error due to one of the following reason:

1) QRemote Server is not running.

2) IP/Port in QRemote client is not same as QRemote Server.

3) If you are connecting remotely, then might be a firewall blocking connection.

Please make sure your firewall allows communicating to IP address of QRemoteServer, check if you are using the correct IP address of the remote machine, and also please make sure QRemote is Bind to the same IP address you are using. Please do make sure Version on QRemote on the Client machine is the same QRemote on Server Machine. Also, try restarting the machine.

4)  Please do make sure Version on QRemote on the Client machine is the same QRemote on Server Machine.

For Example:

If client machine QRemote version is 1.0.0.312, then server machine QRemote version also should be 1.0.0.312.
If QRemote version on both machines is different, then please make both version same by installing same QODBC version on both machines.

You can get QODBC latest version from below link:

QODBC Driver for QuickBooks Download

5) Please verify QRemote is configured correctly.

For 32 Bit QRemote DSN:


Start>> All Programs>>QODBC Driver for use with QuickBooks >> Configure QODBC Data Source >>Go To "System DSN" Tab >> select QuickBooks Data QRemote >> click "configure":

http://support.flexquarters.com/esupport/newimages/QRemoteServer/step3.png



Please verify IP & Port from QRemote Client it should be same as it is in QRemote Server.You can find QRemote Server running in System Tray. If it is not running then please run from:

Start>>All Programs>> QODBC Driver for use with QuickBooks >> QRemote Server for QODBC

Please verify "Remote DSN" select "QuickBooks Data "DSN from dropdown>> click "Test Connection".

http://support.flexquarters.com/esupport/newimages/QRemoteServer/step4.png



For 64 Bit QRemote DSN:


I would like to suggest you to please verify your QRemote DSN configuration:

Start>> All Programs>> QODBC Driver for use with QuickBooks >> Configure QODBC Data Source 64-Bit >>Go To "System DSN" Tab >> select QuickBooks Data 64-Bit QRemote>> click "configure":

http://support.flexquarters.com/esupport/newimages/QRemoteServer/step5.png



Please verify IP & Port from QRemote Client it should be same as it is in QRemote Server.You can find QRemote Server running in System Tray. If it is not running then please run from:

Start>>All Programs>> QODBC Driver for use with QuickBooks >> QRemote Server for QODBC

Please verify "Remote DSN" select "QuickBooks Data "DSN from dropdown>> click "Test Connection" & share outcome.

http://support.flexquarters.com/esupport/newimages/QRemoteServer/step6.png



 

 

Difference between QODBC for QuickBooks Desktop and Online.

$
0
0

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

List of Tables available via API from QuickBooks Online



Report Differences:

Number of Reports available in

QODBC DesktopQODBC Online
93 22

 

List of Reports available in QODBC Desktop

List of Reports available in QODBC Online

List of Reports available via API from QuickBooks Online



 

Stored Procedure Difference:

Stored Procedure which is not working in QODBC for QuickBooks Online:

Store Procedure Name
sp_qbfilename
sp_batchclear TableName
sp_batchstart TableName
sp_batchupdate TableName

 

QODBC Desktop Stored Procedures Command List

 

Also Refer

Detailed Difference between QODBC for QuickBooks Desktop and Online.

Troubleshooting - QRemote Does not consider FQSaveToCache with wo...

$
0
0

Troubleshooting - QRemote Does not consider FQSaveToCache with working with OdbcCommand & Parameters

Problem Description:

QRemote Does not consider FQSaveToCache with working with OdbcCommand & Parameters

I have an application that creates Sales Orders. This is what I execute for each line item:

Running this code against qODBC DSN works well if everything is local - using a 32-bit local DSN and QuickBooks local to the application. The Sales Order appears correct in QuickBooks.

Taking the exact same code and connecting it to a 64-bit QRemote DSN connected to a 32-bit qODBC DSN on another machine (via QRemote Server) does not work.

Basic flow is like this:

cnQODBC = New OdbcConnection(ConfigurationManager.AppSettings.Item("QuickBooksConnectionString"))

cnQODBC.Open()

[Repeat for every sales order line item]

Dim cmdQODBC As OdbcCommand = New OdbcCommand("insert into SalesOrderLine (CustomerRefListID, TxnDate, SalesOrderLineClassRefListID, TemplateRefListID, RefNumber, " & "SalesOrderLineItemRefListID, SalesOrderLineDesc, SalesOrderLineQuantity, SalesOrderLineRate, SalesOrderLineAmount, " & "CustomFieldSalesOrderLineOther1,FQSaveToCache) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ? ,?, ?)", cnQODBC)

cmdQODBC.Parameters.AddWithValue("", strCustomerListID)

cmdQODBC.Parameters.AddWithValue("", "{d'" & dteInvoiceDate.ToString("yyyy-MM-dd") & "'}")

cmdQODBC.Parameters.AddWithValue("", strLineClassListID)

cmdQODBC.Parameters.AddWithValue("", strTemplateListID)

cmdQODBC.Parameters.AddWithValue("", intSalesOrderNumber)

cmdQODBC.Parameters.AddWithValue("", strLineItemListID)

cmdQODBC.Parameters.AddWithValue("", strLineDescription)

cmdQODBC.Parameters.AddWithValue("", intQuantity)

cmdQODBC.Parameters.AddWithValue("", dblLineRate)

cmdQODBC.Parameters.AddWithValue("", dblLineAmount)

cmdQODBC.ExecuteNonQuery()

[End repeat]

cnQODBC.Close()

cnQODBC = Nothing

cmdQODBC.ExecuteNonQuery()

Solutions:

Integer, double and long datatype parameter passing in QRemote pass through string format because of flow QRemote Client --> QRemote Server --> QODBC Datatype conversion create problem in QODBC and due to this issue occurred.



Workaround of this problem is to pass value in string format instead of actual format as below example:

cmdQODBC.Parameters.AddWithValue("", intSalesOrderNumber.ToString()) //cmd.Parameters.AddWithValue("", "3");

cmdQODBC.Parameters.AddWithValue("", intQuantity.ToString()) //cmd.Parameters.AddWithValue("", "44.2");

cmdQODBC.Parameters.AddWithValue("", dblLineRate.ToString()) // cmd.Parameters.AddWithValue("", "113.4");

cmdQODBC.Parameters.AddWithValue("", dblLineAmount.ToString()) //cmd.Parameters.AddWithValue("", "0");

Instead of

cmdQODBC.Parameters.AddWithValue("", intSalesOrderNumber) //cmd.Parameters.AddWithValue("", 3);

cmdQODBC.Parameters.AddWithValue("", intQuantity) //cmd.Parameters.AddWithValue("", 44.2);

cmdQODBC.Parameters.AddWithValue("", dblLineRate) //cmd.Parameters.AddWithValue("", 113.4);

cmdQODBC.Parameters.AddWithValue("", dblLineAmount) //cmd.Parameters.AddWithValue("", 0);


Troubleshooting - Getting Multiple-step OLE DB operation generate...

$
0
0

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, TemplateRefListID, SalesOrderLineItemRefFullName, SalesOrderLineQuantity, SalesOrderLineRate, SalesOrderLineTaxCodeRefListID, ClassRefListID, FQSaveToCache) VALUES ('8000343B-1393961058', '80000008-1377787801 ', 'R1', 1.0000, 500.00, '80000001-1377787801 ', '80000003-1393947522', 0)

OLE DB provider "MSDASQL" for linked server "QBREMOTE" returned message "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".

Msg 7343, Level 16, State 2, Line 1

The OLE DB provider "MSDASQL" for linked server "QBREMOTE" could not INSERT INTO table "[QBREMOTE]...[SalesOrderLine]".

Solutions:

You need to change "Maximum Field Name Length" value from QODBC Setup Screen>> 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.

Please follow below instruction to change "Maximum Field Name Length" value.

Start>>All Programs>> QODBC Driver for use with QuickBooks>> Configure QODBC Data Source>>Go To "System DSN" (If you are using System DSN) or "User DSN" (If you are using User DSN) Tab >> select your DSN>> click "configure">> Advanced >> "Maximum Field Name Length" change to 100. 

 

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

 

 

Also, you can use openquery which is able to insert record in SalesOrderLine table:

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)

Please refer:

How to do INSERTs, UPDATEs and DELETEs using OPENQUERY with Linked MS SQL Servers

Troubleshooting - How to use parameter in OPENQUERY

$
0
0

Problem Description:

How to use parameter in OPENQUERY

Solutions:

OPENQUERY does not accept variables for its arguments. You need to Pass Basic Values as below example:



DECLARE @TSQL varchar(8000), @ID varchar(25)

SELECT @ID = '19650'

SELECT @TSQL = 'SELECT * FROM OPENQUERY(QRemote ,''SELECT * FROM ReceivePayment WHERE ReceivePayment.RefNumber = ''''' + @ID + ''''''')'

EXEC (@TSQL)

Please refer below link:

How to pass a variable to a linked server query

Including parameters in OPENQUERY

Troubleshooting - Getting "Wrong Client EncyptKey Setting" error

$
0
0

Troubleshooting - Getting "Wrong Client EncyptKey Setting" error

Problem Description:

I'm trying to establish connection to QuickBooks using QRemote Server. But when I tried to connect I got below error message:

"Wrong client Encyptkey setting":

 

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

 Or

"QRemote Client Encryption Key does not match with the one specified on QRemote Server."

 

http://support.flexquarters.com/esupport/newimages/Encrypt/step4.png

How can I solve this error?

 

Solutions:

You will receive this error when using encryption key in QRemote Server which is not matching with QRemote Client encryption key.

If you want to use Encryption key, then you need to set same encryption key on QRemote client & server.

You can check QRemote Client encryption key from:

32-Bit QRemote DSN:

Start>> All Programs>>QODBC Driver for use with QuickBooks >> Configure QODBC Data Source >>Go To "System DSN" Tab >> select QuickBooks Data QRemote >> click "configure"

64-Bit QRemote DSN:

Start>> All Programs>> QODBC Driver for use with QuickBooks >> Configure QODBC Data Source 64-Bit >>Go To "System DSN" Tab >> select QuickBooks Data 64-Bit QRemote>> click "configure"

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

 

You can check QRemote Server Encryption key from:

You can find QRemote Server running in the System Tray. If it is not running then please run from:

Start>>All Programs>> QODBC Driver for use with QuickBooks >> QRemote Server for QODBC

Open QRemote Server from the system tray:

File>> Setting >> Encryption tab

 

http://support.flexquarters.com/esupport/newimages/Encrypt/step3.png

 

Please verify encryption key from client & server. If Encryption key is different, then please set same encryption key apply changes & restart QRemote Server & test again.

If you don't want to use Encryption key, then please keep it blank on client side & disable encryption from QRemote Server.

Open QRemote Server from the system tray:

File>> Setting >> Encryption tab>> Select "No Encryption in transmission" apply changes & restart QRemote Server & test again.   

How to use QXL

$
0
0

How to use QXL

Step 1 - Download QXL

If you haven't already downloaded QXL, do it now by going to the download page.

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.

Step 2 - Running the Installer:

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. 

 

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

 

 

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

 

 

http://support.flexquarters.com/esupport/newimages/QXL/step3.png

 

 

http://support.flexquarters.com/esupport/newimages/QXL/step4.png

 

 

http://support.flexquarters.com/esupport/newimages/QXL/step5.png

 

 

http://support.flexquarters.com/esupport/newimages/QXL/step6.png

 

The QXL - QuickBooks Export Made Easy® has been successfully installed onto your computer. You can begin to use it immediately because it will immediately run as a 30-day evaluation version.

Step 3 - Use QXL:

 

http://support.flexquarters.com/esupport/newimages/QXL/step7.png

 

 

After installation, you may notice following icons over the desktop.

 

http://support.flexquarters.com/esupport/newimages/QXL/step28.png

 

QXL – Silent Mode - It uses the last saved settings of QXL and Automatically starts Executing the data export with no user interface.

QXL – Direct Mode - It uses the last saved settings of QXL and Automatically starts Executing the data export with the user interface, i.e. displaying progress data export.

QXL – Manual execution of Data Export/Update Settings/Activation-Deactivation. You get options to select tables and destination to which the files should be exported.

 


Start QuickBooks, Login to your company file

Switch back to QXL and click Export Data

 

http://support.flexquarters.com/esupport/newimages/QXL/step8.png

 

http://support.flexquarters.com/esupport/newimages/QXL/step9.png

 

You may receive below popup message for QuickBooks company file. Please click Yes/No.

 

http://support.flexquarters.com/esupport/newimages/QXL/step10.png

 

Exported data placed at below location by default:

C:\Users\User Name\Documents\QXL\ 

 

http://support.flexquarters.com/esupport/newimages/QXL/step11.png

 

 

Command Line

QXL.exe silent
or
QXL.exe runnow

NOTE: QuickBook, QXL, and QODBC are desktop base application/driver. 

QXL uses QODBC,  QODBC uses QuickBooks SDK, and QuickBooks SDK uses QuickBooks Application to get data from company file.

QuickBooks SDK requires an active desktop session ( someone to is logged in ) to the machine because QuickBooks is a desktop base application. If no one logged on the server/machine, you will get the error "Could not start QuickBooks".

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 is executed from Task Scheduler runs as a different user / new session.

The workaround is to use a Desktop Based Scheduler like KA FireTask or http://alternativeto.net/software/task-scheduler/?platform=windows.

Also refer: How to run QODBC applications on a repeating/nightly basis

 

Step 4 - Configuration:

The first step in configuring the application is to click on the QXL icon and the following screen will become available.

 

http://support.flexquarters.com/esupport/newimages/QXL/step12.png

 

Click on "Change Optional Settings"

You can navigate to same setting window by clicking File >> Options

General Tab:

From General Tab you can change:

1. Connection string: - You can change the connection string (i.e. change DSN if you are using different DSN for different company file).

2. Output Folder: - You can change the path of output folder by clicking the browse button.

3. Format: You can format of the exported file to XLS, CSV or SQL Server.

4. SQL Conn. String: - You can set SQL Connection String.

5. Export In: - You can change export options to Separate File or Single File.

 

 

http://support.flexquarters.com/esupport/newimages/QXL/step13.png

 

Table Settings Tab:

From Table Settings Tab you can change table options as below:

1. ALL Table: - This option will export all tables to the output folder.

2. Selected Table: - This option will export selected tables to the output folder.

3. Excluding Selected Table: This option will export all tables to output folder which we have not selected. 

 

http://support.flexquarters.com/esupport/newimages/QXL/step14.png

 

In Selected Table option you can select the table by double clicking on the table name. You can select all table by clicking "All". You can clear selection by clicking "None". You can invert table selection by clicking "Invert".

 

http://support.flexquarters.com/esupport/newimages/QXL/step15.png

 

Custom Query Tab:

From Custom Query Tab you can write your own custom query and fetch data according to your requirement.

You need to write table name in Custom Table Name box & write a query in Custom Query box. After writing table name & query click on "Add or Update" button to add the query. 

 

http://support.flexquarters.com/esupport/newimages/QXL/step16.png

 

http://support.flexquarters.com/esupport/newimages/QXL/step17.png

 

You can update existing query by double clicking on table name & modify query Custom Query box. After changing query click on "Add or Update" button to update query.

 

http://support.flexquarters.com/esupport/newimages/QXL/step18.png

 

http://support.flexquarters.com/esupport/newimages/QXL/step19.png

 

You can remove the existing query by double clicking on table name & clicking on "Remove Selected" button to delete query.

 

http://support.flexquarters.com/esupport/newimages/QXL/step20.png

 

http://support.flexquarters.com/esupport/newimages/QXL/step21.png

 

You can save all above configuration by clicking "Save" button & you can discard changes by clicking "Exit" button.

 

Help Menu:

You can navigate to Help menu by clicking Help:

 

http://support.flexquarters.com/esupport/newimages/QXL/step22.png

 

From the Help menu, you can get online help by clicking on "Online Help" button.

You can get Activate / Deactivate QXL by clicking on "Activate / Deactivate" button.

 

http://support.flexquarters.com/esupport/newimages/QXL/step23.png

 

Activation:

Enter CD Key & click on "Activate"

 

http://support.flexquarters.com/esupport/newimages/QXL/step24.png

 

Phone Activation:

Enter CD Key & click on "Phone"

 

http://support.flexquarters.com/esupport/newimages/QXL/step25.png

 

http://support.flexquarters.com/esupport/newimages/QXL/step26.png

 

Deactivation:

Enter CD Key & click on "Deactivate

 

http://support.flexquarters.com/esupport/newimages/QXL/step27.png

 

QXL Features:

1. Export QuickBooks Data to XML format via QODBC.

2. Export QuickBooks Data to CVS format via QODBC.

3. Ability to choose export file(s) location

4. Ability to export to Separate files or a single file.

5. Ability to export all tables, selected tabled or excluded tables.

6. Ability to save your default settings from Options.

7. Export to SQL Server Database. 

 

 

 

 

Troubleshooting - How to select record when value is null

$
0
0

Troubleshooting - How to select record when value is null

Problem Description:

I am trying to run a report which returns ItemInventory where LastReceived is NULL I have tried in vain to accomplish this. My question is what syntax do you use to select a blank/null date or is there a special function for this?

Solution:

You can select blank/null date by using "IS NULL" in your query.

For Example below query will returns row whose InventoryDate is blank or null:

SELECT * FROM ItemInventory where InventoryDate IS NULL

 

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

 


The same way you can use "IS NOT NULL" in your query.

For Example below query will returns row whose InventoryDate is not blank or null:

SELECT * FROM ItemInventory where InventoryDate IS NOT NULL

 

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

Troubleshooting - How to use Date() And DateAdd() function in QOD...

$
0
0

Troubleshooting - How to use Date() And DateAdd() function in QODBC

Problem Description:

I'm wanting to write some select statements on both InvoiceLine and SalesReceiptLine that returns 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 >= getdate()-30

How can I reference "30 days ago" using the QODBC driver?



Solutions:

In QODBC, the function CURDATE() – Returns the current computer system date as a date value.

For example, for Today, April 18, 2006, when the following query :-

SELECT {fn CURDATE()} as Today, ({fn CURDATE()}-30) as "30 Days Ago", TxnDate, RefNumber, InvoiceLineDesc FROM invoiceline WHERE TxnDate >= ({fn CURDATE()}-30) is run in VB Demo the results were:

 

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

 

 

Problem Description:

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 is the Criteria that I am trying to use:

Between Date() And DateAdd("dd",-91,Date())

What am I doing wrong? Does QODBC have different functions for this?



Solutions:

To write Pass-thru queries for reading and writing QuickBooks® data using QODBC and Microsoft® Access, you must use the proper date format.

You may use Date Macros but you may also use specific from and to dates for more flexibility.

This function formats dates with the QODBC format: {d 'YYYY-MM-DD'}. No need to remember the format, just the name of the function: fncqbDate.



Function:

Function fncqbDate(myDate As Date) As String
myDate = Nz(myDate, Now)
fncqbDate = "{d '" & Year(myDate) & "-" & Right("00" & Month(myDate), 2) & "-" & Right("00" & Day(myDate), 2) & "'}"
End Function


Example:

You might use fncqbDate to help create an SQL string with VBA from user input dates.

mySQL = "sp_report customtxnDetail show TxnType,TxnID, RefNumber, Date, Name ,Memo , Amount,account parameters TxnFilterTypes = 'Check',SummarizeRowsBy = 'TotalOnly',dateFROM = " & fncqbDate(BegDate) & ", dateTO = " & fncqbDate(EndDate) & " where account like '%checking%'"



Put Some Checks into a Table:

Try this out and put some checks into a table:
1. Copy and paste fncqbDate (first function above) into a module.
2. Copy and paste fncGetChecks (function below) into a module.
3. If you need QuickBooks® open to use QODBC, open it make sure you authorized QuickBooks® to communicate with QODBC. 4. Make sure the following references are checked in your Microsoft® Access database:
Visual Basic For Applications
Microsoft Access 10.0 Object Library
Microsoft DAO 3.6 Object Library


To use fncGetChecks, call it from a form or simply type: fncGetChecks into the immediate window of the Visual Basic Editor.

Change the default connection string if necessary by entering your connection string when prompted.

The function will ask for: a name for the new query (make sure this doesn't already exist in your database)

a beginning date

an ending date

your connection string which may or may not be the default offered



Function fncGetChecks()
On Error GoTo fncGetChecks_err
Dim q As String, Date1 As Date, Date2 As Date
q = InputBox("Give your temporary query a name:", "Temporary Pass-Thru Query", "")
Date1 = InputBox("Enter start date:", "Start Date", FormatDateTime(Now, vbShortDate))
Date2 = InputBox("Enter end date:", "End Date", FormatDateTime(Now, vbShortDate))
Dim db As DAO.Database, qd As DAO.QueryDef
Set db = CurrentDb
Set qd = db.CreateQueryDef(q)
qd.ReturnsRecords = True
qd.Connect = InputBox("Enter connection string:", "", "ODBC;DSN=QuickBooks Data;SERVER=QODBC")
qd.SQL = "sp_report customtxnDetail show TxnType,TxnID, RefNumber, Date, Name ,Memo , Amount,account " & _
"parameters TxnFilterTypes = 'Check',SummarizeRowsBy = 'TotalOnly'," & _
"dateFROM = " & fncqbDate(Date1) & ", dateTO = " & fncqbDate(Date2) & _
" where account like '%checking%'"
DoCmd.RunSQL "select * into tbl" & q & " from " & q
Set qd = Nothing
Set db = Nothing
DoCmd.DeleteObject acQuery, q
DoCmd.OpenTable "tbl" & q
Exit Function
fncGetChecks_err:

MsgBox Erl & " " & Err.Number & ": " & Err.Description
End Function



Also refer:

How to Use Prompted Date Ranges in MS Access 2007 using Vista 


How to use QODBC with QuickBooks Online Edition

$
0
0

How to use QODBC with QuickBooks Online Edition

Setup of QODBC Online:

First we need to install QODBC Online. QODBC Online requires .Net Framework 4.0 or later version. So you need to install .Net Framework 4.0 to work with QODBC Online.
Please refer below steps to install QODBC Online:

1). Download QODBC Online installer from below link:

QODBC Driver for QuickBooks Online Download

2). Install QODBC Online: 

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

 

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

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step3.png

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step4.png

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step5.png

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step6.png

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step7.png

 

Now we have installed QODBC Online.

 

Configure QODBC Online:

Now we need to authorize & configure QODBC Online to work with QuickBooks Online.

Please follow below steps configure QODBC Online:

1) Open QODBC Online Setup Screen & click on "Test Connection to QuickBooks Online" & refer below steps by step guide:

Start>>All Programs>> QODBC Driver for use with QuickBooks Online>> QODBC Online Setup Screen

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step8.png

 

2) By clicking on "Test Connection to QuickBooks Online" popup message appear for setup connection to QuickBooks Online. Please click ok.

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step9.png

 

3) By clicking "OK" open authorization screen. You need to authorize your company file to work with QODBC Online. 

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step10.png

 

4) You need to enable popup.

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step11.png

 

5) Enter your QuickBooks User ID & Password, then click on "Sign In"

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step12.png

 

6) Select the company file which you want to use with QODBC Online. If you have multiple company file.

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step13.png

 

7) Click on "Authorize"

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step14.png

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step15.png

 

8) After successful authorization it will return back to QODBC Online page as connected status. You can close this window.

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step16.png

 

9) You may face UAC error message. Please ignore this message. Test connection may fail because it is running under different user context. 

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step17.png

 

10) Now we are testing the connection through VB Demo application. Please open VB Demo from:

Start>>All Programs>> QODBC Driver for use with QuickBooks Online>> VB Demo:

Click on Connection "Add New Connection"

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step18.png

 

11) Select "QuickBooks Online Data" & click on "OK":

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step19.png

 

You may be face Error 653 " [QODBC] QB Begin Session Failed. Error Calling OpenQBConnection Returned Error: 653 ":

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step19-.png

 

We would like to share that QuickBooks Online database is access via REST API ( web interface ) and few of the times, we do not get timely response and connect may time out.

This may also depend on your internet connection and QuickBooks Online Web Services.

So when you receive such error please try to connect again.

12) Now you can see we are connected to QuickBooks Online. Now we are querying Customer table:

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step20.png

 

Below are the list of Customers:

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step21.png

 

Import / Export connection key:

If you want connect same company file from other machine, then you can export connection key from one machine & import it to other machine.

You can share connection key from:

Start>>All Programs>> QODBC Driver for use with QuickBooks Online >> General tab >> click on "Export Connection key" button & share key.

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step22.png

 

Enter name of connection key & choose the location where you want to save connection key:

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step23.png

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step24.png

 

Now connection key exported successfully. You can copy this connection key & paste it in other machine to import key on that machine.

You can import connection key from:

Start>>All Programs>> QODBC Driver for use with QuickBooks Online >> General tab >> click on "Import Connection key" button & import key.

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step25.png

 

Open connection key from the location where you keep the connection key:

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step26.png

 

http://support.flexquarters.com/esupport/newimages/QODBCOnline/step27.png

 

Now the connection key imported successfully. You can connect to QuickBooks Online using this connection key.


Troubleshooting - How to verify if Optimizer file corrupted or no...

$
0
0

Troubleshooting - How to verify if Optimizer file corrupted or not

Problem Description:

Is there anyway to figure out when the Optimizer cache is corrupted or if there’s a way we can avoid it altogether in the future?

Solutions:

Please refer below steps to identify if Optimizer file has issue:

Method 1



1). Locate 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.

 

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

 

2). Check file modified datetime, if its not recent - there is an issue.

To verify, start vb demo and query the table you use the most , e.g Invoice or Bill 

 

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

 

http://support.flexquarters.com/esupport/newimages/Optimizer/step3.png

3. Check file modified date time, if it's not recent - there is an issue. 

 

Method 2



1) Check QODBC logs. The default path is %UserProfile%\QODBC Driver for QuickBooks. 

 

http://support.flexquarters.com/esupport/newimages/Optimizer/step4.png

 

Search for any of below errors. If one of below error is present in log file, then Optimizer file is corrupted.

database disk image is malformed

SQLOptimize_SQLite_OpenOptimizeDBHandle prepare:
SELECT "type", "tbl_name" FROM "SQLite_MASTER"
file is encrypted or is not a database


SQLOptimize_SQLOpen attach:
C:\Users\USER-NAME\AppData\Roaming\QODBC Driver for QuickBooks\Optimizer\COMPANY-NAME.OPT
cannot start a transaction within a transaction



SQLOptimize_SQLite_ExecuteNonQueryFromMemory step:
ATTACH_PASSPHRASE ................. "C:\Users\USER-NAME\AppData\Roaming\QODBC Driver for QuickBooks\Optimizer\COMPANY-NAME.OPT" AS "FQBase"
database is locked



SQLOptimize_SQLite_ExecuteNonQueryFromMemory step:
ATTACH_PASSPHRASE ................. "C:\Users\USER-NAME\AppData\Roaming\QODBC Driver for QuickBooks\Optimizer\COMPANY-NAME.OPT" AS "FQBase"



Fixing Optimizer file/Rebuild Optimizer file


To overcome this issue, we need to reset optimizer file. Please refer below steps to reset your QODBC optimizer file:

1) Close all other applications that use QODBC.

2) Delete the Optimizer file: Please refer: How to Remove Optimizer file


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 or %AppData%\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.


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

sp_optimizefullsync All

Refer : How to execute SP_OPTIMIZEUPDATESYNC or SP_OPTIMIZEFULLSYNC for Selected Tables
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 some time depends on your records in QuickBooks. It may take 2-24 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 it's building the Optimizer file.

4) Please test again.

5) If you are still facing issue, Please raise a support ticket.

 

Also Refer

Troubleshooting: Slow Performance / Cannot Get Full Records From QuickBooks / How to find missing data

Troubleshooting - "Error Parsing complete XML return string" erro...

$
0
0

Troubleshooting - "Error Parsing complete XML return string" error when trying to update table PriceLevelPerItem in MS Access

Problem Description:

I have constructed an Access database file (in 32bit Access 2003) with tables linked to QuickBooks. I can pull information from the linked 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 below error. I need help figuring out what the error is and how to fix it.

My query is:

UPDATE PriceLevelPerItem INNER JOIN ItemPricing ON PriceLevelPerItem.FQPrimaryKey <> ItemPricing.FQPrimaryKey SET PriceLevelPerItem.PriceLevelPerItemCustomPrice = [ItemPricing].[PriceLevelPerItemCustomPrice];

 

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

 

 

Solutions:

I would like to inform you that you need to include PriceLevelPerItemItemRefListID in your update statement.

you need to include below line in your update statement to resolve this issue.

SET PriceLevelPerItem.PriceLevelPerItemItemRefListID = PriceLevelPerItem.PriceLevelPerItemItemRefListID For Example:

UPDATE PriceLevelPerItem INNER JOIN ItemPricing ON PriceLevelPerItem.FQPrimaryKey <> ItemPricing.FQPrimaryKey SET PriceLevelPerItem.PriceLevelPerItemItemRefListID = PriceLevelPerItem.PriceLevelPerItemItemRefListID, PriceLevelPerItem.PriceLevelPerItemCustomPrice = [ItemPricing].[PriceLevelPerItemCustomPrice];

Troubleshooting - Invoice RefNumber FAQ

$
0
0

Troubleshooting - Invoice RefNumber FAQ

Problem Description:

I have invoice number (refnumber) from my own table outside of QuickBooks. But if 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.

I need to be able to replicate what QuickBooks does in determining the next QuickBooks invoice number. What do you recommend?

Solutions:

While inserting new invoice from QODBC, if you do not pass RefNumber, QuickBooks will automatically manage and assign a RefNumber to the newly inserted invoice.

Well, if you would like to specify the RefNumber, and RefNumber is numeric , it should be easy to sync up, just get max RefNumber from the Invoice table( of current year) and then add 1 to it and then specify it in the insert statement.



Problem Description:

How do I Auto increment Ref Number for Invoice?

Solutions:

While inserting new invoice from QODBC, if you do not pass RefNumber, QuickBooks will automatically increment and assign a RefNumber to the newly inserted invoice.

For Example: If RefNumber of last Invoice is 1111, then QuickBooks will assign 1112 as a RefNumber for newly created Invoice automatically.



Problem Description:

How do I Get max and insert RefNumber for Invoice?

Solutions:

You can get max RefNumber for Invoice by using below query & add 1 to result and can create new Invoice:

SELECT Max(RefNumber) FROM InvoiceLine  

 

http://support.flexquarters.com/esupport/newimages/InvoiceFAQ/step1.PNG

 

We got 2581 as max RefNumber. Now we are creating new invoice with RefNumber 2582.

INSERT INTO InvoiceLine (CustomerRefListID, RefNumber, InvoiceLineItemRefListID, InvoiceLineDesc, InvoiceLineRate, InvoiceLineAmount, InvoiceLineSalesTaxCodeRefListID,FQSaveToCache) VALUES ('620000-1071526513', '2582', '240000-933272656', 'POWERTRAK-2000', 200.00000, 200.00, '20000-999022286',0)

 

Problem Description:

What happen If I use same RefNumber for Invoice creation?

Solutions:

QuickBooks is allows duplicate RefNumber. So when you use same RefNumber for Invoice creation. QuickBooks will create Invoice with duplicate RefNumber/

For Example: If RefNumber of last Invoice is 1111, then QuickBooks will assign 1112 as a RefNumber for newly created Invoice automatically.



Problem Description:

How do I Auto Increment Alphanumeric RefNumber for Invoice?

Solutions:

First create any Invoice from QuickBooks UI & assign alphanumeric RefNumber "R0001T". Now create new Invoice from QODBC & do not pass RefNumber, QuickBooks will automatically increment and assign a RefNumber (i.e. "R0002T") to the newly inserted invoice.


Troubleshooting - How to take screenshot

$
0
0

Troubleshooting - How to take screenshot

Problem Description:

How do I take a error screenshot?

Solutions:

If you’ve got a problem with a program in Windows, you may be wondering how to show the errors you’re receiving. Luckily, taking a screenshot of your current display is just a quick keystroke away. Follow this guide to take a screenshot of your whole screen, a specific window, or any section of the display you want.

1. Press the "Print Screen" (⎙ PrtScr) key on your keyboard. This will capture an image of your entire screen and copy it to the clipboard. The dimensions of the image will be the same as your desktop resolution. The ⎙ PrtScr button may be labeled "PrtScn", "Prnt Scrn", "Print Scr", or something similar. On most keyboards, the button is usually found between F12 and Scroll ⇩. On laptop keyboards, you may have to press the Fn or "Function" key to access "Print Screen". [1] You will not receive any confirmation that the screenshot has been taken.

 

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

 

2. Paste the screenshot. Once you’ve made the screenshot, you will need to paste it to a program in order to see it. The most common way to paste it is into a Paint file. This will allow you to save it as an image file that can be transferred to others. Open Paint from the Accessories section in your Start menu. With a new blank canvas open, press ^ Ctrl+V to paste the image onto the canvas. You can also open the Edit menu and select Paste, or right-click on the canvas and select Paste. Click File, then Save to set the name and file type of the image. The most common file types are JPG and PNG. The recommended format for screenshots is PNG, due to the high quality and small file size. You can also paste the screenshot into other programs, such as Word or into the body of an email. Simply open the program that you want to paste the image into and press ^ Ctrl+V.

 

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

 

3. Save the screenshot: Perform any edits you want, such as cropping the image to a specified area, and click the main File option in the top-left corner. Afterward, select Save as, title the new file, choose a save location, and select your desired file format from the drop-down menu. For most purposes, JPG will do fine, but a variety of other formats are available to choose from such as PNG, BMP, GIF, and others. Click the gray Save button in the bottom right-hand corner when finished. 

 

http://support.flexquarters.com/esupport/newimages/ScreenShot/step3.png

Troubleshooting - How to create blank Invoice in QuickBooks Onlin...

$
0
0

Troubleshooting - How to create blank Invoice in QuickBooks Online using QODBC

Problem Description:

How do I create a note (or a blank line) on the invoice? If I do it the same way that I do it using QODBC for QuickBooks I get an error :

Error sending txn to QB: 2020: . QuickBooks message: Required param missing, need to supply the required value for the API . QuickBooks message: Required parameter Line.SalesItemLineDetail is missing in the request

Solutions:

You can create blank invoice from QODBC Online by using below sample query:

INSERT INTO "InvoiceLine" (CustomerRefFullName,"InvoiceLineItemRefFullName", RefNumber) VALUES ('Aadi Vanhorn','Test','Blank001' )

You first need to create any item without providing price/rate in Item module, then you need to provide Itemname in your query. In this example I have created Item "Test" & use it in query. You can use RefNumber column to insert InvoiceNumber. If you don't want to provide InvoiceNumber, then QuickBooks Online automatically add Invoice number to Invoice. Please see below query without including RefNumber:

INSERT INTO "InvoiceLine" (CustomerRefFullName,"InvoiceLineItemRefFullName") VALUES ('Aadi Vanhorn','Test')

Viewing all 313 articles
Browse latest View live