Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Trunk, Upcoming Branch
-
None
-
None
-
WinXP / Java 1.5 / mySQL
-
Bug Crush Event - 21/2/2015
Description
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.