Additional Capabilities > Service Information Management > About Service Product Hierarchy > Updating Custom Product Hierarchy Objects to Out of the Box Service Product Hierarchy Types
Updating Custom Product Hierarchy Objects to Out of the Box Service Product Hierarchy Types
This topic contains information to update the object types of service product hierarchy from custom to out of the box as provided by PTC.
Perform the following steps to update the custom types:
1. Click class files to download the class files and copy them to windchill_dir/codebase.
2. Open the sis.properties.xconf properties configuration file for Windchill Service Information Manager located at: Windchill-path\codebase\com\ptc\arbortext\windchill\siscore\xconf\sis.properties.xconf.
3. Remove the following properties containing references of custom product hierarchy types:
com.ptc.arbortext.sis.typename.productHierarchyNode
com.ptc.arbortext.sis.typename.productHierarchyRoot
com.ptc.arbortext.sis.typename.productInstanceNode
4. Open Windchill shell and run the following command to apply the changes: xconfmanager -pF.
5. In Windchill shell, run the command: windchill ChangeTypeSql <Internal Name of source type> <Internal Name of target type>.
For example, to update custom objects of type product instance com.example.PHInstance to com.ptc.PHInstance, enter the command: windchill ChangeTypeSql com.example.PHInstance com.ptc.PHInstance.
* 
Run this command for each custom type of product hierarchy that you want to update.
6. Each of the above commands generates an SQL command for each type of product hierarchy. Copy the SQL commands from the Windchill shell and run them in the Windchill database. This updates the custom objects in the database to out of the box types.
Isto foi útil?