Issue: add new mandatory attribute named LUX_HazardousMaterial to protoype and product, and export the attribute to sap as D_HAZARDOUSMATERIAL

  1. 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

;

  1. 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;

  1. 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.

  1. 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.

  1. 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的更多相关文章

  1. 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 ...

  2. 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 ...

  3. 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_ ...

  4. 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 ...

  5. add characteristic to color

    Problem: add a new Char. name D_COI6 that the description is Injected coloration #7 (COI6) in the D_ ...

  6. enovia plm export to sap

    UPC creation UPC 结构 PLM 使用的UPC 是 14个数字组成的,兼容. 前两位为 0,后12位为有效数字,在SAP中0会被忽略,符合国际UPC通用 规则, 前一位为0,后13 位为 ...

  7. javascript constrator and prototype

    揭开js之constructor属性的神秘面纱 在js里面当new了一个对象时,这中间发生了什么? MDN - new运算符 当代码 new foo(...) 执行时: 一个新对象被创建.它继承自fo ...

  8. 函数柯里化常见应用---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 ...

  9. 柯里化currying + 隐式调用 = 一个有名的add面试题

    柯里化 =================================== 维基百科解释: 柯里化,英语:Currying(果然是满满的英译中的既视感),是把接受多个参数的函数变换成接受一个单一参 ...

随机推荐

  1. 第四节 RabbitMQ在C#端的应用-客户端连接

    原文:第四节 RabbitMQ在C#端的应用-客户端连接 版权声明:未经本人同意,不得转载该文章,谢谢 https://blog.csdn.net/phocus1/article/details/87 ...

  2. Vue-Cli3环境安装

    一,安装node环境 尽量使用高版本的node环境,低版本的node环境会出现各种安装问题 下载地址: http://nodejs.cn/download/ 打开cmd node -v :查看node ...

  3. 如何去掉万恶的wps屏保

    自从换了上个UI的电脑后,就莫名其妙的多了屏保,最开始以为屏蔽掉就好了,发现他依然不屈不挠的有,然后就百度了好多,也没找到...心累 今天终于开窍了,在角落里找打了.话不多说,上图 打开首页,找到应用 ...

  4. 解决mac pro 软件损坏

    1,打开终端 2,输入 sudo spctl --master-disable 3,打开系统偏好设置——>安全与隐私——>勾选任何来源

  5. excel导出简单示例(jxl jar包)

    @param title excel文件名 @param excelTopName 表头中文名字(显示在第一行的中文表头内容) @param header 表头字段属性(根据该属性获取对应的属性值,表 ...

  6. 42th-2

    '''   1, 元祖(2,3)'''def summ2(self, *args):    '''这是一个求一系列数平方和的函数'''    s = 0    for i in args:  #历遍元 ...

  7. 【leetcode】316. Remove Duplicate Letters

    题目如下: Given a string which contains only lowercase letters, remove duplicate letters so that every l ...

  8. UNP学习第八章udp

    一.基本UDP套接口编程 #include <sys/socket.h> ssize_t recvfrom(int sockfd, void *buff, size_t nbytes, i ...

  9. window环境mysql卸载不干净

    停止MySQL服务1添加删除程序中卸载MySQL2到安装目录删除MySQL3删除:C:\Documents and Settings\All Users\Application Data\MySQL ...

  10. 说下vue工程中代理配置proxy

    这个代理配置不需要后台进行ngnix代理跳转了,前端可以做.在vue.config.js文件中进行配置,如下: module.exports = { publicPath: process.env.V ...