Specialized Administration > MPMLink Administration > Configuring Mass Update for Object Attributes
Configuring Mass Update for Object Attributes
To control the attributes that can be updated when using the Mass Update Manufacturing Objects action, you need to specify the allowed object types and object attributes in the following file:
WT_HOME/codebase/com/ptc/windchill/mpml/xconfs/mpmlink.wt.properties.xconf
Specify Allowed Types
<Property name="massUpdate.AllowedTypes" default="WCTYPE|internal name of type 1,WCTYPE|internal name of type 2"/>
For example:
<Property name="massUpdate.AllowedTypes" default="WCTYPE|wt.part.WTPart,WCTYPE|wt.doc.WTDocument"/>
* 
You do not need to specify the subtypes of each type as they will be included when you specify the type.
You can similarly configure the following property to specify the object types that cannot be updated when using Mass Update Manufacturing Objects.
<Property name="massUpdate.ExcludedTypes" default="WCTYPE|internal name of type 1,WCTYPE|internal name of type 2"/>
Specify Allowed Attributes
<Property name="massUpdate.Attribute.WCTYPE|internal name of type" default="internal name of attribute 1,internal name of attribute 2"/>
For example:
<Property name="massUpdate.Attribute.WCTYPE|wt.part.WTPart" default="supplier,location,category"/>
* 
Ensure that the type you specify here is included in the massUpdate.AllowedTypes property.
Default Properties
The table displays the properties listed in the mpmlink.wt.properties.xconf file to configure Mass Update Manufacturing Objects for the attributes defined for different object types. You can edit these properties as needed.
Property
Description
<Property name="massUpdate.Attribute.WCTYPE|wt.part.WTPart"
default="partType,source,defaultUnit,ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of parts and the subtypes of parts. This property specifies Assembly Mode, Source, Default Unit, and all IBAs.
<Property name="massUpdate.Attribute.WCTYPE|wt.doc.WTDocument"
default="ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of documents. This property specifies all IBAs.
<Property name="massUpdate.Attribute.WCTYPE|wt.epm.EPMDocument"
default="ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of CAD documents. This property specifies all IBAs.
<Property name=
"massUpdate.Attribute.WCTYPE|com.ptc.windchill.mpml.processplan.MPMProcessPlan"
default="baseUnitOfMeasure,category,lot,ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of process plans. This property specifies Unit, Category, Process Plan Quantity, and all IBAs.
<Property name=
"massUpdate.Attribute.WCTYPE|com.ptc.windchill.mpml.processplan.sequence.MPMSequence"
default="baseUnitOfMeasure,ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of sequences. This property specifies Unit and all IBAs.
<Property name="massUpdate.Attribute.WCTYPE|
com.ptc.windchill.mpml.processplan.operation.MPMOperation"
default="baseUnitOfMeasure,category,erpSubOperationPublished,erpValidationCode,
inspectionInterval,inspectionNeeded,outSourced,ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of operations. This property specifies Unit, Category, ERP Sub Operation Published, ERP Validation Code, Inspection Interval, Inspection Needed, Out Sourced, and all IBAs.
<Property name=
"massUpdate.Attribute.WCTYPE|com.ptc.windchill.mpml.resource.MPMWorkCenter"
default="defaultUnit,ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of work centers. This property specifies Default Unit and all IBAs.
<Property name=
"massUpdate.Attribute.WCTYPE|com.ptc.windchill.mpml.resource.MPMSkill"
default="defaultUnit,ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of skills. This property specifies Default Unit and all IBAs.
<Property name=
"massUpdate.Attribute.WCTYPE|com.ptc.windchill.mpml.resource.MPMTooling"
default="defaultUnit,ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of tools. This property specifies Default Unit and all IBAs.
<Property name=
"massUpdate.Attribute.WCTYPE|com.ptc.windchill.mpml.resource.MPMProcessMaterial"
default="defaultUnit,ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of process materials. This property specifies Default Unit and all IBAs.
<Property name=
"massUpdate.Attribute.WCTYPE|com.ptc.windchill.mpml.mfgprocess.MPMMfgProcess"
default="category,ALL_SOFT_SCHEMA_ATTRIBUTES"/>
Enables updating the specified attributes of manufacturing capabilities. This property specifies Category and all IBAs.
If you want to enable the logs for mass update, perform the following steps:
1. Open the WT_HOME/codebase/WEB-INF/log4jMethodServer.properties file.
2. Add the following lines in the file:
logger.massupdate.name=com.ptc.windchill.massupdate
logger.massupdate.level=INFO
Isto foi útil?