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

Allow user to select multiple options in "Purchases by Product" report from basic search criterias while generating report

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk, 14.12.01, 15.12.01
    • Fix Version/s: 16.11.01
    • Component/s: order
    • Labels:
      None
    • Sprint:
      Community Day 2 - 2016

      Description

      Currently system allow user to select any specific search criteria link and hence 'Purchases by Product' report is generated only based on any one given selected criteria.
      We can add the feature for generating single report based on multiple values (possibly via checkbox?) within basic search criteria in this report namely:
      1) Product Store
      2) Origin Facility
      3) Let's remove Order type and make it only work for Purchase Order type as for Sales we already have similar report called "Sales by Store"

      1. OFBIZ-7394+OFBIZ-7403.patch
        14 kB
        Mohammad Kathawala
      2. OFBIZ-7394+OFBIZ-7403.patch
        14 kB
        Mohammad Kathawala
      3. PurchasebyProduct.png
        36 kB
        Swapnil Shah

        Activity

        Hide
        swash78 Swapnil Shah added a comment - - edited

        Thanks Mohammad Kathawala Divesh Dutta for contribution. I have tried to validate the fixes and UI changes and reported data seems to be working in line with expectations. Closing the issue now.

        Show
        swash78 Swapnil Shah added a comment - - edited Thanks Mohammad Kathawala Divesh Dutta for contribution. I have tried to validate the fixes and UI changes and reported data seems to be working in line with expectations. Closing the issue now.
        Hide
        diveshdut Divesh Dutta added a comment -

        Assigning Swapnil Shah for verification and closure of this ticket.

        Show
        diveshdut Divesh Dutta added a comment - Assigning Swapnil Shah for verification and closure of this ticket.
        Hide
        diveshdut Divesh Dutta added a comment -

        Patch is committed in revision number : 1759343 in trunk.

        Show
        diveshdut Divesh Dutta added a comment - Patch is committed in revision number : 1759343 in trunk.
        Hide
        Mohammad K Mohammad Kathawala added a comment -

        Attached updated patch with correction of typo.

        Show
        Mohammad K Mohammad Kathawala added a comment - Attached updated patch with correction of typo.
        Hide
        Mohammad K Mohammad Kathawala added a comment -

        Attaching a combined patch for this task and for OFBIZ-7403 as both the reports have a common form.

        Did the following changes:

        • Changed single select box to multiple select box for product store id in forms of both the reports.
        • Changed single select box to multiple select box for origin facility id in forms of both the reports.
        • Changed single select box to checkbox for status id in forms of both the reports.
        • Removed order type field from Purchases by Product report as we only need to have Purchase Orders fetched. Handled this on fetching screen.
        • Handled list of product ids, status ids and origin facility ids for both the reports on response screen.
        • Additional: Changed every product store field in rest of the reports from checkbox to multiple select, to have better UI.
        Show
        Mohammad K Mohammad Kathawala added a comment - Attaching a combined patch for this task and for OFBIZ-7403 as both the reports have a common form. Did the following changes: Changed single select box to multiple select box for product store id in forms of both the reports. Changed single select box to multiple select box for origin facility id in forms of both the reports. Changed single select box to checkbox for status id in forms of both the reports. Removed order type field from Purchases by Product report as we only need to have Purchase Orders fetched. Handled this on fetching screen. Handled list of product ids, status ids and origin facility ids for both the reports on response screen. Additional: Changed every product store field in rest of the reports from checkbox to multiple select, to have better UI.

          People

          • Assignee:
            swash78 Swapnil Shah
            Reporter:
            swash78 Swapnil Shah
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Agile