[ https://issues.apache.org/jira/browse/OFBIZ-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepesh Kapoor updated OFBIZ-2463: ---------------------------------- Attachment: OFBIZ-2463.patch Here is the patch to create a new zero amount replacement order when the existing one gets Canceled , following are the steps to test this patch : 1. Create a new Sales Order. 2. Create a return for this order by clicking on "Quick Ship Entire Order" followed by "Create Return". 3. From Return Item page select the return type "Wait Replacement Reserved". 4. After creating return, go to Return Header and select the status id "Requested Return Accepted". 5. This will create a "HELD" replacement order which can be checked by viewing the Order List. 6. For testing purpose manually Cancel this replacement order from the Order view page (this should be handled automatically with a scheduled service). 7. Now select "Accepted Return Received" to receive the return and "Submit", go to the Order List to check the new Replacement Order created for the canceled order. > Replacement order should be created if the existing "Held" Replacement order > gets canceled. > -------------------------------------------------------------------------------------------- > > Key: OFBIZ-2463 > URL: https://issues.apache.org/jira/browse/OFBIZ-2463 > Project: OFBiz > Issue Type: Improvement > Components: order > Affects Versions: SVN trunk > Reporter: Deepesh Kapoor > Priority: Minor > Fix For: SVN trunk > > Attachments: OFBIZ-2463.patch > > > If replacement order has been canceled then Company should automatically > create zero amount replacement order, following needs to be done : > 1. We have a Return Type "wait Replacement Reserved" which creates a new > Replacement Order in "Held" status on "RETURN_ACCEPTED". > 2. Add logic to the service written for this Return Type, which is > "processWaitReplacementReservedReturn" . > 3. The logic should address the replacement orders which were in "HELD" > status earlier and now are "CANCELLED". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.