Add new response type "Wait Replacement Reserved" for returns of order
----------------------------------------------------------------------- Key: OFBIZ-2376 URL: https://issues.apache.org/jira/browse/OFBIZ-2376 Project: OFBiz Issue Type: New Feature Components: order Affects Versions: SVN trunk Reporter: Pranay Pandey Priority: Minor Fix For: SVN trunk *Implementation Notes:* * Add new response type "Wait Replacement Reserved" for returns of order. * When return is accepted immediately create replacement order, in the "Held" status; * When original item return is received find HELD replacement order(s) and auto-set the status to APPROVED to clear them for fulfillmen Do following: a. Trigger on change to return status RETURN_ACCEPTED -- For creating zero amount replacement order in HELD status. b. Trigger on change to return status RETURN_RECEIVED -- For changing the status of order(s) from HELD to APPROVED. c. New service has to be implemented like processCrossShipReplacementReturn, but call it "processWaitReplacementReservedReturn -- 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-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepesh Kapoor updated OFBIZ-2376: ---------------------------------- Attachment: OFBIZ-2376.patch Hello Pranay, Here is the patch to Add new response type for return of order. Following are the steps to test this patch : 1. Create return for a Sales Order. 2. Select the newly added returnTypeId "Wait Replacement Reserved" for the items which are requested for return. 3. Now from the ReturnHeader, change the status from "Requested" to "Requested Return Accepted" and Submit. 4. A new Zero Amount Replacement Order will be created in "HELD" status ( Observe the order list to view entry for this new order ). 5. Now from ReturnHeader again change the return status from "Requested Return Accepted" to "Requested Return Received" 6. The status of the new Zero Amount Replacement Order will change from "HELD" to "APPROVE". Please go through the patch and let me know if there is anything missing or incorrect. > Add new response type "Wait Replacement Reserved" for returns of order > ----------------------------------------------------------------------- > > Key: OFBIZ-2376 > URL: https://issues.apache.org/jira/browse/OFBIZ-2376 > Project: OFBiz > Issue Type: New Feature > Components: order > Affects Versions: SVN trunk > Reporter: Pranay Pandey > Priority: Minor > Fix For: SVN trunk > > Attachments: OFBIZ-2376.patch > > > *Implementation Notes:* > * Add new response type "Wait Replacement Reserved" for returns of order. > * When return is accepted immediately create replacement order, in the "Held" status; > * When original item return is received find HELD replacement order(s) and auto-set the status to APPROVED to clear them for fulfillmen > Do following: > a. Trigger on change to return status RETURN_ACCEPTED -- For creating zero amount replacement order in HELD status. > b. Trigger on change to return status RETURN_RECEIVED -- For changing the status of order(s) from HELD to APPROVED. > c. New service has to be implemented like processCrossShipReplacementReturn, but call it "processWaitReplacementReservedReturn -- 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-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur reassigned OFBIZ-2376: ---------------------------------- Assignee: Vikas Mayur > Add new response type "Wait Replacement Reserved" for returns of order > ----------------------------------------------------------------------- > > Key: OFBIZ-2376 > URL: https://issues.apache.org/jira/browse/OFBIZ-2376 > 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-2376.patch > > > *Implementation Notes:* > * Add new response type "Wait Replacement Reserved" for returns of order. > * When return is accepted immediately create replacement order, in the "Held" status; > * When original item return is received find HELD replacement order(s) and auto-set the status to APPROVED to clear them for fulfillmen > Do following: > a. Trigger on change to return status RETURN_ACCEPTED -- For creating zero amount replacement order in HELD status. > b. Trigger on change to return status RETURN_RECEIVED -- For changing the status of order(s) from HELD to APPROVED. > c. New service has to be implemented like processCrossShipReplacementReturn, but call it "processWaitReplacementReservedReturn -- 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-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704058#action_12704058 ] Vikas Mayur commented on OFBIZ-2376: ------------------------------------ Hi Deepesh, I have reviewed this patch and would like to suggest following changes: 1) There was no need to define new eca services. Please use the existing eca on UpdateReturnHeader service. 2) Please revert the changes to the service processWaitReplacementReturn. These are not required at all. To see why, refer to OrderReturnServices.java line number 1353 {code} if (returnHeader != null && UtilValidate.isNotEmpty(returnItems)) {{code} 3) The new service "processWaitReplacementReservedReturn" should be cleaned a bit. There are necessary lines which can be removed. 4) The description of service need to be improved and should be specific about what the service is trying to do. I will commit this patch once all the issues are resolved. Vikas > Add new response type "Wait Replacement Reserved" for returns of order > ----------------------------------------------------------------------- > > Key: OFBIZ-2376 > URL: https://issues.apache.org/jira/browse/OFBIZ-2376 > 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-2376.patch > > > *Implementation Notes:* > * Add new response type "Wait Replacement Reserved" for returns of order. > * When return is accepted immediately create replacement order, in the "Held" status; > * When original item return is received find HELD replacement order(s) and auto-set the status to APPROVED to clear them for fulfillmen > Do following: > a. Trigger on change to return status RETURN_ACCEPTED -- For creating zero amount replacement order in HELD status. > b. Trigger on change to return status RETURN_RECEIVED -- For changing the status of order(s) from HELD to APPROVED. > c. New service has to be implemented like processCrossShipReplacementReturn, but call it "processWaitReplacementReservedReturn -- 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-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepesh Kapoor updated OFBIZ-2376: ---------------------------------- Attachment: OFBIZ-2376.patch Hello Vikas, Thanks for reviewing my patch, i have made the changes suggested by you in this updated patch. Please go through it and let me know if i have still missed something. - - Deepesh > Add new response type "Wait Replacement Reserved" for returns of order > ----------------------------------------------------------------------- > > Key: OFBIZ-2376 > URL: https://issues.apache.org/jira/browse/OFBIZ-2376 > 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-2376.patch, OFBIZ-2376.patch > > > *Implementation Notes:* > * Add new response type "Wait Replacement Reserved" for returns of order. > * When return is accepted immediately create replacement order, in the "Held" status; > * When original item return is received find HELD replacement order(s) and auto-set the status to APPROVED to clear them for fulfillmen > Do following: > a. Trigger on change to return status RETURN_ACCEPTED -- For creating zero amount replacement order in HELD status. > b. Trigger on change to return status RETURN_RECEIVED -- For changing the status of order(s) from HELD to APPROVED. > c. New service has to be implemented like processCrossShipReplacementReturn, but call it "processWaitReplacementReservedReturn -- 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-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur updated OFBIZ-2376: ------------------------------- Description: *Implementation Notes:* * Add new return type "Wait Replacement Reserved" for returns of order. * When return is accepted immediately create replacement order, in the "Held" status; * When original item return is received find HELD replacement order(s) and auto-set the status to APPROVED to clear them for fulfillmen Do following: a. Trigger on change to return status RETURN_ACCEPTED -- For creating zero amount replacement order in HELD status. b. Trigger on change to return status RETURN_RECEIVED -- For changing the status of order(s) from HELD to APPROVED. c. New service has to be implemented like processCrossShipReplacementReturn, but call it "processWaitReplacementReservedReturn was: *Implementation Notes:* * Add new response type "Wait Replacement Reserved" for returns of order. * When return is accepted immediately create replacement order, in the "Held" status; * When original item return is received find HELD replacement order(s) and auto-set the status to APPROVED to clear them for fulfillmen Do following: a. Trigger on change to return status RETURN_ACCEPTED -- For creating zero amount replacement order in HELD status. b. Trigger on change to return status RETURN_RECEIVED -- For changing the status of order(s) from HELD to APPROVED. c. New service has to be implemented like processCrossShipReplacementReturn, but call it "processWaitReplacementReservedReturn Summary: Add new return type "Wait Replacement Reserved" for returns of order (was: Add new response type "Wait Replacement Reserved" for returns of order ) > Add new return type "Wait Replacement Reserved" for returns of order > --------------------------------------------------------------------- > > Key: OFBIZ-2376 > URL: https://issues.apache.org/jira/browse/OFBIZ-2376 > 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-2376.patch, OFBIZ-2376.patch > > > *Implementation Notes:* > * Add new return type "Wait Replacement Reserved" for returns of order. > * When return is accepted immediately create replacement order, in the "Held" status; > * When original item return is received find HELD replacement order(s) and auto-set the status to APPROVED to clear them for fulfillmen > Do following: > a. Trigger on change to return status RETURN_ACCEPTED -- For creating zero amount replacement order in HELD status. > b. Trigger on change to return status RETURN_RECEIVED -- For changing the status of order(s) from HELD to APPROVED. > c. New service has to be implemented like processCrossShipReplacementReturn, but call it "processWaitReplacementReservedReturn -- 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-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur closed OFBIZ-2376. ------------------------------ Resolution: Fixed Thanks Deepesh, I have committed a slightly modified version of your patch and it is in trunk rev. 770128. Vikas > Add new return type "Wait Replacement Reserved" for returns of order > --------------------------------------------------------------------- > > Key: OFBIZ-2376 > URL: https://issues.apache.org/jira/browse/OFBIZ-2376 > 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-2376.patch, OFBIZ-2376.patch > > > *Implementation Notes:* > * Add new return type "Wait Replacement Reserved" for returns of order. > * When return is accepted immediately create replacement order, in the "Held" status; > * When original item return is received find HELD replacement order(s) and auto-set the status to APPROVED to clear them for fulfillmen > Do following: > a. Trigger on change to return status RETURN_ACCEPTED -- For creating zero amount replacement order in HELD status. > b. Trigger on change to return status RETURN_RECEIVED -- For changing the status of order(s) from HELD to APPROVED. > c. New service has to be implemented like processCrossShipReplacementReturn, but call it "processWaitReplacementReservedReturn -- 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 |