[jira] [Created] (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] [Created] (OFBIZ-12179) Improvement on Find BOM screen

Nicolas Malin (Jira)
Nameet Jain created OFBIZ-12179:
-----------------------------------

             Summary: 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


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)