R
RedHeadedMonster
I think I have to create an array, but not sure how to go about it. Here is
my situation. We create a Catalogue for our customer so that the customer
can see what they pay for a particualr quanity of an item.
We receive quantity breaks for SubComponents that we purchase from vendors.
For example if we buy from 1 to 4 we pay $1 each, if we buy from 5-9 we pay $.
95 each if we buy 10-19 we pay $.90 each, etc.
These SubComponents roll up into a MEI (Major End Item) that we build. Then
we come up with quantity breaks at the MEI Level to pass on to a customer.
An MEI could have 1 SubComponent or it could have a 100. Also for each
SubComponent it could require more than 1 per MEI.
ex. To build one MEI-1 we need, SubComp1 @ QTY 2, SubComp2 @ QTY 1, SubComp3
@ QTY 6. So to build Two MEI-1 we'll need SC1 @ QTY 4, SC2 @ Qty 2 & SC3 @
QTY 12.
So depending on the SubComponents Quantity Breaks, the cost from Building 1
to 2 MEI can change dramatically or not much difference at all.
What Im trying to design is a program that will pass MEI Quantities (MEIQty)
from 1 to a Upper Bound Quantity - that can change depending on the upper
bounds of the SubComponents, i.e. if the highest Quanity break for all the
SubComponents is quantity of 500, that will be the upper bound for the MEI.
So, for this example I want to pass in the MEIQty 1 to 500 so that I can see
the MEI cost for each quantity, then look at the costs and "create" a
Quantity break for the MEI everytime there is a 3% drop in cost to the
customer.
Any suggestions would be greatly appreciated.
RHM
my situation. We create a Catalogue for our customer so that the customer
can see what they pay for a particualr quanity of an item.
We receive quantity breaks for SubComponents that we purchase from vendors.
For example if we buy from 1 to 4 we pay $1 each, if we buy from 5-9 we pay $.
95 each if we buy 10-19 we pay $.90 each, etc.
These SubComponents roll up into a MEI (Major End Item) that we build. Then
we come up with quantity breaks at the MEI Level to pass on to a customer.
An MEI could have 1 SubComponent or it could have a 100. Also for each
SubComponent it could require more than 1 per MEI.
ex. To build one MEI-1 we need, SubComp1 @ QTY 2, SubComp2 @ QTY 1, SubComp3
@ QTY 6. So to build Two MEI-1 we'll need SC1 @ QTY 4, SC2 @ Qty 2 & SC3 @
QTY 12.
So depending on the SubComponents Quantity Breaks, the cost from Building 1
to 2 MEI can change dramatically or not much difference at all.
What Im trying to design is a program that will pass MEI Quantities (MEIQty)
from 1 to a Upper Bound Quantity - that can change depending on the upper
bounds of the SubComponents, i.e. if the highest Quanity break for all the
SubComponents is quantity of 500, that will be the upper bound for the MEI.
So, for this example I want to pass in the MEIQty 1 to 500 so that I can see
the MEI cost for each quantity, then look at the costs and "create" a
Quantity break for the MEI everytime there is a 3% drop in cost to the
customer.
Any suggestions would be greatly appreciated.
RHM