[ https://issues.apache.org/jira/browse/OFBIZ-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682300#action_12682300 ]
Pranay Pandey edited comment on OFBIZ-2220 at 3/16/09 5:21 AM: --------------------------------------------------------------- I tested this patch for following and found no problems: # I am Able to provide "cancelBackOrderDate" while creating purchase order. # After creation on of PO if "cancelBackOrderDate" exists then its being shown in order detail page and on order pdf. # Checked for OrderItems in webtools entries found. # Ran service "cancelAllBackOrders" from webtools and saw the result that POs are cancelled if the "cancelBackOrderDate" is in past. # Tested service for 3 cases for POs #* PO with "cancelBackOrderDate" is in past -- This order got cancelled. #* PO without "cancelBackOrderDate" -- Not affected. #* PO with "cancelBackOrderDate" is in future -- Not affected. (Will be cancelled by the scheduled service when the date is passed) Now I think one of the committer can have a look at this patch :) was (Author: pandeypranay): I tested this patch for following and found no problems: # I am Able to provide "cancelBackOrderDate" while creating purchase order. # After creation on of PO if "cancelBackOrderDate" exists then its being shown in order detail page and on order pdf. # Checked for OrderItems in webtools entries found. # Ran service "cancelAllBackOrders" from webtools and saw the result that POs are cancelled if the "cancelBackOrderDate" is in past. # Tested service for 3 cases for POs ## PO with "cancelBackOrderDate" is in past -- This order got cancelled. ## PO without "cancelBackOrderDate" -- Not affected. ## PO with "cancelBackOrderDate" is in future -- Not affected. (Will be cancelled by the scheduled service when the date is passed) Now I think one of the committer can have a look at this patch :) > Add new field for "Cancel Back Orders Date", like others for OrderItem. Show > these on Purchase order PDF. > --------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-2220 > URL: https://issues.apache.org/jira/browse/OFBIZ-2220 > Project: OFBiz > Issue Type: Sub-task > Components: order > Affects Versions: SVN trunk > Reporter: Pranay Pandey > Priority: Minor > Fix For: SVN trunk > > Attachments: ofbiz-2220.patch, ofbiz-2220.patch, ofbiz-2220.patch, > ofbiz-2220.patch, ofbiz-2220.patch > > > There should be one field "cancelBackOrdersDate" associated with order items > which will help to cancel those orders which have crossed this date. > *Implementation Notes:* > Add new field for cancelBackOrdersDate", like others for OrderItem. Show on > Purchase Order PDF. > Add a service to look at all purchase orders with the field set and if the > date is in the past then it should cancel those orders; the service should > run on a schedule, once per day. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.