Skip to main content
Solved

add fields or change MESSAGE_TEXT in a system defined event


Forum|alt.badge.img+6
  • Do Gooder (Customer)
  • 20 replies

Hello community. We want to use the system event NEXT_AUTH_PURCH_ORDER to mail the acknowledger/authorizer. This works, with a new action with adjusted email text. Our version is 

IFS10 UPD10.

 

However, the authorization setup is done with groups, for example: PROJECTS.

Now the email is sent to all members within the group PROJECTS when a purchase order needs to be authorized.  I see 2 ways to have it sent to the specific authorizer (= project manager).

  1. either a possibility to add a field to the event (if possible, how to do?)
  2. change the field MESSAGE_TEXT and add information there (if possible, how to do?)

If neither of the above is possible, can anyone tell me where to find the original event in pl/sql so i can create a copy and change that ?

 

thank you in advance for your help.

Best answer by Randini Jayasundara

Hi @Adriaan 

Sorry for the delay. Let me explain the solution in the attached thread and how it can be used in your scenario.

Here what you need to do is 

  1. Create a new custom event to send an email to the project manager. Action Type = Email

 

 

  1. Enable the new event and event action.
  2. Disable the existing Event Action (Action Type = Email) of event NEXT_AUTH_PUR_ORDER
  3. Create new Event Action (Action Type = Execute Online SQL) for the event NEXT_AUTH_PUR_ORDER. This will call the event C_SEND_MAIL_TO_PM we created above.

 

  1. Enable the new event action

This new event will be called next time the System Defined event is triggered.

But I’m sorry I do not know the answer for your second question related to the event NOTIFY_NEXT_AUTH. Posting it as a new question would be a good idea.

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

5 replies

Randini Jayasundara
Superhero (Employee)
Forum|alt.badge.img+12

Hi @Adriaan 

Please refer below post, the answer and the example link given in the answer.

https://community.ifs.com/technology-infrastructure-cloud-integration-dev-tools-50/application-defined-events-880

A similar workaround might be applicable in your scenario as well.


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Customer)
  • 20 replies
  • June 9, 2021

Hi Randine, 

thank you for the reply.  What i can use out of it is that unfortunately it's not possible to add information to a system defined event. The solution mentioned in the thread i do not understand and is beyond my technical knowledge.


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Customer)
  • 20 replies
  • June 10, 2021

Perhaps you can help me with the next question:  we use consequetive authorization so I activated the ‘notiy next authorizer’ system event.  However, the first authorizer does not get an email since it is not a ‘next’ authorizer.  How can i set the activity to make sure the first authorizer gets a mail notification?

 

Thank you in advance.


Randini Jayasundara
Superhero (Employee)
Forum|alt.badge.img+12

Hi @Adriaan 

Sorry for the delay. Let me explain the solution in the attached thread and how it can be used in your scenario.

Here what you need to do is 

  1. Create a new custom event to send an email to the project manager. Action Type = Email

 

 

  1. Enable the new event and event action.
  2. Disable the existing Event Action (Action Type = Email) of event NEXT_AUTH_PUR_ORDER
  3. Create new Event Action (Action Type = Execute Online SQL) for the event NEXT_AUTH_PUR_ORDER. This will call the event C_SEND_MAIL_TO_PM we created above.

 

  1. Enable the new event action

This new event will be called next time the System Defined event is triggered.

But I’m sorry I do not know the answer for your second question related to the event NOTIFY_NEXT_AUTH. Posting it as a new question would be a good idea.


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Customer)
  • 20 replies
  • June 18, 2021

Hello Randini,  thank you for the explanation ! 

This looks very good and I'm going to try to emplement this. 

My second question is not needed anymore once a custom event with my own parameters will be created.

 

Best regards,

Adriaan


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings