Thank you.
I like the idea of using PRODUCT_SUBSTITUTE. If it was meant for this
I will try to add some logic for this in MRP, production run, etc.
Since I am not selling OFBiz services and I am trying to understand it
by using it, I won´t have time to do this right now. I hope that some
time in the near future I could reach a level of understanding of this
great platform and start offering this in my country (Argentina).

--
Guido Amarilla


2007/2/9, Jacopo Cappellato <[EMAIL PROTECTED]>:
Guido,

there is actually another solution for your problem: you could implement
a bom formula and associate it to the bom associations between the the
parent product and the (alternative) components.
Bom formulas can be used to return the quantity of components needed in
a bom and are run everytime a bom explosion is run (bom simulation,
production run creation, mrp etc...).
The idea is to set up a bom like this:

ParentProduct-->Black Push Button (the qty determined by the bom formula)
ParentProduct-->Red Push Button (the qty determined by the bom formula)

And the logic in the bom formula (you just need ONE bom formula) could
be something like this (to be refined):

* if the formula is associated to "Black Push Button", verify its qoh
and if >0 return 1
* if the formula is associated to "Red Push Button", verify the qoh of
the "Black Push Button" and if >0 return 0

There are two examples of bom formulas in the OFBiz demo, have a look at
them to see how they are implemented, declared etc...

Jacopo


Guido Amarilla wrote:
> I have some component products in BOM which can be replaced by other
> products. I have two situations but I think that may be more in other
> industries.
> I give you the examples:
> Black Push Button  ---> Red Push Button can be used if I run out of
> Black Buttons.
> 1 uF 35 Volt capacitor ---> 1 uF 35V, 1uF 50V and 1uF 63V can be used
> (but not 1uF 25V or less Voltage)
>
> Is this currently supported somehow?
>
> Can this be done by using Virtual Products with Features? (in the
> first case, by ignoring the feature "Color" or specifying a List of
> allowable features, and in the second case by specifying a "range" or
> a list of features)
>
> Thanks
>



Reply via email to