[
https://issues.apache.org/jira/browse/OFBIZ-11489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17149264#comment-17149264 ]
Jacques Le Roux commented on OFBIZ-11489:
-----------------------------------------
I wrote:
{quote}
Rather than using
{{if (ServiceUtil.isError(result)) return result}}
would it not be better to use
{{return error(serviceResult)}}?
{quote}
But I found a lot of similar to {{if (ServiceUtil.isError(result)) return result}} in current code, so I guess it's OK.
> Convert cancelPaymentBatch service from mini-lang to groovy DSL
> ---------------------------------------------------------------
>
> Key: OFBIZ-11489
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11489> Project: OFBiz
> Issue Type: Sub-task
> Components: accounting
> Affects Versions: Trunk
> Reporter: Devanshu Vyas
> Assignee: Kirti Arora
> Priority: Minor
> Attachments: OFBIZ-11489.patch, OFBIZ-11489.patch, OFBIZ-11489.patch
>
>
> Convert the cancelPaymentBatch service code from mini-lang to groovy DSL.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)