Hello everyone -
I have been struggling to get a project off the ground for some time. I thought I was looking for a FIFO type of inventory tracking but, when I look at the threads related to that topic, they seem to be more involved than what I was thinking. Here is what I want to happen.
In qryTransactions, I have the items that have come in to the warehouse by container number (primary key) and date. Example:
TransDate ContainerID Qty
6/14/11 1254578965 20
6/13/11 9865784523 40
Then, on 6/20/11 an order comes in for 45 units. I want to create a query that will pull all 40 units from the container received on 6/13/11 and the remaining 5 from the container received on 6/14, therefore reducing the qty field to 15 for that container.
I am fairly new at writing code but have some experience with it.
Any help would be greatly appreciated. Thank you so much for your time.