public static void SetSeccode_OnAfterInsertStep( Sage.Entity.Interfaces.IStampMaster stampmaster) { // TODO: Complete business rule implementation Sage.Entity.Interfaces.IOwner objOwner = Sage.Platform.EntityFactory.GetById<Sage.Entity.Interfaces.IOwner>("SYST00000001"); stampmaster.Owner = objOwner; stampmaster.Save(); }
public static void SetSeccode_OnAfterInsertStep( Sage.Entity.Interfaces.IBranch branch) { // TODO: Complete business rule implementation //Sage.Entity.Interfaces.IUser currentUser = BusinessRuleHelper.GetCurrentUser(session); Sage.Entity.Interfaces.IOwner objOwner = Sage.Platform.EntityFactory.GetById<Sage.Entity.Interfaces.IOwner>("SYST00000001"); branch.Owner = objOwner; branch.Save(); }