function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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
anyone?