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 : Help me define an approach for updating custom price fieldsSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Help me define an approach for updating custom price fields 
 Author   Message 
  TomW 
  
 Group: Members 
 Posts: 24 
 Joined: 2007-04-03 
 Profile
 Posted : 2007-04-12 01:56:45

We are in the produce business where market prices varie weekly.  I need to have a FOB price and a delivered price for each of over 150 different products.

I want to make a 'price book',  either in Excel or Access,  where the salesperson can review the product list pricing,  changing the FOB and DEL prices as needed,  and then have these values written back to quickbooks.

I noticed when in Quickbooks it wouldn't let me change the custom pricing unless I go to single user mode.  Is this also going to be the case with QODBC?

I would like to do it in Excel (simply because I can program it more easily) but I can program Access if neccessary.  I am confused about how I can do a write back from Excel.  Could you direct me to some examples that would get me started?

Thankyou

Tom

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-04-12 11:42:47

You will need to read your Excel spreadsheet in MS Access and then program a loop to read each line and perform an update operation.

To update a PriceLevelPerItem row, the statement format looks like this:

Update PriceLevelPeritem SET PriceLevelPerItemCustomPrice = 43.21, PriceLevelPerItemItemRefListID = 'F0000-933272656'  WHERE ListID = '30000-1197755980' AND PriceLevelPerItemItemRefListID = 'F0000-933272656'

To insert PriceLevelPerItem rows see: PriceLevelPerItem Updates & Inserts for more information.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to