add a characteristic in enovia PLM
Problem: add a new Char. name D_COI6 that the description is Injected coloration #7 (COI6) in the D_BUSINESS class in PLM and SAP.
Step1: to attain attribute name on business model.
The result of following command tell you all attributes of Color
Because some of attributes were not selected to be displayed on the Color Characteristic Tab page, then we can infer what name we should assign to new attribute.
New attribute name: ‘LUX_COI6’
Step 2: create a new attribute named “LUX_COI6” in Business Model
It is better for assigning value to fields to compare with another similar attribute.
Step 3: add some properties to new attribute.
Compare the properties between LUX_COI5 and LUX_COI6,
There are so many properties that LUX_COI6 doesn’t include.
So that we need to add the properties to the new attribute in my own.
So execute the following command to add properties to LUX_COI6
modify attribute LUX_COI6
property COAF
property ColorRicambi
property FindNumber value 2878
property ItemName value D_COI6
property ItemType value Caratteristica
property MMET
property QueryObject value ColorMaterialAndCycle
property RangeMethod value Dynamic
property application value LUXOTTICA_F1
property 'installed date' value 28-05-2008
property installer value CdmIsigraf
property 'original name' value LUX_COI3
property version value 1.0;
FindNumber and ItemName are vital, other fields are not very helpful.
FindNumber will be showed as F/N at front-end page.
Step4: create a new interface named “LUX_COI6” in business model
Of course, comparing with similar interface will help you.
Add new attribute named “LUX_COI6”to the new interface
Add ‘LUX_ModelColor’ to the Allowed Types List of the interface.
Step5: create a new class Configuration Item
Then, how to define these field?
Look for other Configuration Items for reference.
- Analyze the page URL
2. To see the Inquery with Business Model
It says what mql command the Inquery employs.
The mql command we can know is :
temp query bus LUX_ClassConfigurationItem * * select id dump |
the command will query all objects of LUX_ClassConfigurationItem,
the amount of the result is too large, we need to filter useless objects out in accordance with our real situation.
So ,please use the following handled command:
Print the detail of one of objects
Then, as you can see from the above result , please refer to the result to set up a new Class Configuration Item.
Attention please: Admin name is the attribute name which you have already created in Business Model,
And the LUX_FindNumber is the same as FindNumber which is the property of attribute LUX_COI6 that you created before.
Then ,the new Configuration Item has been created .
We can query the object in mql.
Step6: modify relationships of the new characteristic.
As you can see from the following result, the relationships of COI6 and COI5 are absolutely different.
Why? I don’t know
Delete all relationships of COI6,
Execute the sub command in three times
disconnect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ML_LUX_Description
from LUX_ClassConfigurationItemCharacteristic COI6 1
Add new relationships to COI6 in compliance with COI5
Execute the following command respectively
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Perno 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Bussola 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Snodo 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Frontalino 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Montatura Frontale 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster BUSINESS 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Dado 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Gancino Porta Alette 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Rondella 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Barra Frontale 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Asta 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster OCCHIALI 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Guarnizione Abbellitore 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Vite 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Montatura 3 Pezzi 1;
connect bus LUX_ClassConfigurationItemCharacteristic COI6 1 relationship LUX_ClassItem from LUX_ClassMaster Frame Set 1;
Step 7 :modify LuxotticaStringResource.properties
vim /opt/plm/webapp/internal/WEB-INF/classes/LuxotticaStringResource.properties
vim /opt/plm/webapp/3dspace/WEB-INF/classes/LuxotticaStringResource.properties
Then
Restart tomcat
Step7: add a characteristic to Color
now , it is the time to add a characteristic to Color
Unfortunately, we can’t find out COI6 ,why?
Because the vault of object of LUX_ClassConfigurationItem isn’t ‘LUX_MasterData1’
And the owner of LUX_ClassConfigurationItem isn’t creator
Execute the command below to modify the vault.
modify bus LUX_ClassConfigurationItemCharacteristic COI6 1 vault LUX_MasterData1
Then reloadcache, redirect to the page again.
add a characteristic in enovia PLM的更多相关文章
- enovia PLM: add characteristic to both prototype and product
Issue: add new mandatory attribute named LUX_HazardousMaterial to protoype and product, and export t ...
- add new color number to the color drop down in enovia PLM
Ticket description:A55482L Ticket attachment: Open the attached page 2. Open the internationalizing ...
- enovia PLM : add new value to SPEO
Solution: Modify LUX_SPEO attribute in PLM Modify D_SPEO attribute in SAP , Login sap system F3 Tcod ...
- enovia plm export to sap
UPC creation UPC 结构 PLM 使用的UPC 是 14个数字组成的,兼容. 前两位为 0,后12位为有效数字,在SAP中0会被忽略,符合国际UPC通用 规则, 前一位为0,后13 位为 ...
- add characteristic to color
Problem: add a new Char. name D_COI6 that the description is Injected coloration #7 (COI6) in the D_ ...
- 低功耗蓝牙4.0BLE编程-nrf51822开发(11)-蓝牙串口代码分析
代码实例:点击打开链接 实现的功能是从uart口发送数据至另一个蓝牙串口,或是从蓝牙读取数据通过uart打印出数据. int main(void) { // Initialize leds_init( ...
- form 表单的name
form 中 的name 很重要, 1. 可以用来查找对应的input 2.form 提交之后 会用来作为参数列表的名字 3.enovia plm 中,name 会和 table 的field 进行对 ...
- 批量授一种权限给用户程序 plm enovia
set context user DanielDai;add program LUX_UserAssignment java execute immediate code 'import com.ma ...
- 前端性能优化:Add Expires headers
前端性能优化:Add Expires headers Expires headers 是什么? Expires headers:直接翻译是过期头.Expires headers 告诉浏览器是否应该从服 ...
随机推荐
- 破解Xshell6强制升级
一.背景今天打开xshell时,弹出提示,“要继续使用此程序,您必须应用最新的更新或使用新版本”(如下图) 这是让我强制升级啊,点了确定按钮却提示我已经是最新版了 反正点了半天xshell也没打开.后 ...
- c# SqlBulkCopy实现批量从数据集中把数据导入到数据库中
今天遇到了一个导入类第一次见 SqlBulkCopy 可以实现从一个数据集导入到数据库中的表中 本来想从数据集中一条条遍历insert到库中 有了这个后发现: 只在把表与数据集的列做一下对应关系,再走 ...
- github中fork分支和pullrequest的最佳实践
github中fork分支和pullrequest的最佳实践 */--> code {color: #FF0000} pre.src {background-color: #002b36; co ...
- is, ==, id, encode,
1. is 和 == 的区别 1. id(): 通过id()我们可以查看到⼀个变量表⽰的值在内存中的地址. id(变量) 返回给你这个变量的内存地址 is 比较是的内存地址 == 比较的是值 s ...
- HDU 4652 Dice (概率DP)
版权声明:欢迎关注我的博客,本文为博主[炒饭君]原创文章,未经博主同意不得转载 https://blog.csdn.net/a1061747415/article/details/36685493 D ...
- Mint安装配置Sublime Text3
1.注册码: Sublime Text 3 3126 注册码 2.安装Package Control组件: 按Ctrl+`调出console(注:安装有QQ输入法的这个快捷键会有冲突的,输入法属性设置 ...
- 【sql】牛客网练习题 (共 61 题)
[1]查找最晚入职员工的所有信息 CREATE TABLE `employees` ( `emp_no` ) NOT NULL, `birth_date` date NOT NULL, `first_ ...
- HIVE了解及SQL基础命令
hive(数据仓库工具) Hive是一个数据仓库基础工具在Hadoop中用来处理结构化数据.它架构在Hadoop之上,总归为大数据,并使得查询和分析方便.并提供简单的sql查询功能,可以将sql语句转 ...
- INNODB存储引擎之缓冲池
以下的资料总结自:官方文档和<MySQL技术内幕-INNODB存储引擎>一书. 对INNODB存储引擎缓冲池的那一段描述来自博文:http://www.ywnds.com/?p=9886说 ...
- Android 读取<meta-data>元素的数据
在AndroidManifest.xml中,<meta-data>元素可以作为子元素,被包含在<activity>.<application> .<servi ...