[ http://issues.apache.org/jira/browse/OFBIZ-462?page=comments#action_12450467 ] Si Chen commented on OFBIZ-462: -------------------------------
Ashish, You should use the updateReturnItem status in your new service instead of storing the ReturnItem directly with the delegator. In general, you should call services instead of directly updating the entities. Otherwise, other rules based on SECAs may not work. Si > when return is cancelled, return items should be cancelled > ---------------------------------------------------------- > > Key: OFBIZ-462 > URL: http://issues.apache.org/jira/browse/OFBIZ-462 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: order > Reporter: Si Chen > Assigned To: Si Chen > Attachments: Ofbiz_ReturnItems_Nov_16.patch > > > When a return header is set to cancelled, a new service to set all return > items' status to cancelled should be called. Otherwise, the return header is > cancelled but the return items are still requested, leading to possible > errors. -- 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
