|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
125. 在TC11.x下如何查找特定审批人未完成的执行签发任务3 l& w' ^* ~7 k. d! F; [: ]' M
工作流附件的存储方式在 TC11.x以及后续版本下发生了变化,如下可以看到已经被声明不( ^$ Z* q0 K3 a3 k+ L8 F
支持.
" q% D! [' \' R5 e: h2 G3 I1 R N0 X/ b: ~* x
签发附件现在是作为关系引用的次对象,EPMTask作为关系引用的主对象。新的查询如
! [. a! N( t7 h: Z下:
" J9 Y7 H7 i" Y. _Object_type is EPMPerformSignoffTask
2 D ^8 ~' l1 L$ `: G5 kState_value 4 表示未完成的任务' P/ O6 `2 e! o
查询脚本如下,可以导入Teamcenter查询构建器2 k, t0 p" E+ H0 X; N
<?xml version="1.0" encoding="utf-8"?>; T0 I4 D0 d3 m' J
<!-- GENERATED BY: PLM XML SDK 7.0.4.411 -->
7 b/ Z6 G2 S. N+ E2 Y<plmxml_bus:PLMXMLBusinessTypes
0 c: z; e: M: I8 o1 mxmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"
7 |- w P/ V3 b! K9 k( wxmlns:plmxml_bus="http://www.plmxml.org/Schemas/PLMXMLBusinessSchema"
7 l9 m7 d8 m; Z7 k2 h/ }1 F r/ klanguage="en-us" time="14:44:55" schemaVersion="6" author="Teamcenter& l! Y3 Y' q" t% N# f3 w1 z4 q/ g' y
V11000.2.2.20_20160504.00 - demo@IMC--1942934752(-1942934752)" date="2016-12-15". o+ x6 @; k, `. W: C, y
languages="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">
& k5 r) c; T; K<plmxml_bus:SavedQueryDef id="id1" name="Find unfinished perform signoff task"; D+ r6 D5 U. {. L0 F# R1 r
nameRef="#id2" queryFlag="0" queryClass="EPMTask">- }" K9 P2 R! Z4 W& Y: m
<ApplicationRef application="Teamcenter" label="BLUhF49HIPhsCA"
; B. L e5 C: _- x4 Vversion="BLUhF49HIPhsCA"></ApplicationRef>
# P, O7 `" k! s/ A0 [: ^<plmxml_bus:QueryClause id="id3" stringValue="SELECT qid FROM EPMTask WHERE6 p: M/ C$ I1 R
"ImanRelation<-+ t: [9 R$ j8 f& ~3 E
primary_object.Signoff:secondary_object.group_member.User:user.user_id" =
8 X! B$ D' C3 ^9 s& F7 g) ?2 O"${user_id = }" AND "object_type" = "${object_type =; N3 G4 G# s" B7 X+ d( c$ x* b) V
EPMPerformSignoffTask}" AND "state_value" = "${state_value =9 u+ |- b" G: i! N) z, K
4}""></plmxml_bus:QueryClause></plmxml_bus:SavedQueryDef>
- c+ q7 o: l8 k6 R<plmxml_bus:Text id="id2" primary="enus"></8 a- I5 I# O+ }# M, ]& l
plmxml_bus:Text></plmxml_bus:PLMXMLBusinessTypes>7 a) R" s: I+ J+ P& j# [
1 S: l. c$ T% w( _" B1 j |
|