+ Start a Discussion
Joseph FerraroJoseph Ferraro 

unexpected trigger behavior?

I have a trigger that runs when a child record of an opportunity is created. it takes the ownerid of the opportunity and queries for the owner's "Sales Administrator" (which is a user hierarchy field), and assigns a task to this "Sales Administrator". For some reason, when the system admin is the owner of the opportunity, i get an invalid cross reference on the ownerid (saying it can't be left blank) when trying to insert the tasks.

is this expected behavior?

thanks in advance

Message Edited by joe ferraro on 06-26-2008 09:22 PM
Joseph FerraroJoseph Ferraro