This is a really broad question but im just interested to know how you experienced developers handle an inventory system in an access database.
I can see two options, either having a "lot history" table which lists all transactions and then having control that calculates a total
ie
(Purchases + adjustments in + o/s orders ) - (issues + adjustments out)
but i can see that running quite slowly in a larger table.
The other option would be to have a "lot history" table (a necessity for audit purposes) and have a field in your parts table which shows the total inventory values, and these values are updated after each reciept into stock / issue from stock.
Personally i can see immediate benefits to both methods, and would lean toward the first option, since the second doesnt seem very versatile.
However, to throw a spanner in the works.
It isnt always possible to group the lots in stock by part.
IE some parts may have been purchased at different prices etc and it would be important to record the price for that particular lot ( if you were going to look at costing sales orders)
Therefore each individual lot would need to be listed.
in this case would you have a lot history table and a table that shows a record for each lot in stock?
Like i say intersted to see other peoples opinions
I can see two options, either having a "lot history" table which lists all transactions and then having control that calculates a total
ie
(Purchases + adjustments in + o/s orders ) - (issues + adjustments out)
but i can see that running quite slowly in a larger table.
The other option would be to have a "lot history" table (a necessity for audit purposes) and have a field in your parts table which shows the total inventory values, and these values are updated after each reciept into stock / issue from stock.
Personally i can see immediate benefits to both methods, and would lean toward the first option, since the second doesnt seem very versatile.
However, to throw a spanner in the works.
It isnt always possible to group the lots in stock by part.
IE some parts may have been purchased at different prices etc and it would be important to record the price for that particular lot ( if you were going to look at costing sales orders)
Therefore each individual lot would need to be listed.
in this case would you have a lot history table and a table that shows a record for each lot in stock?
Like i say intersted to see other peoples opinions