Announcement

Collapse
No announcement yet.

Restrictions on the number of shipments in Continous tour

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Restrictions on the number of shipments in Continous tour

    Hi
    I am working on continuous movement in OTM. I encountered a problem while planning shipments
    The scenario has three order releases from
    1) A to B
    2) C to D
    3) D to A
    Only one service provider is used.

    Lanes are defined between locations A-B, B-C, C-D, D-A and also between B-D and C-A

    Rates are also defined for the locations participating in shipments.

    Region is created for the four locatoins and Itinerary is defined using this region.

    Planning parameters like CM auto create (set to True), CM max search distance (200miles), CM max search duration (1 day), CM mode (TL), CM redrive (set to true) and Generic estimation Rate service ID (self defined rate service)

    Rate service is look up only, with time window tolerance as 1 day etc..,

    When i planned using order relases (1) & (2) or (2) & (3), OTM plans a continuous movement.
    But, when i plan all the three order releases (1), (2) & (3), planning fails.

    How should i go about it?

    I would like to know, whether there are any restrictions in the number shipments that can participate in the continuous move?

    Awaiting your response.
    Regards
    Pradeep Sundar.V

  • #2
    Re: Restrictions on the number of shipments in Continous tour

    On the CM Rule Data tab of the Rate Offering, there is Max Number of Shipments field. This is where you can restrict the number of shipments allowed in a continuous move basis. By setting this number to 3, your problem should be solved.

    Let me know if this works for you.

    Comment


    • #3
      Re: Restrictions on the number of shipments in Continous tour

      Hi

      I took note of the suggestion - Setting the number of the shipments to 3 in CM Rules tab in Rate offering (In fact i have set it to 10; to be on the safer side)

      But on both occasions (No. of shipmenst = 3 and 10 as well); i still ended up with an error as mentioned below.

      I even tried to manually link the third shipment with the other two shipments (these two shipments are planned for continuous tour); i still ended with the same "Null Pointer Exception - Error"

      Error Log

      Error Exception java.lang.NullPointerException java.lang.NullPointerException at glog.business.action.CMActionExecutor.linkShipment s(CMActionExecutor.java:333) at glog.business.action.CMActionExecutor.autoCreateCo ntinuousMove(CMActionExecutor.java:1177) at glog.business.action.CMActionExecutor.autoCreateCo ntinuousMove(CMActionExecutor.java:1079) at glog.business.consolidation.bulkplan.OrderPlanner. bulkPlan(OrderPlanner.java:447) at glog.business.action.order.OrderActions.planUnassi gnedOrders(OrderActions.java:78 at glog.business.action.order.BulkPlanActionExecutor. planOrders(BulkPlanActionExecutor.java:240) at glog.business.action.order.BulkPlanActionExecutor. planOrders(BulkPlanActionExecutor.java:107) at glog.business.session.OrderActionSessionBean.planO rders(OrderActionSessionBean.java:1076) at glog.business.session.OrderActionSessionServerSide EJBWrapper.planOrders(OrderActionSessionServerSide EJBWrapper.java:1110) at sun.reflect.GeneratedMethodAccessor369.invoke(Unkn own Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.evermind.server.ejb.interceptor.joinpoint.EJBJ oinPointImpl.invoke(EJBJoinPointImpl.java:35) at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.interceptor.system.TxNotSu pportedInterceptor.invoke(TxNotSupportedIntercepto r.java:43) at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.interceptor.system.Securit yRoleInterceptor.invoke(SecurityRoleInterceptor.ja va:4 at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.StatelessSessionEJBObject. OC4J_invokeMethod(StatelessSessionEJBObject.java:8 6) at OrderActionSession_StatelessSessionBeanWrapper406. planOrders(OrderActionSession_StatelessSessionBean Wrapper406.java:155) at glog.server.workflow.adhoc.BulkPlan.executeOrder(B ulkPlan.java:57) at glog.server.workflow.adhoc.BulkPlan.execute(BulkPl an.java:41) at glog.server.workflow.SimpleWorkflow.execute(Simple Workflow.java:23) at glog.server.workflow.WorkflowSessionBean.execute(W orkflowSessionBean.java:64) at sun.reflect.GeneratedMethodAccessor225.invoke(Unkn own Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.evermind.server.ejb.interceptor.joinpoint.EJBJ oinPointImpl.invoke(EJBJoinPointImpl.java:35) at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.interceptor.system.TxNotSu pportedInterceptor.invoke(TxNotSupportedIntercepto r.java:43) at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.interceptor.system.Securit yRoleInterceptor.invoke(SecurityRoleInterceptor.ja va:4 at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69) at com.evermind.server.ejb.StatelessSessionEJBObject. OC4J_invokeMethod(StatelessSessionEJBObject.java:8 6) at WorkflowSessionNonTrans_StatelessSessionBeanWrappe r200.execute(WorkflowSessionNonTrans_StatelessSess ionBeanWrapper200.java:35) at glog.server.workflow.WorkflowManager.execute(Workf lowManager.java:341) at glog.server.workflow.Trigger.trigger(Trigger.java: 111) at glog.util.event.MemoryEventQueueRunnable.processEv ent(MemoryEventQueueRunnable.java:111) at glog.util.event.MemoryEventQueueRunnable.run(Memor yEventQueueRunnable.java:70) at glog.util.event.EventThread.run(EventThread.java:7 9) at java.lang.Thread.run(Thread.java:534) [batch - 2]
      java.lang.NullPointerException
      java.lang.NullPointerException
      at glog.business.action.CMActionExecutor.linkShipment s(CMActionExecutor.java:333)
      at glog.business.action.CMActionExecutor.autoCreateCo ntinuousMove(CMActionExecutor.java:1177)
      at glog.business.action.CMActionExecutor.autoCreateCo ntinuousMove(CMActionExecutor.java:1079)
      at glog.business.consolidation.bulkplan.OrderPlanner. bulkPlan(OrderPlanner.java:447)
      at glog.business.action.order.OrderActions.planUnassi gnedOrders(OrderActions.java:78
      at glog.business.action.order.BulkPlanActionExecutor. planOrders(BulkPlanActionExecutor.java:240)
      at glog.business.action.order.BulkPlanActionExecutor. planOrders(BulkPlanActionExecutor.java:107)
      at glog.business.session.OrderActionSessionBean.planO rders(OrderActionSessionBean.java:1076)
      at glog.business.session.OrderActionSessionServerSide EJBWrapper.planOrders(OrderActionSessionServerSide EJBWrapper.java:1110)
      at sun.reflect.GeneratedMethodAccessor369.invoke(Unkn own Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.evermind.server.ejb.interceptor.joinpoint.EJBJ oinPointImpl.invoke(EJBJoinPointImpl.java:35)
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52)
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.interceptor.system.TxNotSu pportedInterceptor.invoke(TxNotSupportedIntercepto r.java:43)
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.interceptor.system.Securit yRoleInterceptor.invoke(SecurityRoleInterceptor.ja va:4
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52)
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.StatelessSessionEJBObject. OC4J_invokeMethod(StatelessSessionEJBObject.java:8 6)
      at OrderActionSession_StatelessSessionBeanWrapper406. planOrders(OrderActionSession_StatelessSessionBean Wrapper406.java:155)
      at glog.server.workflow.adhoc.BulkPlan.executeOrder(B ulkPlan.java:57)
      at glog.server.workflow.adhoc.BulkPlan.execute(BulkPl an.java:41)
      at glog.server.workflow.SimpleWorkflow.execute(Simple Workflow.java:23)
      at glog.server.workflow.WorkflowSessionBean.execute(W orkflowSessionBean.java:64)
      at sun.reflect.GeneratedMethodAccessor225.invoke(Unkn own Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.evermind.server.ejb.interceptor.joinpoint.EJBJ oinPointImpl.invoke(EJBJoinPointImpl.java:35)
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52)
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.interceptor.system.TxNotSu pportedInterceptor.invoke(TxNotSupportedIntercepto r.java:43)
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.interceptor.system.Securit yRoleInterceptor.invoke(SecurityRoleInterceptor.ja va:4
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.interceptor.system.DMSInte rceptor.invoke(DMSInterceptor.java:52)
      at com.evermind.server.ejb.interceptor.InvocationCont extImpl.proceed(InvocationContextImpl.java:69)
      at com.evermind.server.ejb.StatelessSessionEJBObject. OC4J_invokeMethod(StatelessSessionEJBObject.java:8 6)
      at WorkflowSessionNonTrans_StatelessSessionBeanWrappe r200.execute(WorkflowSessionNonTrans_StatelessSess ionBeanWrapper200.java:35)
      at glog.server.workflow.WorkflowManager.execute(Workf lowManager.java:341)
      at glog.server.workflow.Trigger.trigger(Trigger.java: 111)
      at glog.util.event.MemoryEventQueueRunnable.processEv ent(MemoryEventQueueRunnable.java:111)
      at glog.util.event.MemoryEventQueueRunnable.run(Memor yEventQueueRunnable.java:70)
      at glog.util.event.EventThread.run(EventThread.java:7 9)
      at java.lang.Thread.run(Thread.java:534)
      [batch - 2]

      Comment


      • #4
        Re: Restrictions on the number of shipments in Continous tour

        I am going to replicate this myself out of curiousity, but I just wanted to throw out this suggestion. When originally testing, I noticed that Order Release Dates are extremely important when testing CM Tours. Make sure that your order dates are feasible in relation to Rate Service.

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎