diff --git a/添加检移票/modify.mql b/添加检移票/modify.mql index fe45e88..a550a15 100644 --- a/添加检移票/modify.mql +++ b/添加检移票/modify.mql @@ -7,21 +7,6 @@ add attribute 'ProcessNumber' property version value 1.0; mod prog eServiceSchemaVariableMapping.tcl add property attribute_ProcessNumber to att 'ProcessNumber'; -## 部门 -add attribute 'Department' - type string - range = Logistics - range = FrontSection - range = Quality - range = Process - range = Implementation - range = Development - property application value Framework - property installer value sx - property 'original name' value 'Department' - property version value 1.0 -; -mod prog eServiceSchemaVariableMapping.tcl add property attribute_Department to att 'Department'; ## 加工工艺 add attribute 'ProcessingTechnology' @@ -73,95 +58,9 @@ add attribute 'Order' ; mod prog eServiceSchemaVariableMapping.tcl add property attribute_Order to att 'Order'; -## 检移票类型 -add type 'CheckPOC' - abstract false - attribute Department - attribute ProcessingTechnology - attribute DrawingNo - attribute ProcessParameters - attribute ProcessRecordConfirmation - property application value Framework - property installer value sx - property 'original name' value 'CheckPOC' - property 'installed date' value '08-10-2016' - property version value 1.0; -mod prog eServiceSchemaVariableMapping.tcl add property type_CheckPOC to type 'CheckPOC'; -## 关联关系 Part 与 检移票 -add relationship 'POCToProcess' - description 'POCToProcess' - attribute Order - from meaning '' - from cardinality many - from revision replicate - from clone replicate - from type 'Part' - to meaning '' - to cardinality many - to revision none - to clone none - to type 'CheckPOC' - to propagateconnection preventduplicates - property application value Framework - property 'installed date' value '08/10/2016 12:00:00 PM' - property installer value sx - property 'original name' value 'POCToProcess' - property version value V6R2015x; -mod prog eServiceSchemaVariableMapping.tcl add property relationship_POCToProcess to relationship 'POCToProcess'; -## POC的table -add table 'TBLPoc' system description 'TBLPoc table' - column - label 'emxSxCentral.Label.ProcessNumber' - name 'ProcessNumber' - setting 'Width' '5' - setting 'Column Type' 'program' - setting 'function' 'getProcessNumber' - setting 'program' 'SxChange' - setting 'Registered Suite' 'SxCentral' - column - label 'emxSxCentral.Label.Department' businessobject '$' - name 'Department' - setting 'Editable' 'false' - setting 'Input Type' 'textbox' - setting 'Field Type' 'attribute' - setting 'Registered Suite' 'SxCentral' - column - label 'emxSxCentral.Label.ProcessingTechnology' businessobject '$' - name 'ProcessingTechnology' - setting 'Editable' 'true' - setting 'Input Type' 'textbox' - setting 'Field Type' 'attribute' - setting 'Registered Suite' 'SxCentral' - column - label 'emxSxCentral.Label.DrawingNo' businessobject '$' - name 'DrawingNo' - setting 'Editable' 'true' - setting 'Input Type' 'textbox' - setting 'Field Type' 'attribute' - setting 'Registered Suite' 'SxCentral' - column - label 'emxSxCentral.Label.ProcessParameters' businessobject '$' - name 'ProcessParameters' - setting 'Editable' 'true' - setting 'Input Type' 'textbox' - setting 'Field Type' 'attribute' - setting 'Registered Suite' 'SxCentral' - column - label 'emxSxCentral.Label.ProcessRecordConfirmation' businessobject '$' - name 'ProcessRecordConfirmation' - setting 'Editable' 'true' - setting 'Input Type' 'textbox' - setting 'Field Type' 'attribute' - setting 'Registered Suite' 'SxCentral' - property application value Framework - property 'installed date' value '08/20/2016 12:00:00 PM' - property installer value ENOVIAEngineering - property 'original name' value TBLPoc - property version value V6R2015x; -mod prog eServiceSchemaVariableMapping.tcl add property table_TBLPoc to table TBLPoc system; ## 检移票按钮 add command 'CheckPOC'