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

Error Adding items to a Customer Return Invoice

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Release Branch 14.12, Trunk, 13.07.02
    • Fix Version/s: 14.12.01, 13.07.03, 16.11.01
    • Component/s: accounting
    • Labels:
      None

      Description

      Hi

      I’ve come across an error in 13.07, 14.12 and the trunk when you try to create a Customer Return Invoice manually. (In 12.04 it works fine.)

      To re-create the issue.

      1. Go to Accounting
      2. Select "Invoices"
      3. Click "Create New Invoice"
      4. Using the lower part of the screen, select "Customer Return" and enter "DemoCustomer" as the ‘From Party ID’
      5. Click “Create” and the invoice header is created.
      6. Click “Items” to add the return items to the invoice and you get an error message (see details below)

      org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://accounting/widget/InvoiceScreens.xml#EditInvoiceItems: java.lang.IllegalArgumentException: Error running script at location [component://accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy]: groovy.lang.MissingMethodException: No signature of method: static org.ofbiz.entity.util.EntityUtil.getRelated() is applicable for argument types: (java.lang.String, java.util.LinkedList, null, java.lang.Boolean) values: [InvoiceItemType, [[lastUpdatedStamp:2015-08-09 03:23:46.565, ...], ...], ...]
      Possible solutions: getRelated(java.lang.String, java.util.Map, java.util.List, boolean), getRelated(java.lang.String, java.util.List) (Error running script at location [component://accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy]: groovy.lang.MissingMethodException: No signature of method: static org.ofbiz.entity.util.EntityUtil.getRelated() is applicable for argument types: (java.lang.String, java.util.LinkedList, null, java.lang.Boolean) values: [InvoiceItemType, [[lastUpdatedStamp:2015-08-09 03:23:46.565, ...], ...], ...]
      Possible solutions: getRelated(java.lang.String, java.util.Map, java.util.List, boolean), getRelated(java.lang.String, java.util.List))

      Thanks
      Sharan

        Attachments

          Activity

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              sharan Sharan Foga
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: