+ Start a Discussion
Zabi MohammedZabi Mohammed 

Test Case for After Insert Trigger

Hi all,

  I am facing an issue with test case in my trigger i am inserting the cheld object when i am going to insert the cheld object in test case it is getting 
"System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY" the error the trigger is on parent object. plese help me on this

Thanks and Regards,
could you sahre  trigger and test class code