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 : Pay bills, Checks and JournalSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Pay bills, Checks and Journal 
 Author   Message 
  GUL 
  
 Group: Members 
 Posts: 3 
 Joined: 2007-11-11 
 Profile
 Posted : 2007-11-27 11:51:41
Hi peers...

I need to print the voucher out for any given CHECK generated from Pay Bills.

I can print out the CHECK in any format I want with our custom Delphi application. No problem with that.

But I can not find the fields needed to print out the voucher for the CHECK. All I need is the Debit Amount, the Credit Amount and the corresponding Debit and Credit ACCOUNTS.

What TABLE and what FIELDS do I need to use ?

Please help me out... need this urgently... meaning t o m o r r o w !!!

Thank you everyone.

Best regards. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-11-27 14:36:28

Ok, the first step is to find the TxnID of the Bill Payment Check. In this example I know that the check number is 276, so I run the following query:

Select TxnID, RefNumber, BankAccountRefFullName, Amount from BillPaymentCheckLine
where RefNumber = '276'

Now that I know that the TxnID is '36C3-1071520917', I can run the following report to extract all the voucher details:

sp_report CheckDetail show TxnType, RefNumber, Date, Name, Item, Account,
SplitAccount, PaidAmount, OriginalAmount
parameters DateMacro = 'ThisMonthToDate', TxnFilterTypes = 'BillPaymentCheck'
where TxnID = '36C3-1071520917'

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to