MQL命令
MQL命令
/*
add bus type name revision policy policyName valut "eService Production"
attributeName attributeValue attributeName attributeValue 可跟 N 多属性;
*/
query connection type "ENV CN Affected Item" select to.name from.name 根据关系类型找
对象
配置定时任务
schedul Task 目录 -> webapps ->enovia->WEB-INF->web.xml
配置定时任务日志
schedul Task 目录 -> webapps ->enovia->WEB-INF->class->log4j.properties
打印输出信息
print menu "名称";PMCMyDesk
top.refreshTablePage(); 删除后刷新的 js 代码
demote 降级 promote 升级
35 13
localStringList.add("torel.to.id"); to 端对象是一个关系获取关系 id
window.top.location.href = window.top.location.href;
window.top.opener.location.href = window.top.opener.location.href;
window.top.opener.opener.location.href = window.top.opener.opener.location.href;
mod policy "Product" add state "Complete" before Obsolete version false promote
false checkouthistory true minorrevision true majorrevision true published false
notenforcereserveaccess; //修改生命周期位置
mod policy 'Product' remove state Complete;
https://plm-wt-uat.envisioncn.com/federated/search?query=MMO* //federated 搜索
*/1 * * * *
/data/DassaultSystemes/R2021x/3DSpace/linux_a64/code/command/FullTextSearch_partial
_indexation.sh > /dev/null 2>&1 //设置定时任务索引
eval expr "COUNT true" on temp query bus Part * * where ' current == Release'; 按类
型查询数量
temp query bus Products * Golden select from[ENV PRODUCT MfgPolicy].to.name dump |;
0 1 * * * /app/DassaultSystemes/cronScripts/AutoRefreshShippmentStatus.sh >
/dev/null 2>&1 //sit
0 1 * * * /app/DassaultSystemes/cronScripts/AutoRefreshShippmentStatus.sh >
/dev/null 2>&1 //prd
exec prog LSNotificationRequest -method processNotificationRequest Daily
//给属性建数据库索引
add index "ENVTopPartID" description "This indexes the ENV TopPart ID Attribute"
attribute "ENV TopPart ID";
创建属性 index
enable index "ENVTopPartID";这是启用
eval expr "COUNT TRUE" on temp query bus 'LS Notification Request' * * where
"current == Create && attribute[Notification Type] =='Email'"
查找总数量
eval expr "COUNT TRUE" on temp query bus 'ENVSPLItem' * * where
"owner=='xiaoxia.qiu'"
set searchindexcustom