You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2021/09/30 11:42:00 UTC

[jira] [Closed] (OFBIZ-12282) Create return is not working on demo trunk

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

Jacques Le Roux closed OFBIZ-12282.
-----------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Fixed

> Create return is not working on demo trunk
> ------------------------------------------
>
>                 Key: OFBIZ-12282
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12282
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Yashwant Dhakad
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: errorinreturn.png, returnscreen.png
>
>
> For purchase order when we create a return then getting the Following Errors:
> Error:<br/>Service invocation error on row (0): org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.ofbiz.service.GenericServiceException: Error running Groovy method [createReturnHeader] in Groovy file [component://order/groovyScripts/order/OrderReturnServices.groovy]: (Cannot get property 'useInvoiceIdForReturns' on null object)<br/>Service invocation error on row (1): org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.ofbiz.service.GenericServiceException: Error running Groovy method [createReturnHeader] in Groovy file [component://order/groovyScripts/order/OrderReturnServices.groovy]: (org.apache.ofbiz.service.GenericServiceException: Service [getPartyAccountingPreferences] Failed (null))<br/>Service invocation error on row (2): org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.ofbiz.service.GenericServiceException: Error running Groovy method [createReturnHeader] in Groovy file [component://order/groovyScripts/order/OrderReturnServices.groovy]: (org.apache.ofbiz.service.GenericServiceException: Service [getPartyAccountingPreferences] Failed (null))<br/>Service invocation error on row (3): org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.ofbiz.service.GenericServiceException: Error running Groovy method [createReturnHeader] in Groovy file [component://order/groovyScripts/order/OrderReturnServices.groovy]: (org.apache.ofbiz.service.GenericServiceException: Service [getPartyAccountingPreferences] Failed (null))<br/><br/>
> Steps to reproduce:
> 1. Create PO and receive it and PO is automatically completed.
> 2. Click on Create Return button in the order actions section.
> 3. Navigated to create return screen.
> 4. Select the items and click on Return Selected Item(s) button.
> 5. Getting the above error.
> Expected: The return should be created.
> Actual: Getting error message.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)