enovia PLM: add characteristic to both prototype and product
Issue: add new mandatory attribute named LUX_HazardousMaterial to protoype and product, and export the attribute to sap as D_HAZARDOUSMATERIAL
- add attribute mql
add attribute LUX_HazardousMaterial type string
default "?"
range = "Magnete"
range = "Battery"
range = "NotApplicable"
range = "?"
;
modify attribute LUX_HazardousMaterial
add property ItemName value D_HAZARDOUSMATERIAL
add property ItemType value Caratteristica
;
- because prototype type has no interfaces for the intention which uses interface for new attribute addition. so ,then, direct insertion of attribute into prototype is the only option.
Mql
modify type LUX_SPRT_Prototype add attribute LUX_HazardousMaterial;
- then we should display the new attribute in form page LUX_SPRT_PrototypInfoBase.
Mql:
modify form LUX_SPRT_PrototypeInfoBase
field name LUX_HazardousMaterial
select attribute[LUX_HazardousMaterial]
label 'Luxottica.Attribute.LUX_HazardousMaterial'
setting Editable true
setting 'Field Type' attribute
setting 'Hide Label' false
setting 'Input Type' textarea
setting 'Registered Suite' Luxottica
setting Required false
order 77
;
Now the new attribute will be display in the front-end page in proper way.
- products have interfaces named LUX_SPD_Model and LUX_SPD_Model_5, we should add new attribute to the first interfaces, since the interface was referenced by all products.
Mql:
modify interface LUX_SPD_Model add attribute LUX_HazardousMaterial;
now the new attribute will be display in LUX_SPD_ModelInfoBase web form page.
- But it can’t be correctly export to sap yet. We need to add ClassConfigurationItemCharacteristic .
Mql
add bus LUX_ClassConfigurationItemCharacteristic HAZARDOUSMATERIAL 1
policy LUX_PolicyClassConfigurationItem
LUX_ItemKind MAN
LUX_FindNumber 0000
LUX_ItemScope M
LUX_RangeMethod STD
LUX_UIPosition 0
LUX_UISectionGroup STD
LUX_ItemAdminName LUX_HazardousMaterial
;
And connect it to corresponding Main Classification.
connect bus LUX_ClassConfigurationItemCharacteristic HAZARDOUSMATERIAL 1
relationship LUX_ClassItem from LUX_ClassMaster OCCHIALI 1
LUX_ItemKind MAN LUX_UIPosition 0 ;
Finally, modify the below properties file , to add the one-to-one relationship configuration item.
\\lwplmfed02\plm\webapp\3dspace\WEB-INF\classes\class_char_plm2sap.properties
All works in plm side finished completely, then add a new characteristic to sap, with ticode ct04

enovia PLM: add characteristic to both prototype and product的更多相关文章
- 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 ...
- Django model :add a non-nullable field 'SKU' to product without a default; we can't do that
You are trying to add a non-nullable field 'SKU' to product without a default; we can't do that (the ...
- 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_ ...
- 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 ...
- add characteristic to color
Problem: add a new Char. name D_COI6 that the description is Injected coloration #7 (COI6) in the D_ ...
- enovia plm export to sap
UPC creation UPC 结构 PLM 使用的UPC 是 14个数字组成的,兼容. 前两位为 0,后12位为有效数字,在SAP中0会被忽略,符合国际UPC通用 规则, 前一位为0,后13 位为 ...
- javascript constrator and prototype
揭开js之constructor属性的神秘面纱 在js里面当new了一个对象时,这中间发生了什么? MDN - new运算符 当代码 new foo(...) 执行时: 一个新对象被创建.它继承自fo ...
- 函数柯里化常见应用---add(1,2) add(1)(2) add(1)(2)(3) add(1,2,3)(4)
这是一道经典的题目,先上代码: 解法1: function add () { var args = Array.prototype.slice.call(arguments); var fn = fu ...
- 柯里化currying + 隐式调用 = 一个有名的add面试题
柯里化 =================================== 维基百科解释: 柯里化,英语:Currying(果然是满满的英译中的既视感),是把接受多个参数的函数变换成接受一个单一参 ...
随机推荐
- form 表单的name
form 中 的name 很重要, 1. 可以用来查找对应的input 2.form 提交之后 会用来作为参数列表的名字 3.enovia plm 中,name 会和 table 的field 进行对 ...
- WPF可视对象变换(RenderTransform)-----RotateTransform、TranslateTransform、ScaleTransform
前言:对于可是元素,我们常见有三种变化,旋转.平移.面积 一. 旋转(RotateTransform) <RotateTransform CenterX="></Rota ...
- Tensorflow读取大数据集的方法,tf.train.string_input_producer()和tf.train.slice_input_producer()
1. https://blog.csdn.net/qq_41427568/article/details/85801579
- Razor 保存动态表格
本文转载自 ASP.NET MVC数组模型绑定 ,https://www.cnblogs.com/choon/p/5429065.html 内容根据评论内容中的方式有所调整 在ASP.NET MVC ...
- EnumPrinters
https://blog.csdn.net/jilong17/article/details/6663734 已解决.开始hook的spoolss.dll里面的EnumPrinterW函数,应该hoo ...
- 转载关于struts命名空间的一则报警
今天花了点时间把struts2警告事件彻底的测试了一边,终于有点眉目了.希望能给其他人带来一点帮助.文章属于原创.并不需要转载的时候注明出处,而是希望转载的朋友一定要看明白本文内容再转载,因为我你都清 ...
- 06.yield
Thread.yield()方法的作用:暂停当前正在执行的线程,并执行其他线程.(可能没有效果) yield()让当前正在运行的线程回到可运行状态,以允许具有相同优先级的其他线程获得运行的机会.因此, ...
- java基础学习笔记三(多态)
多态? 多态是同一个行为具有多个不同表现形式或形态的能力. 存在的必要条件 继承 重写 父类引用指向子类对象 比如: Parent p = new Child(); 当使用多态方式调用方法时,首先检查 ...
- <自动化测试>之<unittest框架使用1>
要说单元测试和UI自动化之间的是什么样的一个关系,说说我个人的一些心得体会吧,我并没有太多的这方面经验,由于工作本身就用的少,还有就是功能测试点点对于我这种比较懒惰的人来说,比单元测试复杂...思考单 ...
- 使用ui给定的字体,通过css引入字体库
@font-face { font-family: 'LCDMonoNormal'; src: url('../../assets/fonts/LCDM2N__.eot'); src: url('.. ...