otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > OTM / G-Log - Functional Topics > Rating
Reload this Page

Rate shipment based on distance dynamically


Rating Configuring and troubleshooting Rating and RIQ in OTM / G-Log.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 17th, 2007, 09:16
Junior Member
 
Join Date: Apr 2007
Posts: 26
Thanks: 5
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
soujanya is on a distinguished road
Question Rate shipment based on distance dynamically

hi,

Can any one help me out how to rate the shipment dyanamically.
ie., i am uploading a shipment thru xml the distance between the lanes will be known only when the shipment is uploaded. Then depending on that distance the shipment should be rated.


thanks & regards,
Vidya Sowjanya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old October 17th, 2007, 11:23
Senior Member and Blogger
 
Join Date: May 2007
Posts: 170
Thanks: 4
Thanked 31 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
bmj_23 will become famous soon enough
Re: Rate shipment based on distance dynamically

If you load a shipment using the ActualShipment XML, then you can just create shipment automation agent that listens for that event and when it is triggered will run the "Assign Rate" agent action.

That action will run the rating engine and assuming you have the correct base data in place, will rate the shipment based on the rate record you have defined (which presumably is based on the shipment distance). You will obviously need to test that with your data.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old October 17th, 2007, 11:58
Junior Member
 
Join Date: Apr 2007
Posts: 26
Thanks: 5
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
soujanya is on a distinguished road
Re: Rate shipment based on distance dynamically

hi,
thanq very much for ur reply., but the issue what i am facing is different. while i am uploading the shipment the actual distance between source and destination will be coming into OTM .

Suppose source is A and destination is B then while uploading the shipment , the distance beteen the locations X Kms will be known.This distance will vary for each n every shipment.

then i need to rate 30$ per Km for that shipment.

this Distance is not know until the shipment info comes into OTM.

For this i have tried in the following ways:

Scenario 1:

XKms i am storing in order refnum and tried to update this distance into distance look up table directly using direct SQL Update.

This Update is happening but the same is not reflecting in the front end.


Scenario 2:

The other way tried out is In shipment stop table ,updated this distance in distance travelled filed , even here it is updating in back end.

But while assigning rates., again it is taking form lanes only. not taking the updaed value..


thanks & regards,
Vidya Sowjanya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old October 17th, 2007, 12:59
Senior Member and Blogger
 
Join Date: May 2007
Posts: 170
Thanks: 4
Thanked 31 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
bmj_23 will become famous soon enough
Re: Rate shipment based on distance dynamically

1. What version of OTM are you on ?

2. Am I correct in thinking that you want to send the distance in to OTM as part of the ActualShipment XML and to use that distance value in the calculation of the shipment cost ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old October 17th, 2007, 13:37
Junior Member
 
Join Date: Apr 2007
Posts: 26
Thanks: 5
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
soujanya is on a distinguished road
Question Re: Rate shipment based on distance dynamically

hi,

1. I am on 5.0 version of OTM.

2. Yes, your understanding is correct.,that distance will come as a part of the ActualShipment XML and to use that distance value in the calculation of the shipment cost



thanks & regards,
Vidya Sowjanya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old October 18th, 2007, 11:27
Senior Member and Blogger
 
Join Date: May 2007
Posts: 170
Thanks: 4
Thanked 31 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
bmj_23 will become famous soon enough
Re: Rate shipment based on distance dynamically

There is (I believe) an enhancement that was delivered in 5.5 CU3 that allows you to enter the distance on an inbound ActualShipment XML and have the rating engine observe that distance rather than retrieve the distance based on the rate record that is used to rate the shipment. That sounds exactly the capability that you require.

If you are unable to move to 5.5, then my approach would be to use Direct SQL update to update the necessary distance record prior to the rating engine starting for the shipment. However, I can imagine that that may result in data cache issues / timing issues, so that will require some stringent testing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old October 22nd, 2007, 23:42
Junior Member
 
Join Date: Mar 2007
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
shekharp is on a distinguished road
Re: Rate shipment based on distance dynamically

Have you tried rating by refnum. We are on OTM 5.0 version and have scenarios where we have to rate by distance. The distance (x kms) is stored as shipment refnum and the rate record is set to rate by refnum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old October 24th, 2007, 13:00
Junior Member
 
Join Date: Apr 2007
Posts: 26
Thanks: 5
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
soujanya is on a distinguished road
Question Re: Rate shipment based on distance dynamically

hi,
Thanq very much for ur response. I have tried direct sql update . As you said i are facing the cache problem. It is getting updated in the back end but not reflecting in the front end.


I checked for the shipment refnum option even but dont have rating based on refnum option in 5.0.

thanks & regards,
Vidya Sowjanya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old December 6th, 2007, 13:21
Member and Blogger
 
Join Date: Jan 2007
Location: Haalderen, Netherlands
Posts: 117
Blog Entries: 1
Thanks: 7
Thanked 33 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
bob_romijn is on a distinguished road
Send a message via Skype™ to bob_romijn
Re: Rate shipment based on distance dynamically

Quote:
Originally Posted by bmj_23 View Post
There is (I believe) an enhancement that was delivered in 5.5 CU3 that allows you to enter the distance on an inbound ActualShipment XML and have the rating engine observe that distance rather than retrieve the distance based on the rate record that is used to rate the shipment. That sounds exactly the capability that you require.

If you are unable to move to 5.5, then my approach would be to use Direct SQL update to update the necessary distance record prior to the rating engine starting for the shipment. However, I can imagine that that may result in data cache issues / timing issues, so that will require some stringent testing.
How did you come to the remark that this should be able in 5.5? I want to find out how it works (rating using the actual distance). I can;t find anything that seems to solve this in 5.5.

Thanks in advance.

Best regards,

Bob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old December 7th, 2007, 07:42
Member and Blogger
 
Join Date: Jan 2007
Location: Haalderen, Netherlands
Posts: 117
Blog Entries: 1
Thanks: 7
Thanked 33 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
bob_romijn is on a distinguished road
Send a message via Skype™ to bob_romijn
Re: Rate shipment based on distance dynamically

Hi,

I give the answer myself after consulting someone else that is using CU3. I add it to this post, because it will give you a complete answer and knowledge base of this forum.

Yes, it is possible to use actual (driven) miles.
At stop level of a shipment you could already put in the distance from previous stop. This field would be recalculated once you are doing a recalculate of a shipment.
Added is now the checkbox "Fixed distance". This checkbox tells OTM to use this distance instead of going again to the distance engine or estimation.

Best regards,

Bob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to bob_romijn For This Useful Post:
chrisplough (December 7th, 2007)
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Allocatioon of BUY shipment based on Ship Unit Count Sanju Planning 1 February 22nd, 2008 18:26
Rating based on distance uma Rating 2 December 17th, 2007 16:06
rate distance - LTL Base & Master rj5316 Rating 0 December 17th, 2007 09:17
rouding up distance returned by external distance engine vn_karthik Rating 2 September 5th, 2007 17:46
[SOLVED] Rate Setup - Build Shipment error saufil chang Planning 2 June 29th, 2007 07:14



All times are GMT. The time now is 11:28.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37