[jira] [Commented] (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:comment-tabpanel=17422783#comment-17422783 ] ASF subversion and git services commented on OFBIZ-12282: - Commit a17b77ea28ea4dacdb782061db3a6ad2add4055c in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=a17b77e ] Fixed: Create return is not working on demo trunk (OFBIZ-12282) Weirdly (I guess I did not save) this syntax did not work 1st time I tried it > 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: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)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))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))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)) > 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)
[jira] [Commented] (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:comment-tabpanel=17422747#comment-17422747 ] Yashwant Dhakad commented on OFBIZ-12282: - Thank you [~jleroux] > 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: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)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))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))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)) > 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)
[jira] [Commented] (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:comment-tabpanel=17422704#comment-17422704 ] ASF subversion and git services commented on OFBIZ-12282: - Commit f81f7f4d974e0b6f28f4a2964ea7aa786a1afc6c in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=f81f7f4 ] Fixed: Create return is not working on demo trunk (OFBIZ-12282) Some parties have no PartyAccountingPreferences Thanks: Yashwant Dhakad for report (see "Steps to reproduce" in Jira) > 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 > Attachments: errorinreturn.png, returnscreen.png > > > For purchase order when we create a return then getting the Following Errors: > Error: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)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))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))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)) > 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)