You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Nameet Jain (Jira)" <ji...@apache.org> on 2021/02/18 10:26:00 UTC

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

     [ https://issues.apache.org/jira/browse/OFBIZ-12179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nameet Jain updated OFBIZ-12179:
--------------------------------
    Attachment: OFBIZ-12179.patch

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