This topic contains 3 replies, has 2 voices, and was last updated by Julien VINAI 10 years, 1 month ago.
- Topic
Hello everybody,
I would like to create a @PrePersist action for an OroCRM entity like Contact.
I can’t use @PrePersist listener for this entity because I need to make a request on another table via the EntityManager.
For example, I would like to count each Contact’s calls and save it in a new Contact’s field: calls_count.
I have two possibilities:
Can you tell me which one is the best choice ? :)
SYNOLIA – Lead Developer
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.