Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 16.11.04
    • Fix Version/s: 16.11.05
    • Component/s: manufacturing
    • Labels:
      None
    • Environment:

      OS: Windows Server 2008 R2

      Database: MySQL 5.7

      JDK: 1.8.0_131

    • Flags:
      Important

      Description

      After MRP run, in the screen of "Find Inventory Event Planned", the proper results show up after clicking the "Find" button with a certain "From Date" and leaving the "Product ID" empty.

      Because there are more than 20 records (which exceeds the default viewSize 20), so there are more than 1 page.

      When I hit "Next", it shows me the following error:

      Because I am new to groovy, can you pls help me out?

      Thanks

       

      :ERROR MESSAGE:
      org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen component://manufacturing/widget/manufacturing/MrpScreens.xml#FindMrpPlannedEvents: java.lang.IllegalArgumentException: Error running script at location [component://manufacturing/groovyScripts/mrp/FindInventoryEventPlan.groovy]: groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.multiply() is applicable for argument types: (java.lang.String) values: [20] Possible solutions: multiply(java.lang.Number), multiply(java.lang.Character) (Error running script at location [component://manufacturing/groovyScripts/mrp/FindInventoryEventPlan.groovy]: groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.multiply() is applicable for argument types: (java.lang.String) values: [20] Possible solutions: multiply(java.lang.Number), multiply(java.lang.Character))

        Attachments

          Activity

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              Schumann Schumann Ye
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: