Exemplo n.º 1
0
        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();
        }