Skip to main content
Question

Problems with IFS custom events

  • March 9, 2026
  • 1 reply
  • 44 views

Forum|alt.badge.img+10
  • Sidekick (Customer)

Hello,

 

In IFS Cloud, we would like to create a tab, a line for each open complaint, so that for each complaint there will be a window with costs, including all cost, transportation, quality control. So that it would not be possible to close the advertisement number without indicating and accounting for costs, even 0 euros. 

 

I know that for this is best to use custom events, but I am not sure what should I add to the column Server method(PL/SQL function)

1 reply

Forum|alt.badge.img+9
  • Hero (Partner)
  • April 6, 2026

Hello,

 

In IFS Cloud, we would like to create a tab, a line for each open complaint, so that for each complaint there will be a window with costs, including all cost, transportation, quality control. So that it would not be possible to close the advertisement number without indicating and accounting for costs, even 0 euros. 

 

I know that for this is best to use custom events, but I am not sure what should I add to the column Server method(PL/SQL function)

@Ed22 ,

You’re on the right track using Custom Events, but for this requirement (blocking closure unless costs are entered), you typically don’t need a complex PL/SQL method.

You can use a Custom Event on the close action (e.g. before update of status) with a condition that checks if cost fields are null or zero, and then raise an error message.

If the logic becomes more complex (e.g. multiple cost types or validations), then you can call a server method, but in many cases a simple event condition + error action is enough.

Also make sure you’re triggering it on the correct LU and event (e.g. status change to closed).

Thanks