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 : Jump-ins and how do they work? Is it possible to set all the quantity on hand to zero?Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Jump-ins and how do they work? Is it possible to set all the quantity on hand to zero? 
 Author   Message 
  SaSGurus 
  
 Group: Members 
 Posts: 26 
 Joined: 2006-04-02 
 Profile
 Posted : 2006-04-02 05:39:27

How do Jump-ins work - for example is it possible to write code that will set all the quantity on hand to zero in an inventory with a jump-in?

 

 
Victor Nahigian
617-965-4615 x110
jvn@sysgbs.com 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-02 14:28:39
Currently the inventory quantities in the ItemInventory table cannot be updated directly, you must do Inventory Adjustments to change stock levels.

This example creates one inventoryadjustment with three lines. Note the FQSaveToCache field, set to True except on the last one. Note: QuickBooks must be in single user mode for this to work.

INSERT INTO "InventoryAdjustmentLine" ("AccountRefListID", "TxnDate", "RefNumber", "Memo", "InventoryAdjustmentLineItemRefListID", "InventoryAdjustmentLineQuantityAdjustmentNewQuantity", "FQSaveToCache") VALUES ('320000-933270542', {d'2003-12-15'}, '1', 'Memo 1', '160000-933272656', 200.0, 1)

INSERT INTO "InventoryAdjustmentLine" ("AccountRefListID", "TxnDate", "RefNumber", "Memo", "InventoryAdjustmentLineItemRefListID", "InventoryAdjustmentLineValueAdjustmentNewValue", "FQSaveToCache") VALUES ('10000-933270541', {d'2003-12-15'}, '1', 'Memo 2', '450000-1071511428', 100.0, 1)

INSERT INTO "InventoryAdjustmentLine" ("AccountRefListID", "TxnDate", "RefNumber", "Memo", "InventoryAdjustmentLineItemRefListID", "InventoryAdjustmentLineQuantityAdjustmentNewQuantity", "FQSaveToCache") VALUES ('10000-933270541', {d'2003-12-15'}, '1', 'Memo 3', '440001-1071511796', 30.0, 0)

As far as jump-ins are concerned, jump-ins are like indexes and are what should be used in your where clauses in your SQL SELECT statements to locate rowsets without QODBC doing a table scan:
 

JUMPIN FIELDS FOR:

 
Example: Select * from ItemInventory Where FullName = "Door"
FIELD NAMEJUMPIN TYPE

IsActive

ActiveStatus

FullName

FullName

TimeModified

TimeModifiedOnly

ListID

ListID

To view the jump-ins for any table you can use the stored procedure:

sp_columns tablename

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to