-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK lets start with line 400.
up to this point you have a list of shipment segments you going to walk
through.
line 403
                GenericValue shipmentPackage =
shipmentPackageRouteSeg.getRelatedOne("ShipmentPackage");
gets the entity ShipmentPackage
if you use the webtools to look up ShipmentPackage
for the Id you of this segment you will see if the wieght is there.


line 447
                if (shipmentPackage.getString("weight") == null) {
                    return ServiceUtil.returnError("Weight value not
found for ShipmentRouteSegment with shipmentId " + shipmentId + ",
shipmentRouteSegmentId " + shipmentRouteSegmentId + ", and
shipmentPackageSeqId " + shipmentPackage.getString("shipmentPackageSeqId"));

says the ShipmentPackage.wieght is null.

kiran19 sent the following on 1/22/2009 1:04 PM:
> i am using the latest version of the ofbiz downloaded from the net.. and i
> still didnt got the UPS technical tools(API) from them.. i am just tracking
> the things from the upsservices.java  which is available in ofbiz...
> 
> BJ Freeman wrote:
> what version of the svn are you using
> are you using the UPS code already in ofbiz?
> 
> nachi19 sent the following on 1/22/2009 12:39 PM:
>>>> hi all,
>>>>     i am integrating the ups shipment services for one of the web site ..
>>>> i
>>>> am just checking with the upsShipmentConfirm() method which takes the
>>>> attribute of a shipment_route_segment table .. i am here just passing the
>>>> shipmentid and the shipmentRouteSegmentid as input through xml file and i
>>>> have hard coded the carrier_service_status_id to SHRSCS_NOT_STARTED in
>>>> database itself when i run the application and pass the two id values it
>>>> says that "Weight value not found for ShipmentRouteSegment with
>>>> shipmentId
>>>> 10000, shipmentRouteSegmentId 00001, and shipmentPackageSeqId 00001"  i
>>>> didnt understand what is the weight value and how the value will be set
>>>> to
>>>> weight... can anyone help me out in this
>>>>
>>>>
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJeORqrP3NbaWWqE4RAnrHAJ90A+PMD/uHYnI0tvH089avzZ8IKQCfZoVI
XxIusR4Y6FAIp2304lEHtzY=
=M8o+
-----END PGP SIGNATURE-----

Reply via email to