|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
125. 在TC11.x下如何查找特定审批人未完成的执行签发任务/ M- l5 v3 r+ l3 j4 o
工作流附件的存储方式在 TC11.x以及后续版本下发生了变化,如下可以看到已经被声明不3 R! k! H: y$ i0 K3 q
支持.
! d, F7 }5 d1 ?4 N' c% s0 N* Z6 d9 O! e- H6 f: J
签发附件现在是作为关系引用的次对象,EPMTask作为关系引用的主对象。新的查询如+ U/ T) L$ J& z
下:5 Y# R+ u5 X$ u
Object_type is EPMPerformSignoffTask! \2 w- Z4 y0 h
State_value 4 表示未完成的任务
7 ?! v, M& p; I查询脚本如下,可以导入Teamcenter查询构建器1 r1 |; v. r5 r4 m# D! C; d; _5 g- I
<?xml version="1.0" encoding="utf-8"?>( a; w6 R8 U, L5 |
<!-- GENERATED BY: PLM XML SDK 7.0.4.411 -->
% i0 l- M' l' O3 ?. U+ m<plmxml_bus:PLMXMLBusinessTypes
/ J1 O" r' A- d4 m# I8 z5 o; Pxmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"# \: s; T, B a5 Y: j$ H
xmlns:plmxml_bus="http://www.plmxml.org/Schemas/PLMXMLBusinessSchema"# c6 K. K& r0 f$ y' _' ^
language="en-us" time="14:44:55" schemaVersion="6" author="Teamcenter
+ o9 f+ S0 m$ S' XV11000.2.2.20_20160504.00 - demo@IMC--1942934752(-1942934752)" date="2016-12-15"
0 A6 B% E, u2 {8 h; Mlanguages="cs-cz de-de en-us es-es fr-fr it-it ja-jp ko-kr pl-pl pt-br ru-ru zh-cn zh-tw">
5 q1 S0 S/ e L( E7 G t0 A' ] j% {<plmxml_bus:SavedQueryDef id="id1" name="Find unfinished perform signoff task"4 V; S6 G6 v. ^/ Y4 t
nameRef="#id2" queryFlag="0" queryClass="EPMTask">1 [% h6 f# r) J6 @4 {0 e
<ApplicationRef application="Teamcenter" label="BLUhF49HIPhsCA") J \6 Z( ]- v/ W& E) K
version="BLUhF49HIPhsCA"></ApplicationRef>
) n' X {1 h' T/ e" ~4 L<plmxml_bus:QueryClause id="id3" stringValue="SELECT qid FROM EPMTask WHERE
5 R. v6 L2 V. S4 ?" v"ImanRelation<-- {: w9 y; I' X, |- J
primary_object.Signoff:secondary_object.group_member.User:user.user_id" =
/ y P7 e: m+ `! j! G" H- T"${user_id = }" AND "object_type" = "${object_type =
- _; W |! t: l4 L! H1 ZEPMPerformSignoffTask}" AND "state_value" = "${state_value =; `; g0 r! u5 F( T( q3 B
4}""></plmxml_bus:QueryClause></plmxml_bus:SavedQueryDef>9 z% v0 v# A, z
<plmxml_bus:Text id="id2" primary="enus"></6 y: V/ D7 h# |( j: e4 `
plmxml_bus:Text></plmxml_bus:PLMXMLBusinessTypes>& }- J4 P7 u _3 o. K
) ]7 x1 }6 z( x: ?2 L8 \0 V4 R0 J
|
|