Dear All 🙏
Hope you all well & healthy 🙏
I'm using Idempiere 10. Currently i want to make when admin create new user. The New user will
automatically assign to default role.
In this case i'm using AbstractEventHandler with event topic PO_AFTER_NEW. in doHandleEvent
i have get the new UserId to add in UserRole table. But when i create new object of MUserRole
and saveEx. There is eror say that the userID not found in table AD_User, When im try to figure out.
It's because my code run before PO_AFTER_NEW event complete. Here my code.
Is there some method to check if the event complete and run my code in that method ? Or is there
any way to solve this problem ? Thank you
--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/2f985872-cde6-4146-b0db-52b2c87703ebn%40googlegroups.com.