I have Opportunity-lookup field on Opportunity (self),
Scenario:
- Opportunity A if select Opportunity B using lookup then Opportunity B's same lookup field automatically populate with Opportunity A.
I tried to achieve this using trigger - before insert/update but its failing as:
System.DmlException: Update failed. First exception on row 0 with id 006G000000DHaBlIAL; first error: SELF_REFERENCE_FROM_TRIGGER, Object (id = 006G000000DHaBl) is currently in trigger Oppy_before_INSUPD, therefore it cannot recursively update itself: []