获取dep中新增的实体对象
通过dep的方式创建对象
var entityPK = ""com.kingdee.eas.cfoperate.app.BillReference""; var objectValue = new com.kingdee.eas.ep.CoreBillBaseCustomInfo(); var entityBosType = ""0C24DE85""; //实体的bosType,可通过[元数据检查]获得 objectValue.setBOSType(new com.kingdee.bos.util.BOSObjectType(entityBosType));
通过实体名称创建对象
var entityPK = ""com.kingdee.eas.cfoperate.app.BillReference""; objectValue.setPK(new com.kingdee.bos.metadata.MetaDataPK(entityPK)); var bizInterface = com.kingdee.bos.BOSObjectFactory.createRemoteCommonBOSObject(new com.kingdee.bos.metadata.MetaDataPK(entityPK)); var coreBillBaseCustomEntryInfo=new com.kingdee.eas.ep.CoreBillBaseCustomEntryInfo(); coreBillBaseCustomEntryInfo.setBOSType(new com.kingdee.bos.util.BOSObjectType(""A52A84ED"")); coreBillBaseCustomEntryInfo.setPK(new com.kingdee.bos.metadata.MetaDataPK(""com.kingdee.eas.cfoperate.app.BillReferenceEntry""));//""A52A84ED""
获取dep中新建实体的Factory
var projectObj=com.kingdee.eas.hr.base.util.SHRDataTypeUtils.createInfo(null, ""com.kingdee.eas.cfoperate.app.BussinessOpportunity"",null); // com.kingdee.eas.cfoperate.app.ProjectApprovalBill var custom=com.kingdee.eas.ep.DataBaseCustomFactory.getRemoteInstance(); custom.setType(projectObj.getBOSType()); var projectCollection = custom.getDataBaseCollection(EntityViewInfo);
获取dep中新增的实体对象
通过dep的方式创建对象var entityPK = ""com.kingdee.eas.cfoperate.app.BillReference"";var objectValue = new com.kingdee.eas.ep.CoreB...
点击下载文档
上一篇:苍穹与s-HR集成下一篇:后台代码获取枚举列表
本文2024-09-16 23:48:28发表“s-hr cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-shr-56929.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章