You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2015/08/25 12:44:46 UTC

[jira] [Assigned] (OFBIZ-6571) Error Adding items to a Customer Return Invoice

     [ https://issues.apache.org/jira/browse/OFBIZ-6571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepak Dixit reassigned OFBIZ-6571:
-----------------------------------

    Assignee: Deepak Dixit

> 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: Release Branch 14.12, Trunk, 13.07.02
>            Reporter: Sharan Foga
>            Assignee: Deepak Dixit
>
> 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



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