If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Inventory and Sales Management

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-30-08, 13:09
jperez jperez is offline
Registered User
 
Join Date: Sep 2008
Posts: 1
Inventory and Sales Management

I am implementing a database of a Book Store.

The inventory is controled by this process:
1. An order (sales/purchase) is generated and the order can have many items of inventory.
2. If is an sale order, then the items of the order is charged to the "Item sale order" table and discounted from the "Item inventory" table, and register into "Variance item inventory sale".
3. 2. If is an purchase order, then the items of the order is charged to the "Item inventory" table and discounted from the "Item inventory sale" table, and register into "Variance item inventory".

The question is, how I can do for automatic update the process. Actually I can register and order and the items of the order, but I dont know how to update de Variance of Inventory every time that I generate and order.

Let me know if I'm not clear in my request. Thanks.
Attached Thumbnails
Inventory and Sales Management-testdb.png  
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On