"For TIMEDEFINITESERVICE rate service type, the departure and arrival times should be calculated from rate engine" Error When Attempting to Build a Shipment to DHL with Kewill (Doc ID 970954.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.0 to 6.0.4 - Release: 6
Information in this document applies to any platform.

Symptoms


The following error is received when trying to build a shipment using Kewill for DHL even though rates are successfully returned when running an RIQ:

ERROR
-----------------------

2009-11-05 14:57:15.821 195270 Error Exception For TIMEDEFINITESERVICE rate
service type, the departure and arrival times should be calculated from rate
engine, it is not available in this case.

at sun.reflect.GeneratedConstructorAccessor52.newInstance(Unknown Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructo
rAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
at glog.util.exception.GLException.factory(GLException.java:429)
at glog.util.exception.GLException.factory(GLException.java:406)
at glog.util.exception.GLException.factory(GLException.java:402)
at
glog.business.rateservicescheduling.TimeDefiniteServiceRateServiceEngine.prepData(TimeDefiniteServiceRateServiceEngine.java:67)
at
glog.business.rateservicescheduling.RateServiceDriveEngine.prepareRateServiceScheduler(RateServiceDriveEngine.java:249)
at
glog.business.rateservicescheduling.RateServiceDriveEngine.drive(RateServiceDriveEngine.java:113)
at
glog.business.rateservicescheduling.RateServiceEngine.drive(RateServiceEngine.java:177)
at
glog.business.rateservicescheduling.RateServiceEngine.drive(RateServiceEngine.java:256)
at
glog.business.rateservicescheduling.RateServiceEngine.calculateRateServiceSolutionWindow(RateServiceEngine.java:799)
at
glog.business.rate.rateservice.RateServiceSession.calculateSinglePathRateServiceSolutionWindow(RateServiceSession.java:1728)
at
glog.business.shipment.LegOptionOptimizer.calculateServiceTime(LegOptionOptimizer.java:544)
at
glog.business.shipment.LegOptionOptimizer.getCheapestFeasibleOption(LegOptionOptimizer.java:369)
at
glog.business.shipment.LegOptionOptimizer.buildItineraryOptionOnBestLegOptions(LegOptionOptimizer.java:122)
at
glog.business.shipment.LegOptionOptimizer.buildShipmentGraphOnBestLegOptions(LegOptionOptimizer.java:90)
at
glog.business.shipment.ShipmentBuilder.buildTShipmentsOnTLeg(ShipmentBuilder.java:1249)
at
glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:934)
at
glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:895)
at
glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:635)
at
glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:603)
at
glog.business.action.ordermovement.BuildDirectShipmentsAction.buildShipmentGraph(BuildDirectShipmentsAction.java:198)
at
glog.business.action.ordermovement.BuildDirectShipmentsAction.buildDirectShipments(BuildDirectShipmentsAction.java:170)
at
glog.business.action.ordermovement.BuildDirectShipmentsAction.buildDirectShipments(BuildDirectShipmentsAction.java:98)
at
glog.business.session.OrderMovementActionSessionBean.buildDirectShipments(OrderMovementActionSessionBean.java:113)
at
glog.business.session.OrderMovementActionSessionServerSideEJBWrapper.buildDirectShipments(OrderMovementActionSessionServerSideEJBWrapper.java:103)
at
glog.business.session.OrderMovementActionSessionServerSideEJBWrapper_ak3ax7_EOImpl.buildDirectShipments(OrderMovementActionSessionServerSideEJBWrapper_ak3ax
7_EOImpl.java:144)
at
glog.server.agent.business.ordermovement.BuildDirectShipment.execute(BuildDirectShipment.java:43)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:51)
at
glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at
glog.server.workflow.WorkflowSessionServerSideEJBWrapper.execute(WorkflowSessionServerSideEJBWrapper.java:38)
at
glog.server.workflow.WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.execute(WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.java:352)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:347)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at
glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:141)
at
glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:96)

at glog.util.event.EventThread.run(EventThread.java:82)
at java.lang.Thread.run(Thread.java:810)


-- Steps To Reproduce:

The issue can be reproduced at will with the following steps:

1. Log into OTM
2. Assign Servprov DHL to an order (where DHL is attached to a rate offering using Kewill)
3. Attempt to Build a buy side shipment
4. Note no shipment is built and the following error is shown in the logs:

Error Exception For TIMEDEFINITESERVICE rate service type, the departure and arrival times should be calculated from rate  engine, it is not available in this case.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms