Hi,
I am attempting to create an Inventory Database for our Installation Services Company. I am trying to figure out the best way to structure my database to enable the calculation of: Quantity on Hand, Quantity Allocated, Quantity on Order and Product Cost. I am not sure if I will be able to use one Transactions Table for the different scenarios (Purchase Orders-Incoming with cost data), (Adjustments-inventory count adjustments--I don't believe this should include cost info?) (Sales Orders-initially neutral transactions until received in warehouse) Rather than storing product cost in the product table, I would like it to be calculated based on past purchase orders (we purchase most material per job, so prices vary)
I have created the following tables and just wanted to make sure I am on the right track:
TransDirectionT
1-Incoming
2-Outgoing
3-Neutral
TransTypeT
Purchased (3)
Received (1)
Allocated (3)
Delivered (2)
Transfer (2)
AdjustUp (1)
AdjustDown (2)
TransactionT
TransactionID (PK)
TransTypeID (FK)
Order
employeeID
TransDate
ProductID (FK)
Quantity
UnitPrice
Comments
Thank you so much!!