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
|
|
JournalEntry, JournalEntryCreditLine and JournalEntryDebitLine |
Author |
Message |
|
Posted : 2006-05-15 20:16:32 |
Dear Tom,
Here I am again, going to ask more questions. This time it is regarding the JournalEntry table and it's related Credit/Debit Table.
I have entries which are post dated or future dated and I cannot retrieve any of the future dated entries. The records retrieve are only those up to this month.
To rule out any errors, I used the VBdemo using the following SQL statement: for the JournalEntry, JournalEntryCreditLine and Debit tables, all with the same result - Future dated entries are not retrieve.
SELECT * FROM JournalEntryDebitLine WHERE (((JournalEntryDebitLine.TxnDate)>={d'2006-05-16'}))
i can verify that there are future dated entries based on the reports generated using Quickbook ( Reports -> Accountant and Taxes -> Journal ).
Any way I can retrieve the missing records?
Thanks again
best regards, rodney |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-05-15 21:43:40 |
|
|
|
|
Posted : 2006-05-16 11:58:40 |
Dear Tom,
Done that - Unoptimized. Still cannot retreive future dated records.
I always use unoptimized. I already set the option using "ODBC Data Source Administrator - File DSN" with the following setting:
"ODBC;DRIVER={QODBC Driver for QuickBooks};SERVER=QODBC;OptimizerOn=No"
Question:
Is it safe to assume I can do almost every kind of transactions using the Journal entry ?
Thanks and best regards, rodney |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-05-16 14:56:53 |
The QuickBooks sample files set the QuickBooks system date at Dec 15, 2007, so I have used these sample journal statements to test future dates:
INSERT INTO "JournalEntryCreditLine" ("TxnDate", "RefNumber", "JournalCreditLineAccountRefListID", "JournalCreditLineAmount", "JournalCreditLineMemo", "FQSaveToCache") VALUES ({d '2008-01-01'}, '1', '120000-933270541', 1.11, 'Test Future Dated Credit', 1)
INSERT INTO "JournalEntryDebitLine" ("TxnDate", "RefNumber", "JournalDebitLineAccountRefListID", "JournalDebitLineAmount", "JournalDebitLineMemo", "FQSaveToCache") VALUES ({d '2008-01-01'}, '1', '120000-933270541', 1.11, 'Test Future Dated Credit', 0)
without any problems here:
SELECT JournalCreditLineTxnLineID, JournalDebitLineTxnLineID FROM JournalEntryCreditLine, JournalEntryDebitLine WHERE JournalEntryCreditLine.RefNumber=JournalEntryDebitLine.RefNumber and ((((JournalEntryDebitLine.TxnDate)>={d'2008-01-01'})) or (((JournalEntryCreditLine.TxnDate)>={d'2008-01-01'})))
|
|
|
|
|
Posted : 2006-05-16 21:04:49 |
Dear Tom,
Thanks for the samples using VBdemo. I tried it and I now know why I could not retreive the records I wanted.
Does QODBC or Quickbook restrict access to other transaction type from the Journal entry? I found out that only "General Journal" and "Transfer" transaction type can be retrieve.
All other transaction type such as bill,check, payment, Bill Pmt -Check, Liability Check, Invoice, sales receipt, deposit, etc... are not retreive even thought it will show up under the QuickBook reporting ( Reports -> Accountant and Taxes -> Journal ). It has nothing do to with the TxnDate.
Is this a restriction from Quickbook? Or Do I need to specify or set something in order to retrieve the other records that I wanted - more specifically "Bill Pmt-Check", "Check" and "Liability Check".
I understant that I can retrieve "bill pmt-check" from the BillPaymentCheck" table and "check" from the "Check" table, and the 'Liability check" from the sp_report.
It is the Liabliity check that I am more interested to retreive and modify.
Is it safe to assume I can do almost every kind of transactions using the Journal entry ?
Thanks
Best regards rodney |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-05-16 22:57:57 |
The JournalEntry, JournalEntryCreditLine and JournalEntryDebitLine tables show the same entries as in Banking --> Make Jounal Entries in QuickBooks as they are the only "real" journals as QuickBooks doesn't have a General Ledger Transaction (GLTran) Table, which is your approach here.
QuickBooks stores the account reference in the sub-ledgers, so to change or modify anything you need to deal with it within the sub-ledger itself.
Intuit doesn't allow us access to Payroll Checks, so you can't use QODBC to change payroll liabilities such as payroll taxes, etc...
|
|
|
|
|
Posted : 2006-05-17 15:35:16 |
Dear Tom,
Thanks for the clarrifications. I guess it's a dead end regarding liablity check.
best regards, rodney |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-07-12 08:49:04 |
BTW: The JournalEntryCreditLine, JournalEntryDebitLine tables can be joined like this:
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-13 18:58:37 |
Dear Tom,
Thanks for the added information. I'll keep that in mind.
best regards, Rodney |
|
|
|
|