-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 have you followed the http://docs.ofbiz.org/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-ShippingSettings
nach...@gmail.com sent the following on 1/22/2009 2:36 PM: > hi sir, > Thanks for the response .. i hard coded the value of weight in the > shipmentpackage table... now its getting the error.. > The UPS ShipmentConfirm failed > > An error occurred [code:250003] with severity Hard: Invalid Access License > number. i think it is related with the license number given by the UPS > service providers... and how the value of weight will come in the > shipmentpackage dyanamically... > > BJ Freeman wrote: > 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 >>>>>>> >>>>>>> >>>>> >> >> > Quoted from: > http://www.nabble.com/Integration-of-UPS-services-tp21612722p21613727.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJeSb6rP3NbaWWqE4RAoHeAJ9Tk+KKli+Lx7+BM0Pp/0KHFMJwQgCgiERu Bw+JPagNbSULXPCJVrh3iX8= =a2/D -----END PGP SIGNATURE-----