随笔分类 -  PTC FlexPLM

摘要:1.根据款号查询产品public LCSProduct GetProductByName(String SKC) throws WTException { //声明查询 PreparedQueryStatement statement = new PreparedQueryStatement(); statement.appendFromTable("LCSPRODUCT"); //获取FlexType类型,也就是系列 String flextypePath = "Product"; FlexType fle... 阅读全文
posted @ 2013-06-18 22:07 jackchain 阅读(1002) 评论(0) 推荐(0) 编辑
摘要:1.根据当前登录用户和工作流名称定位workitem2.获取WfAssignedActivity3.获取activity的ProcessData4.取变量值或者赋值5.保存变量新值代码如下://工作流全局变量赋值 wt.fc.ReferenceFactory rf = new wt.fc.ReferenceFactory(); wt.workflow.work.WorkItem workitem =null; Collection collection = null; workitem=(wt.workflow.work.WorkItem... 阅读全文
posted @ 2013-06-05 16:49 jackchain 阅读(452) 评论(0) 推荐(0) 编辑
摘要:<%-- Copyright (c) 2006 PTC FlexPLM All Rights Reserved --%><%-- /////////////////////////////////////////////////////////////////////////////////////--%><%-- //////////////////////////////// JSP HEADERS ////////////////////////////////////////--%><%-- ////////////////////////// 阅读全文
posted @ 2012-11-19 17:11 jackchain 阅读(760) 评论(0) 推荐(0) 编辑
摘要:1.根据Key或者中文名称,获取单一列表的对应中文名称或Key<%! public String GetValueByKey(String Key){ try{ //准备关键字和值的转换 FlexTypeAttribute LoadAtt=FlexTypeCache.getFlexTypeFromPath("Document\\Images Page").getAttribute("pageType"); Collection pathData = LoadAtt.getAttValueList().getD... 阅读全文
posted @ 2012-09-06 17:04 jackchain 阅读(666) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示