[ https://issues.apache.org/jira/browse/OFBIZ-12282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yashwant Dhakad updated OFBIZ-12282: ------------------------------------ Attachment: returnscreen.png errorinreturn.png > 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 > Priority: Minor > 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)