It's a beautiful concept and is one of things that got me excited when I started looking at OFBiz.

Jonathon -- Improov wrote:
Got it. Thanks, life saver! Will explore that and let you know. OFBiz looking better and better!

Jonathon

Scott Gray wrote:
The Quick Add Variants already auto-generates ids you would just need to alter the code to put the id together in the way you want.

For auto boms have a look at ManufacturingExampleData.xml, there is a similar example at the bottom of the file to what you are after. The screen to play with is the one I incorrectly mentioned the other day, Manufacturing -> Bill of Materials -> Manufacturing Rules.

Regards
Scott

Jonathon -- Improov wrote:
Is there a way to have rule-based auto-generation of BOMs? Maybe this has already been done?

In general, I have a virtual product that can have thousands of variants. I'd like an automated way to generate all the possible variants.

One aspect I'm gonna be looking at is rule-based auto-generation of variants' productId. This shouldn't be difficult, and can easily be linked to the QuickAddVariants page (the checkboxes in column "All"). If someone is already doing this, let me know so we can collaborate?

The bigger problem I have is the auto-generation of BOMs, the lack thereof rather.

Say I have virtual product Bicycle, and variants Bicycle-abcd, where abcd are variables. I'd like variable 'a' to be the top-most in hierarchy and 'd' the last. For example, my bicycles could come with different frame sizes 1 through 5, which will require different BOM components Frame1 to Frame5. I'd want all variants Bicycle-1bcd to have a BOM component of Frame1, Bicycle-2bcd Frame2, and so on.

Even a semi-automated process will be alright for now.

I'd suggest an enhancement to the EditProductBom screen. Add a function to list all variants, search can be constrained by selection of (standard) features. This function can be copied from "Lookup Variant Product" somehow. Allow "Copy BOM" to apply to a number of variants at once.

Any ideas?

Jonathon






Reply via email to