随笔分类 - PTC FlexPLM
摘要:1.根据款号查询产品public LCSProduct GetProductByName(String SKC) throws WTException { //声明查询 PreparedQueryStatement statement = new PreparedQueryStatement(); statement.appendFromTable("LCSPRODUCT"); //获取FlexType类型,也就是系列 String flextypePath = "Product"; FlexType fle...
阅读全文
摘要: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...
阅读全文
摘要:<%-- Copyright (c) 2006 PTC FlexPLM All Rights Reserved --%><%-- /////////////////////////////////////////////////////////////////////////////////////--%><%-- //////////////////////////////// JSP HEADERS ////////////////////////////////////////--%><%-- //////////////////////////
阅读全文
摘要:1.根据Key或者中文名称,获取单一列表的对应中文名称或Key<%! public String GetValueByKey(String Key){ try{ //准备关键字和值的转换 FlexTypeAttribute LoadAtt=FlexTypeCache.getFlexTypeFromPath("Document\\Images Page").getAttribute("pageType"); Collection pathData = LoadAtt.getAttValueList().getD...
阅读全文