Skip to main content
Solved

Custom events in 25R2

  • April 29, 2026
  • 4 replies
  • 41 views

Forum|alt.badge.img+11

I have a question about custom events in Cloud version 25R2. At present I am using 25R1 and I can execute Online SQL in an custom event action. As I understand it in 25R2 it will not be possible to execute Online SQL (e.g. “insert into [table name] “) but it will be possible to call a procedure in a custom package (and pass in a value to it).

E.g. the procedure in the package I am calling in the screencap below will work in 25R2?

Thank you.

 

 

Best answer by SimonTestard

25R2 right now definitely allows online SQL actions which is just a PL/SQL block anyways, so what you’re suggesting here would absolutely work, assuming of course it doesn’t mutate the source table the oracle trigger is based on.

4 replies

Mike.Hollifield
Hero (Partner)
Forum|alt.badge.img+8

Hi John,

 

You should be inserting data direct into tables in any version of IFS as this does not respect the IFS business logic.

 

You should use the related API such as CUSTOMER_ORDER_API.new__

 

This enforces business logic and correctly structures the data.


Forum|alt.badge.img+11
  • Author
  • Hero (Customer)
  • April 30, 2026

Hi John,

 

You should be inserting data direct into tables in any version of IFS as this does not respect the IFS business logic.

 

You should use the related API such as CUSTOMER_ORDER_API.new__

 

This enforces business logic and correctly structures the data.

Hi Mike thanks for the reply. Yes I know it is bad practise to insert directly into tables in IFS, it is better to use an API call. My question was related to Cloud 25R2; Will an API call in a custom event (like the one I have underlined in red text in my screen cap) work in 25R2?


Forum|alt.badge.img+12
  • Hero (Customer)
  • Answer
  • April 30, 2026

25R2 right now definitely allows online SQL actions which is just a PL/SQL block anyways, so what you’re suggesting here would absolutely work, assuming of course it doesn’t mutate the source table the oracle trigger is based on.


Forum|alt.badge.img+11
  • Author
  • Hero (Customer)
  • April 30, 2026

25R2 right now definitely allows online SQL actions which is just a PL/SQL block anyways, so what you’re suggesting here would absolutely work, assuming of course it doesn’t mutate the source table the oracle trigger is based on.

Perfect thank you