Troubleshooting - Unable to load all customer records due to CustomerShippingAddress
I am unable to load all customer records through QODBC.
I have a large number of ship-to addresses of the customers.
I have tried to execute the query using the UNOPTIMIZED keyword. But still didn't get records.
I have noticed the below error in QODBC logs.
SELECT * FROM Customer UNOPTIMIZED
Error Getting XML in BuildAndLoadXMLForNextRecord
Please follow below steps & test again.
1. Open QODBC Setup Screen from Advanced tab Set iterator size to 10.
Start >> All Programs >> QODBC Driver for use with QuickBooks >> Configure QODBC Data Source >> Go To "User DSN" or "System DSN" Tab (i.e. Whatever DSN you are using)>> select your DSN >> click "configure" >> switch to Advanced tab >> Set Iterator or Chunk Size to 10 & apply changes.
2. Execute the below query in the Customer table.
Select * from Customer UNOPTIMIZED
Query the table Customer with filter ListID or FullName.
Select * from Customer UNOPTIMIZED where fullname='ABC'
Attempt to optimize the customer table through QODBC Test Tool using below query & check again. (Retry if fail).