Skip to main content
Solved

Where (which table) are Custom Events stored?


Forum|alt.badge.img+2

I’m currently looking into if it is possible to take periodic backup of custom events.

The idea is to dump the Custom Events to disk, then use commit them to a git repository. If someone breaks a custom event, we can then easily go back to an earlier version.

 

I can read stored procedures and such from the database as SQL files, now I’d like to read out the events as well.

 

But I do not know where to look (or if this is the best approach).

Best answer by knepiosko

select * from fnd_event_tab;
select * from fnd_event_action_tab;

View original

8 replies

Forum|alt.badge.img+13

Hi @HenningNT,

You can store custom objects including custom fields, menus etc. and of course CUSTOM EVENTS in an Application Configuration Package.

Navigate to window “Application Configuration Package”, add the basic package details and add the necessary custom objects and export.

 



Hope this helps!

Best Regards,
Bhagya
 


Forum|alt.badge.img+16
  • Superhero (Partner)
  • 407 replies
  • Answer
  • August 4, 2022

select * from fnd_event_tab;
select * from fnd_event_action_tab;


Forum|alt.badge.img+9
  • Hero (Employee)
  • 80 replies
  • August 4, 2022

Try it with FND_EVENT_ACTION

 

Best regards

Heinz


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • 4 replies
  • August 4, 2022
knepiosko wrote:

select * from fnd_event_tab;
select * from fnd_event_action_tab;

Cool, thanks!

Is there a way to filter out only the custom events we’ve made in-house?


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • 4 replies
  • August 4, 2022
HenningNT wrote:
knepiosko wrote:

select * from fnd_event_tab;
select * from fnd_event_action_tab;

Cool, thanks!

Is there a way to filter out only the custom events we’ve made in-house?

 

Like this, maybe?


select * from fnd_event_tab where event_type = 'CUSTOM'


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 861 replies
  • August 4, 2022

If your intention is to version control, the best approach is to add the custom events + actions to Application Configuration Packages and export them as @Bhagya Wickramasinghe mentioned above

 

I think this is the method call which suppose to export the ACP content.

App_Config_Package_API.Export_Package(packageExport_, packageId_, exportVersion_, exportComment_);

 

Cheers!

Damith


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • 4 replies
  • August 4, 2022
dsj wrote:

If your intention is to version control, the best approach is to add the custom events + actions to Application Configuration Packages and export them as @Bhagya Wickramasinghe mentioned above

 

I think this is the method call which suppose to export the ACP content.

App_Config_Package_API.Export_Package(packageExport_, packageId_, exportVersion_, exportComment_);

 

Cheers!

Damith

Interesting!

Forgive my ignorance, how do you call App_Config_Package_API.Export_Package, and where does the output go?


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 861 replies
  • August 4, 2022

You can call this from PLSQL and output is a CLOB IFS message formatted XML of ACP header and items.

With some coding, you should be able to extract the XMLs from the clob.

 

Here’s an example call to export the ACP content

Cheers!

Damith


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