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

FindInventoryEventPlan Error

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 16.11.04
    • 16.11.05
    • manufacturing
    • None
    • OS: Windows Server 2008 R2

      Database: MySQL 5.7

      JDK: 1.8.0_131

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            deepak Deepak Dixit
            Schumann Schumann Ye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment