[ http://issues.apache.org/jira/browse/OFBIZ-350?page=comments#action_12440530 ] Si Chen commented on OFBIZ-350: -------------------------------
It sounds reasonable to have a new "Void" status which can be after Confirmed/Accepted. You can have it so that your void service will set the route segment to this status. Also, it sounds reasonable that the delete option should not be available except when the shipment is in the "Not Started" status. > Implement the VOID shipment service call to DHL ShipIT API > ---------------------------------------------------------- > > Key: OFBIZ-350 > URL: http://issues.apache.org/jira/browse/OFBIZ-350 > Project: OFBiz (The Open for Business Project) > Issue Type: New Feature > Components: product > Affects Versions: SVN trunk > Environment: WinXP / Java 1.5 / mySQL > Reporter: John Martin > > DHL provides an API service call to void an air bill number. There are a > number of reasons that one might want to void an air bill including some of > the error recovery in the Generate Label (aka Confirm Shipment) code. > The functionality will automatically invoked as part of Update function when > the Carrier Status is changed from Approved to Voided in the > EditShipmentRouteSegments form. The Delete action on the form will also need > to invoke the Void service. > It will probably be best to use a Command Pattern that abstracts the carrier > and have that class invoke the method on the appropriate carrier. Right now > there is conditional code in the from for UPS and DHL and is getting kind of > ugly. > I am currently implementing this in conjuction with > https://issues.apache.org/jira/browse/OFBIZ-307 as well as another issue to > be entered for a feature to do Shipment Tracking for DHL. -- 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
