Skip to main content
Solved

How use Info messagebox on events?

  • October 9, 2020
  • 5 replies
  • 2461 views

hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Superhero (Customer)
Event
​​

 

Hi, I am trying to add an info message box for the Customer Order page. But, something prevents the info message box. Error_Sys.Generate_Record is working but Client_Sys.Add_Info does not work. The action will start when an order new state is equal Released. Does anyone know the problem? 

 

 

 

Best answer by baris.halici

Hi @hhy38,

 

You can use add_info in custom events. But, you have to use the trigger in before mode.

 

Some similar information is also mentioned here.

Information Message (Client_SYS.Add_Info) - This only works in custom events where the event action is triggered against the standard new, modify or remove process … it is the info_ out variable that needs to be handled by the client which makes this possible.

 

Warning Message (Client_SYS.Add_Warning) - This is currently not supported by the framework.

 

Cheers!

5 replies

hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • October 9, 2020

Client_Sys.Add_Info is working but it does not work while Releasing order.


paul harland
Superhero (Employee)
Forum|alt.badge.img+24

Client_Sys.Add_Info is not generally supported.  It happens to work in a few places in IFS.  But if it doesn’t work where you are working, there’s nothing you can do.  It is not a supported feature.


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Author
  • Superhero (Customer)
  • October 12, 2020

Client_Sys.Add_Info is not generally supported.  It happens to work in a few places in IFS.  But if it doesn’t work where you are working, there’s nothing you can do.  It is not a supported feature.

Is there another way to do that? Raising an error is not a solution to this problem.


Yasas Kasthuriarachchi
Superhero (Employee)
Forum|alt.badge.img+30

Hi @hhy38,
For additional information please refer to Client Information and Coding Mechanisms in IFS Technical documentation. Hope that will help.

Best Regards,

Yasas


baris.halici
Hero (Customer)
Forum|alt.badge.img+12
  • Hero (Customer)
  • Answer
  • November 19, 2021

Hi @hhy38,

 

You can use add_info in custom events. But, you have to use the trigger in before mode.

 

Some similar information is also mentioned here.

Information Message (Client_SYS.Add_Info) - This only works in custom events where the event action is triggered against the standard new, modify or remove process … it is the info_ out variable that needs to be handled by the client which makes this possible.

 

Warning Message (Client_SYS.Add_Warning) - This is currently not supported by the framework.

 

Cheers!