Skip to main content
Question

Message box not working for some users

  • January 30, 2023
  • 4 replies
  • 191 views

Forum|alt.badge.img+7

Is there a reason client_sys.add_info wouldn’t display a message box for some users?

This is on a custom event action.

4 replies

william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • January 30, 2023

Hi @mdeanton ,

 

You may want to look over this thread on the forum.  

You can also review Client Information and Coding Mechanisms in IFS Technical documentation. Hope that will help.

 

Regards,

William Klotz


Forum|alt.badge.img+7
  • Author
  • Do Gooder (Customer)
  • January 30, 2023

Thanks -- I am using a ‘before’ trigger on the event as suggested in the other thread, but displaying the message is still inconsistent. 

 

It works for some users, but not for others even if they have the same roles...


  • Superhero (Employee)
  • January 31, 2023

That sounds strange. Is is possible to re-create it for those users? Which Entity/LU is this for? 
Can you post the event code here?


Forum|alt.badge.img+7
  • Author
  • Do Gooder (Customer)
  • February 1, 2023

this is the code to invoke the message box

 

                Client_SYS.Add_Info ('PurchaseOrderLine',
                                     'PurchaseOrderLine: This is the first time Supplier :P1 :P2 is being used to order the part :P3',
                                     lv_supplier_no,
                                     lv_supplier_name,
                                     lv_part_no);