上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 34 下一页
摘要: var bussnessInfo = Kingdee.BOS.ServiceHelper.MetaDataServiceHelper.GetFormMetaData(this.Context, "FormId").BusinessInfo;var billDynamicObjectType = bu... 阅读全文
posted @ 2014-09-04 18:59 范永强 阅读(375) 评论(0) 推荐(0) 编辑
摘要: private void SatFieldMustInput (string strKey,bool mustInput) { this.View.BillBusinessInfo.GetField(strKey).MustInput = Convert.ToIn... 阅读全文
posted @ 2014-09-04 18:26 范永强 阅读(273) 评论(0) 推荐(0) 编辑
摘要: //设置单据格背景色,第三个参数指行数this.View.GetControl("FEntity").SetBackcolor("FEntriyText1", "#FFFFFF00", 1);//设置某列为Linkbutton样式展示。前提是必须是不可用的列this.View.GetControl(... 阅读全文
posted @ 2014-09-04 18:20 范永强 阅读(809) 评论(0) 推荐(0) 编辑
摘要: IMetaDataService metadataService = ServiceHelper.GetService();// 加载元数据 FormMetadata metadata = metadataService.Load(ctx, "BOS_FileServerFil... 阅读全文
posted @ 2014-08-27 11:34 范永强 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 目前K/3 CLoud中对于多选基础资料暂不提供列表查询和显示功能。因此二次开发可以考虑自己来实现,这里给大家一个参考示例,抛砖引玉,希望对大家有所帮助。1、首先对于需要列表查询多选基础资料的单据,针对多选基础资料字段,增加一个相对应的辅助字段(多语言字段元素)2、编写相应的插件,以下示例提供pyt... 阅读全文
posted @ 2014-08-27 11:32 范永强 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 大家可以在表单插件EntityBlockPasting事件中自己处理,然后将cancel设置为true。以下代码可以参考一下,插件代码中需要将其中一些属性或方法修改,例如this.BusinessInfo替换为this.View.BusinessInfo,UpdateValue替换为this.Vie... 阅读全文
posted @ 2014-08-27 11:29 范永强 阅读(228) 评论(0) 推荐(0) 编辑
摘要: // 以下代码示例演示过滤条件中增加一个自定义过滤变量,例如预算部门// 另外还需要在t_mdl_filtercondition,t_mdl_filtercondition_l中增加相应记录,例如/*--插入配置过滤条件DELETE FROM T_MDL_FILTERCONDITION WHERE ... 阅读全文
posted @ 2014-08-27 11:29 范永强 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 在单据插件的绑定事件中参考以下代码实现加载附件列表Form frm = this.View.BillBusinessInfo.GetForm(); //获取单据编号 string billNo = ""; Field billNoFi... 阅读全文
posted @ 2014-08-27 11:27 范永强 阅读(336) 评论(0) 推荐(0) 编辑
摘要: BillShowParameter para = new BillShowParameter();para.OpenStyle.ShowType = ShowType.Modal;//模态显示para.FormId = "单据标识";para.Status = OperationStatus.EDI... 阅读全文
posted @ 2014-08-27 11:26 范永强 阅读(255) 评论(0) 推荐(0) 编辑
摘要: public class DemoSysReport : SysReportBaseService{public override void Initialize(){// 支持分组汇总this.ReportProperty.IsGroupSummary = true;//this.ReportPr... 阅读全文
posted @ 2014-08-27 11:24 范永强 阅读(670) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 34 下一页