Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
JournalEntryCreditLine same as JournalEntryDebitLine |
Author |
Message |
|
Posted : 2006-07-21 00:43:37 |
When I do a "select * from JournalEntryCreditLine", I get the same exact results as when I do a "select * from JournalEntryDebitLine". When I do a QBXML query, specifically a JournalEntryQueryRq request, I get the correct results. I can see from the QBXML query that the "select * from JournalEntryCreditLine" is actually incorrectly returning results from JournalEntryDebitLine. I tried running the query with UNOPTIMIZED, but I get the same incorrect results. This has me puzzled. |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-07-21 11:29:12 |
Sorry, that's not what I see. You need to check that you are using QODBC v6.00.00.176 (or later). The JournalEntryCreditLine, JournalEntryDebitLine tables can be joined like this to check:
SELECT JournalEntryCreditLine.TxnDate, JournalEntryCreditLine.TxnID, JournalEntryCreditLine.JournalCreditLineAccountRefFullName, JournalEntryCreditLine.JournalCreditLineAmount, JournalEntryDebitLine.JournalDebitLineAccountRefFullName, JournalEntryDebitLine.JournalDebitLineAmount, JournalEntryDebitLine.JournalDebitLineMemo FROM JournalEntryCreditLine, JournalEntryDebitLine WHERE JournalEntryCreditLine.TxnID=JournalEntryDebitLine.TxnID and ((((JournalEntryDebitLine.TxnDate)>={d'2006-01-01'})) or (((JournalEntryCreditLine.TxnDate)>={d'2006-01-01'})))
|
|
|
|
|
Posted : 2006-07-23 02:44:04 |
I should have updated before asking my question. After updating to the newest version of QODBC, I no longer have this problem. |
|
|
|
|