otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


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

OTM SIG
MavenWire


Branding, Screen Sets, XSL/CSS and Translations Customizing and Branding the UI of OTM / G-Log for your site, using Custom Screen Sets, Menu Managers, XSL/CSS customizations, Translations and more.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old August 20th, 2008, 21:03
Member
 
Join Date: Feb 2008
Posts: 62
Thanks: 1
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1
MURTHYKO is on a distinguished road
Thumbs down Customizing the Notifications?

Dear Pals,

We are using a notification for Invoice Match Fail and approval failed process in the project. The problem is there are 6 match rules defined in a Matchrule Profile which is attached to a Service Provider. So when ever a invoice match fails instead of getting a default notifiction from OTM, I want to get a notificatio saying which match rule failed exactly. Could any one give some idea's on this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old August 21st, 2008, 05:40
Member
 
Join Date: Dec 2007
Posts: 66
Thanks: 5
Thanked 10 Times in 10 Posts
Groans: 1
Groaned at 1 Time in 1 Post
Rep Power: 2
james_foran is on a distinguished road
Re: Customizing the Notifications?

I have written a few queries (Saved conditions/saved queries) which I have included in an agent. If there is a failure, the agent is triggered, and it can work out what has caused the failure.

Agent checks the following
1. Is the Invoice Matched to Multiple Shipments?
2. Is there a Valid Shipment?
3. Is the Servprove matching?
4. Does the Shipment have secured resources?
5. Is the Shipment already matched to an Invoice?

You need to check then in the correct order according to how your matching rules are applied. If a condition is matched, they you can vary your notification accordingly.

Let me know how you go.

Regards,
__________________
James Foran
Toll Solutions
http://www.tollgroup.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old August 21st, 2008, 06:10
Member
 
Join Date: Feb 2008
Posts: 62
Thanks: 1
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1
MURTHYKO is on a distinguished road
Re: Customizing the Notifications?

Thanks for the reply James. I had a similar plan to achieve this, but I am not sure whether it works or not. I have 6 Match Rules in a match rule profile that is assigned to a Service Provider. Is the system follow any order in wich it has to consider that Match Rules that are grouped in a Match Rule Profile? If so in what sequence it considers?

Regards,
Lakshman
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old August 21st, 2008, 07:06
Member
 
Join Date: Dec 2007
Posts: 66
Thanks: 5
Thanked 10 Times in 10 Posts
Groans: 1
Groaned at 1 Time in 1 Post
Rep Power: 2
james_foran is on a distinguished road
Re: Customizing the Notifications?

I just turned the logs on and went though the sequence that way.
__________________
James Foran
Toll Solutions
http://www.tollgroup.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old August 23rd, 2008, 02:34
Member
 
Join Date: Feb 2008
Posts: 62
Thanks: 1
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 1
MURTHYKO is on a distinguished road
Re: Customizing the Notifications?

We are using "Auto Match Process and fo matching set up 5 match rule based on the "Refnum Qualifiers" on Shipment and Invoice. Could you pls guide me how can we go ahead on this case and find out which match rule it exactly failed?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old August 25th, 2008, 06:42
Member
 
Join Date: Dec 2007
Posts: 66
Thanks: 5
Thanked 10 Times in 10 Posts
Groans: 1
Groaned at 1 Time in 1 Post
Rep Power: 2
james_foran is on a distinguished road
Re: Customizing the Notifications?

I have written a series of Saved Queries (SQL Scripts) that execute, and then included these in an agent as IF Conditions.

EG, IF Servprov does Match, would end up something like...

SELECT i.invoice_gid
FROM invoice i,
invoice_refnum ir,
shipment_refnum sr,
shipment s,
servprov_alias sp
WHERE i.invoice_gid = ir.invoice_gid
AND ir.invoice_refnum_value = sr.shipment_refnum_value
AND sr.shipment_gid = s.shipment_gid
AND sp.servprov_gid = s.servprov_gid
AND sp.servprov_alias_qual_gid = i.servprov_alias_qual_gid
AND ir.invoice_refnum_qual_gid = 'BM'
AND sr.shipment_refnum_qual_gid = 'BM'
AND sp.alias = i.servprov_alias_value
AND ir.invoice_gid = $gid


If this returns no record, then you know that the servprov is not correct. YOu first have to check that the Shipment exists though. The sequence is fairly important.

Hope this helps.
__________________
James Foran
Toll Solutions
http://www.tollgroup.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
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
customizing mail notification Brintha Branding, Screen Sets, XSL/CSS and Translations 2 December 17th, 2007 16:54
Customizing the Sequence Number. skunniyur Branding, Screen Sets, XSL/CSS and Translations 1 December 4th, 2007 11:20
Modify Tender Notifications - control when sent out DMOORE Execution 2 November 7th, 2007 21:03
Customizing Screensets Rajashree Branding, Screen Sets, XSL/CSS and Translations 1 October 5th, 2007 10:27
Problem - Notifications - CONSOLIDATION PROFILE Sanju Workflow 0 September 12th, 2007 08:47



All times are GMT. The time now is 20:42.
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