[ https://issues.apache.org/jira/browse/OFBIZ-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852948#comment-13852948 ]
Christian Carlow commented on OFBIZ-5440: ----------------------------------------- I think BOMNodes should be cloned for this functionality to be implemented. Is there a best practice when it comes to cloning objects in OFBiz? > Improve BOM functionality to handle virtual BOM variant selection > ----------------------------------------------------------------- > > Key: OFBIZ-5440 > URL: https://issues.apache.org/jira/browse/OFBIZ-5440 > Project: OFBiz > Issue Type: Improvement > Affects Versions: SVN trunk > Reporter: Christian Carlow > > The BOM functionality should be improved to handle virtual product > variant/feature selections. Such functionality would allow for something > such as GZ-OUTER-BASKET of selected features to contain 3 GZ-INNER-BASKETs of > different selected features > I think the BOMNode class should contain a List<BOMNode>variantNodes member > to be used for virtual nodes in the loadChildren function. When virtual > variants exist, the virtual node childrenNodes can be unset since the nodes > will be contained in the variantNodes instead. > I disovered the need for such functionality while trying to implement > OFBIZ-5420 and OFBIZ-5437. -- This message was sent by Atlassian JIRA (v6.1.4#6159)