金蝶云星空使用插件打开单据列表
表单插件-按钮点击事件
ListShowParameter showParam = new ListShowParameter(); showParam.IsLookUp = false;//是否查找数据 showParam.OpenStyle.ShowType = ShowType.Modal;//展示风格:模态显示 showParam.FormId = FormIdConst.STK_MISCELLANEOUS;//单据标识 showParam.Width = 1000; showParam.Height = 600; showParam.IsShowQuickFilter = false;//是否显示快捷过滤界面=否 ListRegularFilterParameter regularFilterPara = new ListRegularFilterParameter();//列表固定过滤参数 string filter = string.Format(" F_XHWT_AfterOrderNo='{0}' and FCANCELSTATUS='A'", afterNo);//下游单据过滤条件 regularFilterPara.Filter = filter; showParam.ListFilterParameter = regularFilterPara; this.View.ShowForm(showParam);