Which plugin section execute during Jiwa Start?  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Which plugin section execute during Jiwa Start?

Postby sameermoin » Tue Jul 19, 2022 3:19 pm

which code section should I use in the plugin to do something when the Jiwa is started?

I have to push the data on an online store for one time only.
sameermoin
Regular Contributor
Regular Contributor
 
Posts: 75
Joined: Wed Jun 15, 2022 4:02 am
Topics Solved: 1

Re: Which plugin section execute during Jiwa Start?  Topic is solved

Postby Mike.Sheen » Tue Jul 19, 2022 3:42 pm

I'd add a handler inside the ApplicationManagerPlugin.Setup method and do it there - putting a condition on which user this runs as in case other users login at the same time and triggers your code by mistake:

ApplicationLogon.png
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: Which plugin section execute during Jiwa Start?

Postby SBarnes » Tue Jul 19, 2022 7:08 pm

Usually for sending data to an external system I've usually used a scheduled plugin, which means using scheduled plugin service you can have the same code and run it once or even multiple times if needed as the schedule will determine how often it runs.

Mike's option however is best choice if anything is user specific.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 35 guests