Skip to main content
Solved

IFS Event Action Not Showing Text


Forum|alt.badge.img+4
  • Do Gooder (Customer)
  • 8 replies

The pictures below show the event/actions, as it is to prompt the user with “This part has an open Purchase Order: (Then list the order numbers)” if they modify the characteristics of a part with an open purchase order. However yesterday it was refusing to show the “&HAS_PO” field and only showed the text I had written out, now today it has flipped around and shows the exact opposite. Is their anything I’m missing to get it working?

I’ve tried the below method as well and it didn’t work either:

DECLARE

MESSAGE_ varchar(100) := 'This part has an open Purchase Order: ';

CONCAT_MESSAGE varchar(100);

BEGIN

CONCAT_MESSAGE := CONCAT(MESSAGE_, '&HAS_PO'); IFSAPP.Client_SYS.Add_Info(' ', CONCAT_MESSAGE);

END;

 

 

 

 

 

Best answer by sleigr

I’ve solved the problem now. The issue was the colon, it was stopping anything from showing up. Once I replaced it with a dash it appeared how I wanted it to.

 

 

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+10
  • Hero (Customer)
  • 118 replies
  • August 23, 2023

Hello.

  1. Have you tried another message? like
    IFSAPP.Client_SYS.Add_Info(‘’, ‘This is a test message’);
  2. If 1) is okay, you can replace your code by this :
    IFSAPP.Client_SYS.Add_Info(‘’, ‘This part has an open Purchase Order : &HAS_PO’);

 


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • 8 replies
  • August 23, 2023

The first one worked, however when I put the second one in it only showed &HAS_PO’s data and none of the text before it.


  • 55 replies
  • August 24, 2023

Hallo

The second has a wrong statement.
client_sys.add_info('WorkOrderReturns', 'INFO: :P1', info_text_)

When you want to work with a variable you have to write first ‘Info:’  I try also fist only ‘:P1’ it was never show me any infos.

This is the reason:

 

Best Regards,
André


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • 8 replies
  • Answer
  • August 24, 2023

I’ve solved the problem now. The issue was the colon, it was stopping anything from showing up. Once I replaced it with a dash it appeared how I wanted it to.

 

 


Reply


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