[jira] [Commented] (OFBIZ-5440) Improve BOM functionality to handle virtual BOM variant selection

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5440) Improve BOM functionality to handle virtual BOM variant selection

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852995#comment-13852995 ]

Christian Carlow commented on OFBIZ-5440:
-----------------------------------------

I think passing fields to the getBOMTree service is the best approach.  A separate List<BOMNode>variantNodes seems unnecessary if the childrenNodes are used to store virtual product variants.

> 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)