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 : How do I add a Payroll Item to the list?Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Sample Scripts Forum

 New Topic 
 
 Post Reply 
 How do I add a Payroll Item to the list? 
 Author   Message 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-03-08 11:33:55

This example uses the PayrollItemWage table, however the same applies to the PayrollItemNonWage table.

The first step is to find the ListID for your Payroll Expense ledger account. This may be found by running the following query in VB Demo:

Select ListID, Name, AccountType from Account where AccountType = 'Expense'

From the above, the second line shows the ListID for Payroll Expenses is 540002-1071527489

Using this ListID as the ExpenseAccountRefListID you can then create the new PayrollItem using a INSERT command like this :

INSERT INTO PayrollItemWage (Name, IsActive, WageType,
ExpenseAccountRefListID) VALUES ('QODBC Payroll Item',
1 ,'HourlyRegular', '540002-1071527489')

 

  Top 
 New Topic 
 
 Post Reply 

Jump to