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 : DepositLine and ExchangeRateSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Support Forum

 New Topic 
 
 Post Reply 
[1]  
 DepositLine and ExchangeRate 
 Author   Message 
  JCR 
  
 Group: Members 
 Posts: 1 
 Joined: 2008-01-24 
 Profile
 Posted : 2008-01-24 02:50:09

I'm developing an interface between QuickBooks 2006 and SunSystems 5.2.1. The purpose is to transfer transactions from QuickBooks to SunSystems (only for P&L expenses accounts). The source tables from which I will pick up transactions to be transferred are:

- JournalEntryLine

- CheckExpenseLine

- BillExpenseLine

- DepositLine

All amounts have to be transferred in USD (which is the home currency of the company). For the first three tables I've got no problem to calculate the USD amount as I'm using the ExchangeRate field which is available in these three tables. But for the DepositLine table there isn't any ExchangeRate field... I know I could join the Account table and then the Currency table to find the ExchangeRate of the Currency code linked to the account... but when QuickBooks is configured with multi-currency, in the Make Deposit screen there is a field on the bottom which allow user to overwrite the default rate...

Where is that exchange rate value stored ??? How can I retrieve that value ???

Thanks a lot.

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-01-24 07:28:22
The workaround is to update the currency table first with the new default exchange rate you want to use first and then create the deposits. For example:

UPDATE Currency SET ExchangeRate=1.62575 where Name='United States of America Dollar'

See: How can I see the Exchange Rate used in Foreign Currency Transactions? for more.

 

  Top 
  JonB 
  
 Group: Members 
 Posts: 5 
 Joined: 2008-01-30 
 Profile
 Posted : 2008-02-02 08:46:55

Tom,

I may be completely missunderstanding you but what JCR seems to want (and I need to do as well) is to read the values that have been assigned to each existing deposit.

I'm not trying to create new deposits with a given exchange rate, I'm trying to read deposits and find the value of each one in my native currency.

- Jon

 

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

The only way to see what happen to the Foreign Exchange Deposits is to follow the TxnNumber. For example, for this Deposit:

I can look at the DepositLine table and find that the TxnNumber for this Deposit was 474:

SELECT TxnNumber, DepositToAccountRefFullName, Memo, DepositTotal,
DepositLineEntityRefFullName, DepositLineMemo FROM DepositLine where TxnNumber=474

I can then use this TxnNumber to find what exchange rate was used by reading the USD$100 deposit from above and comparing it the AUD$120.00 now in my Australian Bank Account by using the Deposit Detail report:

SELECT TxnNumber, DepositToAccountRefFullName, Memo, DepositTotal,
DepositLineEntityRefFullName, DepositLineMemo FROM DepositLine where TxnNumber=474

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to