Exemplo n.º 1
0
 public override void AfterExecuteOperationTransaction(Kingdee.BOS.Core.DynamicForm.PlugIn.Args.AfterExecuteOperationTransaction e)
 {
     base.AfterExecuteOperationTransaction(e);
     foreach (DynamicObject obj2 in e.DataEntitys)
     {
         this.TryForbidReportDistribute(obj2);
     }
 }
Exemplo n.º 2
0
 public override void AfterExecuteOperationTransaction(Kingdee.BOS.Core.DynamicForm.PlugIn.Args.AfterExecuteOperationTransaction e)
 {
     base.AfterExecuteOperationTransaction(e);
     foreach (DynamicObject obj2 in e.DataEntitys)
     {
         this.TryDeleteReportScheme(obj2);
     }
     this.DelteRptDimDetail(e.DataEntitys);
 }
Exemplo n.º 3
0
        public override void AfterExecuteOperationTransaction(Kingdee.BOS.Core.DynamicForm.PlugIn.Args.AfterExecuteOperationTransaction e)
        {
            base.AfterExecuteOperationTransaction(e);
            long rptSchemeId = Convert.ToInt64(e.DataEntitys[0]["Id"]);

            if (Convert.ToInt64(e.DataEntitys[0]["VersionGroupId"]) == 0L)
            {
                IReportSchemeService service = ServiceFactory.GetService <IReportSchemeService>(base.Context);
                try
                {
                    service.SetVersionGroupId(base.Context, rptSchemeId);
                }
                finally
                {
                    ServiceFactory.CloseService(service);
                }
            }
        }