public void OrdrPostSave() { // If this is not an add of a ordr, do not further allocate (use the createdtm to determine this) if (Entity.OrdrDtm.AddSeconds(10) < DateTime.Now) return; // Allocate to salesperson CompRep oCompRep = new CompRep(); oCompRep.GetCompRepsByCompID(Entity.CompID); Comm oCommission = new Comm(); foreach (CompRepEntity CRE in oCompRep.EntityList) { // Insert to comm table CommDefaults CDEF = new CommDefaults(Entity.OrdrID, CRE.RepID); oCommission.NewEntity(CDEF); oCommission.Entity.CommPct = CRE.CommRepPct; oCommission.SaveEntity(); } }However, when I run this I get a SQL timeout error on the SaveEntity line. Now, I tested running the save of the commission record by itself in a test bench and it works fine that way, but it doesn't when it is run as the post save event of the order, Please note that I am running the above method from the HookPostSaveEntity event of the Order object.