A
Al
I need to make a query, that takes a part number, lists
all of the reciepts against it, and the date
received,looks at the quantity on hand and tells me the
age (todays date less the received date) of the inventory
on hand.
I have the Age calculation, I cannot seem to figure out
how to 1. determine the age of a partial receipt and
elimiate all other records once the quantity on hand is
met.
For expample.. Part #1 has 59 on hand, I received in 1 on
2/1/04 and 250 on 1/1/04 and 300 on 12/31/04. How can I
make a query spit ouot 1 on 2/1/04 and 58 on 1/1/04 and
not come up with the 12/31/04 record.
Any help will be appreciated.
all of the reciepts against it, and the date
received,looks at the quantity on hand and tells me the
age (todays date less the received date) of the inventory
on hand.
I have the Age calculation, I cannot seem to figure out
how to 1. determine the age of a partial receipt and
elimiate all other records once the quantity on hand is
met.
For expample.. Part #1 has 59 on hand, I received in 1 on
2/1/04 and 250 on 1/1/04 and 300 on 12/31/04. How can I
make a query spit ouot 1 on 2/1/04 and 58 on 1/1/04 and
not come up with the 12/31/04 record.
Any help will be appreciated.