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(果然是满满的英译中的既视感),是把接受多个参数的函数变换成接受一个单一参 ...
随机推荐
- IDisposable实现的方法什么时候被执行的
一,以什么是GC所认为的垃圾? 不再被应用程序的root或者别的对象所引用的对象就是已经死亡的对象,即所谓的垃圾,需要被回收 二,在仓储设计中,我们都知道非托管资源的手动释放,但继承的IDisposa ...
- db2中将表中的某一字段设置为自增长
DB2可以使用generated always as identity 将某一个字段指定为自增长的字段: 这表示id自动是一个自增长的字段,它从1开始增加每次增加1.也可以通过generated 将字 ...
- java.nio.Buffer 中的 flip()方法
在Java NIO编程中,对缓冲区操作常常需要使用 java.nio.Buffer中的 flip()方法. Buffer 中的 flip() 方法涉及到 Buffer 中的capacity.posi ...
- showfont - 展示当前"显示屏-字体 映射"中的所有字符.
总览 showfont 描述 showfont 利用8-bit控制台模式的 Application Charset Map(应用字符集映射) 中一些连续的开关, 以当前字体在屏幕上展示所有的256个或 ...
- go语言从例子开始之Example13.函数多返回值
Go 内建多返回值 支持.这个特性在 Go 语言中经常被用到,例如用来同时返回一个函数的结果和错误信息. Example: package main import "fmt" // ...
- Spring Bean 的生命周期,如何被管理的
1. 实例化一个Bean,也就是我们通常说的new 2. 按照Spring上下文对实例化的Bean进行配置,也就是IOC注入 3. 如果这个Bean实现了BeanNameAware接口,会调用它实现的 ...
- 人生苦短_我用Python_list(列表)_002
# coding=utf-8 # 列表 list 列表函数 # 列表的特性: 可以有任何类型的值 可以更改 # 可以更改.增加.删除.修改 # 增加 append 直接在尾巴增加 list_1 = [ ...
- Anaconda/Conda创建环境时报错的解决方案
按照Conda网站上的提示安装完Conda之后,想要用conda create创建环境,一直报错: ERROR conda.core.link:_execute_actions(337): An er ...
- apue 第19章 伪终端
伪终端是指对于一个应用程序而言,他看上去像一个终端,但事实上它并不是一个真正的终端. 进程打开伪终端设备,然后fork.子进程建立一个新的会话,打开一个相应的伪终端从设备.复制输入.输出和标准错误文件 ...
- 【dart学习】-- Dart之网络请求操作
Flutter的请求网络有多种方式,一种是使用dart io中的HttpClient发起的请求,一种是使用dio库,另一种是使用http库,先学一下get和post,put.delete就等后面用到在 ...