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 : Rate Column in Timetracking tableSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Rate Column in Timetracking table 
 Author   Message 
  brendamt 
  
 Group: Members 
 Posts: 3 
 Joined: 2008-11-01 
 Profile
 Posted : 2008-11-01 04:25:46

When I import the timetracking table the rate column imports empty - how do I get the correct rates to come over with the table?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-11-03 21:51:07

See: How do I insert data into the Timetracking table? 

The "Rate" column is empty because it actually comes from the ItemServiceRefFullName used.

 

  Top 
  brendamt 
  
 Group: Members 
 Posts: 3 
 Joined: 2008-11-01 
 Profile
 Posted : 2008-11-04 03:40:16
We are a service firm and the information in ItemServiceRefFullName are the initials of the people doing the work. The customers are charged different rates for different matters and I need the correct rate to be imported with the table. How do I do that without typing in each indivitual rate? 

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

The Rate column is not queryable or insertable, so you won't see any values in the TimeTracking table. While it's updateable, when I tried:

Update TimeTracking set rate = 50 where TxnID = '655-933357513'

QuickBooks said:

SQL Statement: Update TimeTracking set rate = 50 where TxnID = '655-933357513'
530 - The field "Rate" is not supported by this implementation.

 

 

  Top 
  brendamt 
  
 Group: Members 
 Posts: 3 
 Joined: 2008-11-01 
 Profile
 Posted : 2008-11-06 03:55:54

At one time I tried to use lookup tables which did insert the correct rates and the syntax is similar to your set rate statement. Is there any way to relate a set of tables to get the rates?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-11-06 08:06:18

Actually I've covered all of this in: Table Relations for TimeByName and TimeTracking 

But for normal Salary Employees, try this instead:

Select timetracking.txndate, timetracking.entityreflistid, timetracking.durationminutes,
timetracking.payrollitemwagereffullname, timetracking.payrollitemwagereflistid,
EmployeeEarning.PayrollInfoEarningsRate, timetracking.notes
from timetracking, EmployeeEarning
where timetracking.entityreflistid = EmployeeEarning.ListID
and timetracking.txndate >= {d '2008-12-01'} and timetracking.txndate <= {d '2008-12-31'}
and timetracking.payrollitemwagereflistid =
EmployeeEarning.PayrollInfoEarningsPayrollItemWageRefListID

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to