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 : Need Help with Adding Inventory into QuickbooksSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Need Help with Adding Inventory into Quickbooks 
 Author   Message 
  Don 
  
 Group: Members 
 Posts: 17 
 Joined: 2006-05-03 
 Profile
 Posted : 2006-05-04 15:25:06

Hello, I'm using Access 2000 to connect to QuickBooks Pro 2006 (Canadian Version)

When I run the following SQL statement in Microsoft Access, I can add records with no problem but I have a couple of fields that don't seem to be inserting properly.

 DoCmd.RunSQL "INSERT INTO ItemInventory (Name, IsActive, SalesDesc, IncomeAccountRefListID, PurchaseDesc, PurchaseCost, " & _
                "COGSAccountRefListID, AssetAccountRefListID, InventoryDate, TotalValue, QuantityOnHand) " & _
                "VALUES ('JustTesing', TRUE, 'JustTestingSalesDesc', '350000-1078292072', 'JustTestingPurchaseDesc', 3500, '3E0000-1078292072', " & _
                "'C0000-1078292071', #2006-05-02#, 3500, 1)"

1) The above statement ends up putting the TotalValue figure against the AverageCost in Quickbooks. Am I missing something here ???

2) I'm having problems actually inserting into the InventoryDate field. I must not be using the correct syntax . Does anyone know the correct syntax ??

 

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

See: How do I add a Inventory Item using QODBC? 

MS Access uses your system date format so I'm guessing it's MM-DD-YYYY so it should be #05-02-2006# ? Because the quantity is 1, the purchase cost will become the Average Cost in QuickBooks.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to