A
aero-spaces
I am having a hard time conceptualizing this problem--I am trying to create a
query (set of queries/tables/macros, whatever necessary) that will determine
when our inventory will reach a pre-determined minimum value based on a
customer's forecasted usage of given part numbers. Here's the data I have:
Part Number [PartNumber]
Current Inventory at customer's location [CurrentInv]
Our Current Inventory [QoH]
Pre-determined minimum level [Min]
Average Daily Demand (total yearly demand divided by total months) [Avgdd]
Forecasted usage by month (x number of pieces this month, y next month,
etc.) [m1, m2, m3, m4, etc.]
What I would like to do is take the total current inventory
([CurrentInv]+[QoH]), and subtract each month's forecasted usage
(-[m1]-[m2]-[m3], etc.) until it reaches the minimum level ([Min]). Then,
have it return a value of the first day of the resulting month and use the
average daily demand ([Avgdd]) to give me a more accurate date within that
month. (Although that last part would just be a bonus, if I could even just
get it to tell me the first day of the month it will hit [min], that would be
a huge start.)
Any idea how I can begin to structure this?
Thanks in advance!
Ryan
query (set of queries/tables/macros, whatever necessary) that will determine
when our inventory will reach a pre-determined minimum value based on a
customer's forecasted usage of given part numbers. Here's the data I have:
Part Number [PartNumber]
Current Inventory at customer's location [CurrentInv]
Our Current Inventory [QoH]
Pre-determined minimum level [Min]
Average Daily Demand (total yearly demand divided by total months) [Avgdd]
Forecasted usage by month (x number of pieces this month, y next month,
etc.) [m1, m2, m3, m4, etc.]
What I would like to do is take the total current inventory
([CurrentInv]+[QoH]), and subtract each month's forecasted usage
(-[m1]-[m2]-[m3], etc.) until it reaches the minimum level ([Min]). Then,
have it return a value of the first day of the resulting month and use the
average daily demand ([Avgdd]) to give me a more accurate date within that
month. (Although that last part would just be a bonus, if I could even just
get it to tell me the first day of the month it will hit [min], that would be
a huge start.)
Any idea how I can begin to structure this?
Thanks in advance!
Ryan