Sharan Foga created OFBIZ-6571:
----------------------------------

             Summary: Error Adding items to a Customer Return Invoice
                 Key: OFBIZ-6571
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6571
             Project: OFBiz
          Issue Type: Bug
          Components: accounting
    Affects Versions: 13.07.02, Trunk, Release Branch 14.12
            Reporter: Sharan Foga


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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to