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(果然是满满的英译中的既视感),是把接受多个参数的函数变换成接受一个单一参 ...
随机推荐
- python第三方库安装失败处理方法
各位道友,是不是在使用pip 命令安装第三方库遇到了以下情形呢? 这种情况可真让人头疼啊..经过几番周折,终于找到了认为最有效的解决方法 首先 先把要安装的包下载下来,不管用什么方式 在这里我用的迅雷 ...
- c#各类DI容器
IOC控制反转:说的是创建对象实例的控制权从代码控制剥离到IOC容器控制,实际就是你在xml文件控制,侧重于原理. DI依赖注入:说的是创建对象实例时,为这个对象注入属性值或其它对象实例,侧重于实现. ...
- UILabel颜色逐渐变化
@interface UIViewController () @property (weak, nonatomic) IBOutlet UIView *backView; //空间是用storyBoa ...
- Caused by: java.lang.NoClassDefFoundError: javax/validation/ParameterNameProvider
问题现象:今天部署代码的时候发现,在beta环境可以正常部署,但是到了test环境就一直不成功,我以为是环境问题,就重新部署,但是没效,看了看日志发现问题是:Caused by: java.lang. ...
- js error监控
window.onerror = function(message, source, lineno, colno, error) { ... } 功能参数: message:错误消息(字符串).eve ...
- github gist 查看html
gist GitHub Gist 指南 https://blog.csdn.net/yz18931904/article/details/80482166 通过修改hosts解决gist.github ...
- Tomcat6 只允许指定域名访问,禁用IP地址访问,防止恶意解析
运维网监控突然同事反应,在百度上搜索其他域名,竟然打开了和我们P2P一模一样的网站,我第一个反应是源代码被盗用了.后来发现,是域名被恶意解析了,解决方法 1.禁止IP地址访问项目 2.只允许指定的域名 ...
- 【杂】聊聊我的男神:Jordan Peterson
这篇文章我打算聊聊我的男神Jordan Peterson(简称JP).如果还不太了解JP,那么下面两个链接是JP的背景介绍: [文字]Jordan Peterson From Wikipedia, t ...
- 关于scrub的详细分析和建议
https://ceph.com/planet/%E5%85%B3%E4%BA%8Escrub%E7%9A%84%E8%AF%A6%E7%BB%86%E5%88%86%E6%9E%90%E5%92%8 ...
- Mybatis基于XML配置SQL映射器(三)
Mybatis之动态SQL mybatis 的动态sql语句是基于OGNL表达式的.可以方便的在 sql 语句中实现某些逻辑. 总体说来mybatis 动态SQL 语句主要有以下几类: if choo ...