Notifications
Announcements
No record found.
I tried onupdating but it is selecting only one record at a time I need to update all the records of myinventlocationId field values in the InventTable.
Can you suggest me which event handler use useful for update all records through event handler class.
For existing records, you can create a Runnable class and use a while select to update the records.
That runnable class I tried and it is working but in My task I need to this through event handler only. Is there any event handler available for this requirement.
Event handler will be called whenever an event happens in the form like editing a record, updating a record, inserting record etc.
If you want to update all records, you need to go for the runnable class which is formerly known as "Script".
So, there is no event handler concept for your scenario.
Thanks,
Girish S.
Actually this this is the full requirement
Add a new field that is named MyInventLocationId to the InventTable table through extension. implement the logic of filling the new field through event handler.
InventTable having Inventlocationid () method I need to call this method like as "InventTable.MyInventLocationId = InventTable.InventLocationId();
I need to fill this myinventlocationId field by calling this method through event handler.
If this possible please suggest me which event handler will I take
You should have rejected such a requirement, because - as you see - it doesn't allow you to design a solution. It's a bunch of implementation details without describing the goal.
Which event handler you should use (if any) depends on what event you want to react to, not what code you want to execute.
Also, "to use an event handler" isn't a business requirement. You're the developer; it's your responsibility to choose the appropriate technical solution for the given business requirement. But you can't design a solution without knowing what it should do, therefore ask your key user or a functional consultant to explain the business goal to you, instead of trying to design code on your behalf.
We have discussed it in another thread, this is a development practice requirement. As discussed, issue is that it's not a business requirement and it doesn't tell from where you should get myLocationId field and why to use event handler only.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 467 Super User 2025 Season 2
Martin Dráb 420 Most Valuable Professional
BillurSamdancioglu 241 Most Valuable Professional