How to update record in two different recordsets

ctkmak

Registered User.
Local time
Today, 18:50
Joined
Sep 25, 2004
Messages
11
I am developling an inventory management program. I design a master record which has a field to store the total stock available and a Sales Form for user input the sale record(s). When user input the sales throught the Sales Form, how I can reduce the total in the master record ?

Master Record:
Fish 100 units
Apple 200 units
:
:

Sales Record:
Fish sales 2 units
Apple sales 10 units
:
:
 
Inventory Management application can become extremely complex. Basically your stock on hand is Opening stock plus receipts minus issues. This is the overriding principle.

So you have 200 fish in stock, You take an order for 100. You still have 200 in stock until you take the 100 out of stock. Just because you have an order does not necessarily reduce you actual stock. To make have a stock allocation situation whereby your Available to Promise stock is reduced Sounds simple but it aint basically.

Most MRPII systems that deal with stock base it on transactions.

Receipt transaction Goods delivered to you
Issue Transaction Goods taken from stock for whatever reason
Adjustment Transaction, Used for putting stock figure right when it gets screwed up.

There are several threads on this subject and I suggest you review these.

Basically the Doc Man suggests you model your requirements first using post-its and a wall. Its good advice. You are entering an area that quickly and easily becomes a very complex, processor heavy application.

Think it out completely first

Len B
 

Users who are viewing this thread

Back
Top Bottom