[jira] [Commented] (OFBIZ-12179) Improvement on Find BOM screen

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

[jira] [Commented] (OFBIZ-12179) Improvement on Find BOM screen

Nicolas Malin (Jira)

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

ASF subversion and git services commented on OFBIZ-12179:
---------------------------------------------------------

Commit e259170b77f73e8320b8ab7e23b158dab48a2dc9 in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e259170 ]

Improved: Improvement on Find BOM screen (OFBIZ-12179)

While exploring the manufacturing code I observed on the find screen BOM type is
set hardcoded. We can improve it by using the entity-option tag to allow all
ProductAssocType with parentTypeId equals "PRODUCT_COMPONENT".

Thanks: Nameet Jain


> Improvement on Find BOM screen
> ------------------------------
>
>                 Key: OFBIZ-12179
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12179
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: manufacturing
>    Affects Versions: Trunk
>            Reporter: Nameet Jain
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-12179.patch
>
>
> While exploring the manufacturing code I observed on the find screen BOM type is set hardcoded (as shown below). We can improve it by using the entity-option tag to allow all ProductAssocType with parentTypeId equals "PRODUCT_COMPONENT".
> {code:java}
>     <form name="FindBom" type="single" target="FindBom" title="">
>         <field name="productId"><lookup target-form-name="LookupProduct"/></field>
>         <field name="productIdTo" title="${uiLabelMap.ProductProductIdTo}"><lookup target-form-name="LookupProduct"/></field>
>         <field name="productAssocTypeId"  title="${uiLabelMap.ManufacturingBomType}">
>             <drop-down allow-empty="true">
>                 <option key="MANUF_COMPONENT" description="${uiLabelMap.ManufacturingBillOfMaterials}"/>
>                 <option key="ENGINEER_COMPONENT" description="${uiLabelMap.ManufacturingEngineeringBillOfMaterials}"/>
>             </drop-down>
>         </field>
>         <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
>         <field name="submit" title="${uiLabelMap.CommonFind}"><submit/></field>
>     </form>
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)