Hi, I have come across this issue a few times while creating custom events. If anyone has a solution please let me know.
When there is a custom event for a specific logical unit and I want to validate against a different logical unit that is also created synchronously, I cannot use that validation for the other logical unit because it is also creating synchronously. When I use a cursor for that logical unit it always returns empty. Is there anything we can do to retrieve the data in this scenario?
For example, in the supplier page there is a business operation that allows you to add a new supplier contact. When adding a communication method for the new supplier contact, it first creates the person entity and then creates the communication method entity synchronously. In my case, I created a custom event on the communication method which first needs to check the same person entity values before performing the validation. However, in this scenario when I use a cursor to retrieve the person information it always returns empty as it has not been committed to the database yet. Is there any way to retrieve those values or any alternative approach to achieve this?
Thanks in advance
Regards




