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.