Example #1
0
        protected override void afterUpdate()
        {
            //修改关联明细表
            MapDtl dtl = new MapDtl();

            dtl.No = this.No;
            if (dtl.RetrieveFromDBSources() == 1)
            {
                dtl.Name   = this.Name;
                dtl.PTable = this.PTable;
                dtl.DirectUpdate();

                MapData map = new MapData(this.No);
                //避免显示在表单库中
                map.FK_FrmSort  = "";
                map.FK_FormTree = "";
                map.DirectUpdate();
            }
            base.afterUpdate();
        }
Example #2
0
        protected override void afterUpdate()
        {
            //修改关联明细表
            MapDtl dtl = new MapDtl();

            dtl.No = this.No;
            if (dtl.RetrieveFromDBSources() == 1)
            {
                dtl.Name   = this.Name;
                dtl.PTable = this.PTable;
                dtl.DirectUpdate();

                MapData map = new MapData(this.No);
                //避免显示在表单库中
                map.FK_FrmSort  = "";
                map.FK_FormTree = "";
                map.DirectUpdate();
            }

            //调用frmEditAction, 完成其他的操作.
            BP.Sys.CCFormAPI.AfterFrmEditAction(this.No);

            base.afterUpdate();
        }