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(果然是满满的英译中的既视感),是把接受多个参数的函数变换成接受一个单一参 ...
随机推荐
- 空类的sizeof,有一个虚函数的类的sizeof
今天面试,忽然被问到这个题目,查了一下果然有欸. #include <iostream> using namespace std; class A { }; class B { publi ...
- 第一节 初识RabbitMQ
原文:第一节 初识RabbitMQ 版权声明:未经本人同意,不得转载该文章,谢谢 https://blog.csdn.net/phocus1/article/details/87280120 1.什么 ...
- SAP Material Type on Classification Tree(ClassMaster management)
SAP Material Type on Classification Tree(ClassMaster management) 1. Classification Tree 是 luxottica ...
- js常用扩展方法
在日常的开发过程中,经常会碰到javaScript原生对象方法不够用的情况,所以经常会对javaScript原生方法进行扩展.下面就是在实际工作时,经常使用的一些方法,做一下记录,有需要的可以拿去. ...
- c# 编程--数组例题
1.输入十个学生的成绩,找出最高分 #region 输入十个学生的成绩,找出最高分 //输入十个学生的成绩,找出最高分 ]; ; i < ; i++) { ; Console.Write(&qu ...
- 2018-2-13-win10-uwp-绑定密码
title author date CreateTime categories win10 uwp 绑定密码 lindexi 2018-2-13 17:23:3 +0800 2018-2-13 17: ...
- Linux 下安装sql server 时 2G内存限制的最新(2019-08-15) 解决方案
关于 sqlserver 在linux下安装时有最小内存限制的问题,网上有很多类似的说明,那些操作都是正确的,如果不成功可能 “姿势”不对. 需要注意的是:不能使用最新版本!!! 不能在线下载!!! ...
- 入门GoldenGate总结
前言 GoldenGate 是oracle官方的一款数据同步产品,类似于msyql的主从复制,配置也稍稍复杂,其中概念一定要搞清楚,不然会被坑的爬不起. 坑 1.数据在线同步(不是指数据初始化),只能 ...
- 【软工项目Beta阶段】第10周Scrum会议博客
第十周会议记录 小组GitHub项目地址https://github.com/ouc-softwareclass/OUC-Market 小组Issue地址https://github.com/ouc- ...
- 探索Redis设计与实现13:Redis集群机制及一个Redis架构演进实例
本文转自互联网 本系列文章将整理到我在GitHub上的<Java面试指南>仓库,更多精彩内容请到我的仓库里查看 https://github.com/h2pl/Java-Tutorial ...