|
[QODBC-ALL] How FQSaveToCache works
Posted by Rajendra Dewani (QODBC Support) on 25 November 2025 12:33 PM
|
How FQSaveToCache works
How FQSaveToCache Works
The process involves a sequence of INSERT statements for the line items of a transaction, with the FQSaveToCache flag controlling when the data is sent to QuickBooks.2
1. Caching the Lines (FQSaveToCache = 1 or TRUE)
2. Finalizing and Writing the Transaction ( FQSaveToCache = 0 or FALSE)
-
For the last line item INSERT statement for that transaction, you must set the FQSaveToCache value to 0 OR FALSE. If you do not include FQSaveToCache field and value in the insert statement, it will be considered as FQSaveToCache =0
-
Action: When QODBC sees this value, it performs two main steps:
-
It combines the data from this final INSERT statement with all the previous cached line items for the same connection.
-
It sends this complete, combined transaction (header and all lines) as a single batch to QuickBooks via the QuickBooks SDK.
-
Result: The complete transaction is now permanently saved in your QuickBooks company file.
-
Example (Conceptual):
|
(0 vote(s))
 Helpful  Not helpful
|