otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire

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

Rate record - Multi Cost Rule - Shipment


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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 20th, 2009, 04:59
Member
 
Join Date: Oct 2007
Location: India
Posts: 85
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 9
Thanked 1 Time in 1 Post
Rep Power: 3
surender is on a distinguished road
Rate record - Multi Cost Rule - Shipment

Hi Everyone,

I have created rate record with two multi-cost (Minimum) rule as below:

1 . CHARGE 40.0000 AUD PER 1 MTON OF Shipment Total Weight
2. Shipment Total Number of Ship Units > 1
CHARGE 40.0000 AUD PER 1 Shipment Total Number of Ship Units

I want OTM to pick up Weight as the basis for rate calculation when shipment is created. Later when I perform an action of Recalculate shipment cost, I want to rerate the shipment based on the ship units and not the weight i.e, i want to restrict cost rule No.1 some how.

Any thoughts?

Thanks in advance for your time

Surender
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old May 25th, 2009, 01:43
Member
 
Join Date: Oct 2007
Location: India
Posts: 85
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 9
Thanked 1 Time in 1 Post
Rep Power: 3
surender is on a distinguished road
Re: Rate record - Multi Cost Rule - Shipment

Any thoughts on below requirement?

Regards,
Surender
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old May 25th, 2009, 04:35
Senior Member
 
Join Date: Sep 2007
Location: india
Posts: 182
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 7
Thanked 13 Times in 13 Posts
Rep Power: 3
nipunlakhotia is on a distinguished road
Send a message via Yahoo to nipunlakhotia
Re: Rate record - Multi Cost Rule - Shipment

Hi Surender,

I can suggest one work around. I have not tested this but you can try this...

Rate Record
1 . If shipment refnum not equal to ABC, then CHARGE 40.0000 AUD PER 1 MTON OF Shipment Total Weight
2. Shipment Total Number of Ship Units > 1 or shipment refnum equal to ABC
CHARGE 40.0000 AUD PER 1 Shipment Total Number of Ship Units

Create an agent on "SHIPMENT RECALC COST" event
Agent actions:
  • sql update ( insert some refnum -ABC in to the shipment )
  • RECALC COST

This agent will insert this refnum (ABC) into the shipment when recalc action is initiated. The other action i.e. RECALC COST ensures that shipment is recalculated again based on inserted refnum.

I hope this works.
__________________
Regards,
Nipun Lakhotia
OTM Center of Excellence, Infosys
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old May 25th, 2009, 04:41
Member
 
Join Date: Oct 2008
Posts: 43
Groans: 1
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 2 Times in 2 Posts
Rep Power: 0
Sophia is on a distinguished road
Re: Rate record - Multi Cost Rule - Shipment

Hi Nipun,

This i have already tried this work around and its not working out. Recalc shipment will not delete the previous base cost. It simply adds the new base cost to the previous one...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old May 25th, 2009, 05:16
Senior Member
 
Join Date: Sep 2007
Location: india
Posts: 182
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 7
Thanked 13 Times in 13 Posts
Rep Power: 3
nipunlakhotia is on a distinguished road
Send a message via Yahoo to nipunlakhotia
Re: Rate record - Multi Cost Rule - Shipment

Hi Sophia,

As per my understanding, "recalc shipment cost" re-rates the shipment again. It does not add new cost to previous cost.

Please recheck your rate record. You might have selected "ADD" as multi-cost rule instead of Minimum option.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old May 25th, 2009, 05:42
Member
 
Join Date: Oct 2008
Posts: 43
Groans: 1
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 2 Times in 2 Posts
Rep Power: 0
Sophia is on a distinguished road
Re: Rate record - Multi Cost Rule - Shipment

Hi Nipun

Its nothing to do with the Add or Minimum option since what surendar wants is not to select the Minimum of two. He wants to restrict the first one for building shipment.

But the same work around is working fine even with Add option. My problem has got resolved with the agent. Since i was trying manually i had a hickup in adding the refnum...

Surendar : The work around is working fine....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old May 25th, 2009, 11:52
Member
 
Join Date: Oct 2007
Location: India
Posts: 85
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 9
Thanked 1 Time in 1 Post
Rep Power: 3
surender is on a distinguished road
Re: Rate record - Multi Cost Rule - Shipment

Hi Nipun / Sophia ,Thanks for quick reply.

I've tried the solution mentioned by you but it's not working.If am creating rate record with two cost rule say:
1. Shipment Refnum Qualifier != (Not Equal) DOMAIN.ABC
CHARGE 30.0000 AUD PER 1 Shipment Refnum Value as a Number
2. Shipment Refnum Qualifier = (Equal) DOMAIN.ABC
CHARGE 40.0000 AUD PER 1 Shipment Refnum Value as a Number

In above the case ,the rate enquiry engines fails to return any result when shipment is created because OTM look for shipment whose refnum = or != to ABC.In essence the above conditions are valid if the shipment is exist.


It'll be great if you provide any other alternative.

Regards,

Surender
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old May 25th, 2009, 13:47
Member
 
Join Date: Oct 2008
Posts: 43
Groans: 1
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 2 Times in 2 Posts
Rep Power: 0
Sophia is on a distinguished road
Re: Rate record - Multi Cost Rule - Shipment

Hi surendar,

Its not shipment refnum, Try with Order release refnum qualifier.

1. Order release Refnum Qualifier != (Not Equal) AO (example for a refnum)
CHARGE 30.0000 AUD PER 1 Shipment Refnum Value as a Number
This condition will lead OTM to build shipment with 30 AUD per shipment.

2. Order release Refnum Qualifier = (Equal) AO (example for the refnum)
CHARGE 40.0000 AUD PER 1 Shipment Refnum Value as a Number
This condition will lead OTM to rerate with this rate when the agent action recalculate shipment cost takes place

Note: Write an agent which will insert Refum AO in the related order release when shipment is built. Then rerate the shipment again.
Agent type should be shipment. Condition is shipment created and action can be a direct sql update or generate refnum(which ever you are comfortable with, but direct sql update will be a better option i feel.). Second action is Recalculate shipment cost.

Hope its clear now...

Last edited by Sophia; May 25th, 2009 at 13:54.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old May 26th, 2009, 05:04
Member
 
Join Date: Oct 2007
Location: India
Posts: 85
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 9
Thanked 1 Time in 1 Post
Rep Power: 3
surender is on a distinguished road
Re: Rate record - Multi Cost Rule - Shipment

Hi Sophia,

The Solution provided by you still not working.

Steps:
1. Created rate record with two cost rule:
a. 1. Order release Refnum Qualifier != (Not Equal) AO
CHARGE 30.0000 AUD PER 1 MTON OF Shipment Total Weight
b.Order release Refnum Qualifier = (Equal) AO
CHARGE 40.0000 AUD PER 1 Shipment Refnum Value as a Number
2. Order release is created with gross weight = 9172 KG and without refnum AO
3. Shipment is created with gross weight =9172 KG and refnum AO is inserted to all relevant order releases and shipment refnum value is derived say =10.
Gross weight Shipment Refnum value Planned Cost ACtual Cost
9172.50 KG 10 366.90 300

Shipment refnum value is changed to 6 and recalculate shipment cost.Result (Results are as per expectation : 6*30 =180)

9172.50 KG 6 366.90 180

Shipment refnum value is changed to 15 and recalculate shipment cost.Result are not as per expectation : 15*30 = 450)

9172.50 KG 15 366.90 366.90

When we are recalculating shipment cost ,OTM is not looking for order release reference numbers.

Any thoughts?

Thanks

Surender
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old May 26th, 2009, 05:59
Member
 
Join Date: Oct 2008
Posts: 43
Groans: 1
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 2 Times in 2 Posts
Rep Power: 0
Sophia is on a distinguished road
Thumbs up Re: Rate record - Multi Cost Rule - Shipment

Hi Surendar,

If you are using Shipment refnum value as number in rate cost to rerate, then you should mention the Shipment refnum qual as a condition in the basis along with Order release Refnum qual = AO.

Which means
You are checking two condiitions 1) Order release Refnum qual = AO AND
2) Shipment refnum qual = 'YOUR REFNUM QUAL'

Because OTM needs which shipment refnum qual value should be taken as number.

For better understanding check the screen shot attached...

Try and revert back...
Attached Images
File Type: jpg rate basis.jpg (27.5 KB, 13 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

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
Rate Enquiry Failure when quote checked in Rate Record sheriff Order Processing 5 July 14th, 2009 05:21
Rate Record Manager Layout slimjim30215 Branding, Screen Sets, XSL/CSS and Translations 1 June 9th, 2009 04:13
Approval for Rate offering and Rate Record vsevs Rating 0 March 9th, 2009 08:07
Service Provider Profile Use for Itinerary or Rate Record Selection sboro Rating 2 December 26th, 2008 20:01
Exclude Commodity in LTL Rate Record otmrocks Rating 1 November 5th, 2008 09:22



All times are GMT. The time now is 07:02.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

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 38 39 40