Question

How to create Error messages in Aurena

  • 14 October 2021
  • 1 reply
  • 19 views

Badge +2

Hi 

For several of our customizations, we use built in packages/procedures such as Error_SYS.Appl_General to throw errors in the IFS client and stop what a user is doing if they/what theyre doing do not meet our criteria. 

How can we accomplish this in Aurena? I have not had any success using these procedures as part of our custom commands.

We are using IFS 10.8

Thank you in advance


1 reply

Userlevel 5
Badge +8

Nicklas,

I am using Record_General, just a basic test to prevent an add to CustomerInfo (Custom Event PL/SQL):

 

BEGIN
Error_SYS.Record_General('CustomerInfo', 'Sorry, you cannot add a new Customer.');
END;

 

It appears to work the same in Aurena as IEE.  When I try to add a Customer in Aurena, I get this:

 

Aurena

 

When I try to add a customer in IEE I get this:

 

IEE

 

Are you saying that in Aurena errors are not being thrown, and users can go ahead and modify data, while in IEE they are stopped? Can you provide some example code from your Custom Event/Actions?

 

Thanks,

Joe Kaufman

Reply