Rate Column in Timetracking table |
Author |
Message |
|
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? |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-11-03 21:51:07 |
|
|
|
|
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? |
|
|
|
Tom |
|
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.
|
|
|
|
|
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? |
|
|
|
Tom |
|
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 |
|
|
|