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 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. |
[ 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur reassigned OFBIZ-2463: ---------------------------------- Assignee: Vikas Mayur > 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 > Assignee: Vikas Mayur > 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur closed OFBIZ-2463. ------------------------------ Resolution: Fixed Thanks Deepesh, Your patch is in trunk rev. 774288. I just added an extra empty check on OrderHeader, could have asked NPE during comparison checks. > 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 > Assignee: Vikas Mayur > 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708897#action_12708897 ] Deepesh Kapoor commented on OFBIZ-2463: --------------------------------------- Thanks Vikas > 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 > Assignee: Vikas Mayur > 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708895#action_12708895 ] Vikas Mayur edited comment on OFBIZ-2463 at 5/13/09 5:39 AM: ------------------------------------------------------------- Thanks Deepesh, Your patch is in trunk rev. 774288. I just added an extra empty check on OrderHeader, could have caused NPE during comparison checks. {quote} could have asked --> could have caused {quote} was (Author: vikasmayur): Thanks Deepesh, Your patch is in trunk rev. 774288. I just added an extra empty check on OrderHeader, could have asked NPE during comparison checks. > 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 > Assignee: Vikas Mayur > 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. |
Free forum by Nabble | Edit this page |