You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Yashwant Dhakad (Jira)" <ji...@apache.org> on 2021/07/16 08:18:00 UTC

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

Yashwant Dhakad created OFBIZ-12282:
---------------------------------------

             Summary: 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


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)