frePPLe / frepple

frePPLe - open source supply chain planning
https://frepple.com
Other
524 stars 248 forks source link

Repeated child bug #41

Closed MJD093 closed 5 years ago

MJD093 commented 10 years ago

When attempting to pull BoMs (Bill of Material) into frePPLe via the "Create a Plan" command, the operation will fail due to the parts involved in the BoM not being unique.

That is to say, sometimes the same part will be used in a BoM twice, once to build a child part which is then used to make the parent product, and once again used in the construction of the parent product itself.

A + B =>C A + C =>D

If in D's BoM, part C has type=phantom then the MO (mrp_production model) will require A + B (the children of C) and A again (directly). So the MO will have 3 lines but product A will appear on 2 lines.


log file error 2 (Log file entry)


https://www.dropbox.com/sh/rlneb3b2d56vks2/AAAv0oyc7_cCkVz7YRGLybZea?dl=0 (Dropbox file of the above image)

jbradsha commented 10 years ago

To clarify... this ticket is to request FrePPLe handles BOMs where the same child part appears twice directly in a BOM, please ignore the comments about phantom BOMs - it's a related but separate issue which has been logged under its own ticket.

jdetaeye commented 5 years ago

Closing old ticket