[
https://issues.apache.org/jira/browse/OFBIZ-2429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708880#action_12708880
]
Vikas Mayur commented on OFBIZ-2429:
------------------------------------
Deepesh,
After doing a quick review, I found that existing refund process will break.
With couple of fixes the old and new process can work.
What I would suggest is
1) create a service name processRefundOnlyReturn. This service will have two
require parameters returnId and returnTypeId. Implementation would be similar
to the new service in your patch i.e. processRefundImmediatelyReturn except the
returnTypeId would be RTN_REFUND
2) Replace all the occurrence of service processRefundReturn under
updateReturnHeader eca, with processRefundOnlyReturn.
With these two changes everything would be working as usual.
Vikas
> Add new ReturnType of "Refund Immediately"
> ------------------------------------------
>
> Key: OFBIZ-2429
> URL: https://issues.apache.org/jira/browse/OFBIZ-2429
> Project: OFBiz
> Issue Type: New Feature
> Components: order
> Affects Versions: SVN trunk
> Reporter: Pranay Pandey
> Assignee: Vikas Mayur
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: OFBIZ-2429.patch, OFBIZ-2429.patch
>
>
> Following needs to be done:
> # Add new ReturnType of "Refund Immediately"
> # Trigger the refund with a new service "processRefundImmediatelyReturn" on
> the status change to RETURN_ACCEPTED.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.