[ http://issues.apache.org/jira/browse/OFBIZ-234?page=comments#action_12434101 ] Marco Risaliti commented on OFBIZ-234: --------------------------------------
It replace the old-jira issue OFBIZ-695. Can someone close the old one. Thanks Marco > auto-cancel date hard coded > --------------------------- > > Key: OFBIZ-234 > URL: http://issues.apache.org/jira/browse/OFBIZ-234 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Environment: All > Reporter: Marco Risaliti > Priority: Minor > > It seems from a report by David Welton that the auto-cancel date is hard > coded? > In the code I was hacking at, I found '30' hard coded: near line 433 > (give or take some because of my patch) > applications/product/src/org/ofbiz/product/inventory/InventoryServices.java > // need to know if nextShipDate is more then > 30 days after promised > Calendar sCal = Calendar.getInstance(); > sCal.setTimeInMillis(actualPromiseDate.getTime()); > sCal.add(Calendar.DAY_OF_YEAR, 30); > Timestamp farPastPromised = new > Timestamp(sCal.getTimeInMillis()); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
