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 : Can't Determine Vendor CreditSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Can't Determine Vendor Credit 
 Author   Message 
  Louis Block 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-10 
 Profile
 Posted : 2008-12-10 04:43:56
QuickBooks properly shows a vendor credit applied against a vendor bill.  When I look at the Vendor Credit tables through QODBC, some credits are listed and others are not.  I cannot determine any reason that ALL of the credits wouldn't be listed.  Any suggestions? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-10 09:36:53

Try rebuilding your optimized file by running:

Select * from VendorCredit verify

 

  Top 
  Louis Block 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-10 
 Profile
 Posted : 2008-12-17 08:20:13
All tables are optimized properly.  The specific issue is that about 1/3 of my transactions in VendorCredit do not have corresponding records in VendorCreditLinkedTxn.  

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-17 10:13:59
Sorry, but I need to explain what do you mean? Please post examples. 

  Top 
  Louis Block 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-10 
 Profile
 Posted : 2008-12-17 11:10:01

It is my understanding that if I have a $100 credit that has been applied to four invoices (at $25 each), their would be one entry in the VendorCredit table for $100 and four $25 related entries in the VendorCreditLinkedTxn table with the same TxnID.  In my case, I have 152 credits in VendorCredit and only 98 of them have matching transactions.  The remaining 55 do not have detail records in VendorCreditLinkedTxn.

Am I misunderstanding the relationship between these two tables or am I missing records for some reason?

Thanks Tom for trying to help,

Louis Block

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-17 16:18:09

The relationship would be from the VendorCreditExpenseLine and/or VendorCreditItemLine tables and the applied Bills directly. The BillLinkedTxn shows Bills Paid, Re-imbursed Expense Used/Not Used, Checks Used to Pay Bill that are directly tied to the Main Bill Table.

 

  Top 
  Louis Block 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-10 
 Profile
 Posted : 2008-12-18 17:06:02
I am not looking for the Expense or Item line details but the history which shows which invoice(s) the credit was applied to.  My understanding is that the detail should be in VendorCreditLinkedTxn. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-19 10:45:10

Ok, as far as, "If you have $100 credit that has been applied to four invoices (at $25 each), there would be one entry in the VendorCredit table for $100 and four $25 related entries in the VendorCreditLinkedTxn table with the same TxnID", is concerned, you are correct. I ran this query and got four rows returned, all with different Bills.

SELECT VendorCreditLinkedTxn.TxnID,VendorCreditLinkedTxn.LInkedTxnTxnID,
VendorCreditLinkedTxn.LinkedTxnAmount, Bill.AmountDue, Vendor.Contact
FROM VendorCreditLinkedTxn, Bill, Vendor
where VendorCreditLinkedTxn.LinkedTxnTxnID=Bill.TxnID
and VendorCreditLinkedTxn.VendorRefListID=Vendor.ListID
and VendorCreditLinkedTxn.VendorRefFullName ='ABC Company'

 

 

  Top 
  Louis Block 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-12-10 
 Profile
 Posted : 2008-12-19 15:00:34
That's my whole point!  A large number of my credits are missing from the VendorCreditLinkedTxn table.  I have verified the data as you previously recommended but about 1/3 of my credits are NOT listed in this table. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to