Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

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

Forum : AccountListID not returned for gl accts w/ no acct number in sp reportsSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v8 Forum

 New Topic 
 
 Post Reply 
[1]  
 AccountListID not returned for gl accts w/ no acct number in sp reports 
 Author   Message 
  CJ 
  
 Group: Members 
 Posts: 4 
 Joined: 2008-05-16 
 Profile
 Posted : 2008-05-16 13:19:00

I'm trying to export the general ledger data using various sp reports.  I have found that for account numbers that are "buried" within other account numbers and are missing an account number, the sp reports do not retrieve the AccountListID.

When I type in an account number in the chart of accounts, the sp reports work.  However, I have almost 700 g/l account numbers that need to be edited.

Is there a way around this?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-05-16 14:42:47

Try just doing:

Select * from Account

 

  Top 
  CJ 
  
 Group: Members 
 Posts: 4 
 Joined: 2008-05-16 
 Profile
 Posted : 2008-05-16 22:19:18

Hi Tom,

My problem isn't with the 'Account' table.  Its with the sp_report TxnDetailByAccount or General Ledger report

Here is my query: sp_report TxnDetailByAccount show TxnId, AccountListID,AccountNumber, Date,TxnType, PoNumber, RefNumber, Name, Memo, Amount  parameters DateMacro = 'ThisYear'  where TxnType is not null

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-05-19 08:22:01

I think you are referring to sub-accounts, but without a specific example it's hard to tell. System transactions, however don't have a AccountListID:-

 

  Top 
  CJ 
  
 Group: Members 
 Posts: 4 
 Joined: 2008-05-16 
 Profile
 Posted : 2008-05-23 04:18:31

Yes, I'm referring to subaccounts.  In the chart of accounts which I am using, some accounts are "buried" several layers deep.  It seems that when it is buried to far, the 'sp_reports' do not report the AccountListID.  If I add a number to the account, then 'sp_reports' works.  As you can tell from the example below, the transactions are 'Bill's.  On a side note, I don't know this for a fact, but I would think every QuickBooks account has a AccountListID.

I could add the numbers to the sub accounts, but there are over 500 accounts which would have to be modified.

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-05-23 07:56:11
This bug has been reported to the QODBC Software Engineer under QSupport Ticket No: BR00000087 for further investigation. I don't have a time frame on when these investigations will be carried out. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-06-06 09:10:31
Ok, this is one of those, "this is how it works and we can't do any better". The issue is we don't get an AccountListID or even an AccountFullName from the Intuit qbXML SDK. What we get is an AccountName. If you duplicate an AccountName under different parent accounts QODBC has no way of uniquely figuring out what Account the SP_REPORT returned. The only work around is to have every account name be unique or add account numbers to the sub accounts. 

  Top 
  CJ 
  
 Group: Members 
 Posts: 4 
 Joined: 2008-05-16 
 Profile
 Posted : 2008-06-06 22:19:41

Tom,

Thanks for the update.

I think when compared to developing an alternative to the SP_REPORT and modifying the account records, the modification is the better route.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to