Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12179

Improvement on Find BOM screen

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: manufacturing
    • Labels:
      None

      Description

      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".

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

       

       

        Attachments

        1. OFBIZ-12179.patch
          3 kB
          Nameet Jain

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              nj Nameet Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: