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. SCAU大二上Java综合性实验

    一.题目要求 实验内容: 1. 已经提供的原始数据:班级成绩单文件 该文件为文本文件,存储某个班的所有学生某门课程的成绩. 例如:2012级计算机科学与技术8班-面向对象程序设计.txt 文件中每行存 ...

  2. OpenCV2马拉松第9圈——再谈对照度(对照度拉伸,直方图均衡化)

    收入囊中 lookup table 对照度拉伸 直方图均衡化 葵花宝典 lookup table是什么东西呢? 举个样例,假设你想把图像颠倒一下,f[i] = 255-f[i],你会怎么做? for( ...

  3. Python3学习笔记(MOOC)

    文本进度条实例 #!/usr/bin/env python3 import time #for i in range(101): # print ("\r{:3.0f}%".for ...

  4. RabbitMQ 在 Win10 环境下的安装与配置

    1 RabbitMQ 环境配置 1.1 ErLang 下载安装     RabbitMQ 需要 ErLang 环境支持:首先下载 ErLang 并安装.     建议使用新版本,版本过低存在与 Rab ...

  5. python 环境安装说明

    一.        安装 python-3.6.5-amd64.exe   1. 安装完成后,设置系统环境变量 Path E:\Programs\Python\Python36; E:\Program ...

  6. 【leetcode】1006. Clumsy Factorial

    题目如下: Normally, the factorial of a positive integer n is the product of all positive integers less t ...

  7. 【leetcode】976. Largest Perimeter Triangle

    题目如下: Given an array A of positive lengths, return the largest perimeter of a triangle with non-zero ...

  8. javaweb判断当前请求是否为移动设备访问的方法

    由于移动端和pc端还是稍微有些区别的,我觉得最好是在一个地儿统一判断,而且不要改动原先的代码,这样可以从一定程度上减少bug的数量.我的想法是首先应该判断当前请求是否为移动端,然后设一个标识到sess ...

  9. Maven进行自动构建

    一个很常见的错误就是路径问题,要把jdk放到java工程的路径里,之前一直默认是jre https://blog.csdn.net/lslk9898/article/details/73836745  ...

  10. angularjs的select使用2

    https://cnodejs.org/topic/549007b44823a0234c9e1716 myAppModule.controller('FrmController', ['$scope' ...