[
http://issues.apache.org/jira/browse/OFBIZ-350?page=comments#action_12440156 ]
John Martin commented on OFBIZ-350:
-----------------------------------
I've added a new status code for the
ShipmentPackageRouteSeg.carrierServiceCodeId which is "Voided, unconfirmed by
carrier'. This status will be used if the package is voided after the sameday
deadline set by DHL or we're unable to get a confirming response code from
their API call.
In order to use this new feature, you will need to add the new status code to
the StatusItem table. Here is SQL to do that.
INSERT INTO status_item (status_id, status_type_id, status_code, sequence_id,
description)
VALUES ('SHRSCS_VOIDED_UNCONF', 'SHPRTSG_CS_STATUS', 'VOIDED_UNCONF', '09',
'Voided, unconfirmed by carrier');
I'll patch data XML to include this for new installations.
> 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