Additional Capabilities > Windchill Supplier Management > Windchill Supplier Management Administration > Navigating Windchill Supplier Management > Suppliers > Modifying the Life Cycle Template for a Supplier
  
Modifying the Life Cycle Template for a Supplier
If you want to use a different life cycle template for a supplier than the one available by default, you must create Life Cycle Object Initialization Rules for a supplier in your organization and assign a different life cycle template. When you create a new supplier, the new supplier uses the new life cycle template.
To change the supplier’s life cycle template and states:
1. Select in the Navigator, and then go to Utilities > Object Initialization Rules Administration.
2. Select Manufacturer or Vendor from the Object Initialization Rules table and download the Life Cycle Object Initialization Rules.
3. Edit the file to change objectType to a fully qualified class name for manufacturer or vendor.
4. Change <Arg> to the life cycle template name to be used for the supplier, and save it to an XML file.
5. Create a new Object Initialization Rule with the previously modified file.
Suppose “Supplier LifeCycle" is the life cycle template you have created and would like to use. The sample Object Initialization Rule for manufacturer and vendor would be as follows:
Sample Object Initialization Rule files for manufacturer are shown next:
<AttributeValuesobjType="com.ptc.windchill.suma.supplier.Manufacturer">
<!-- set the lifecycle -->
<AttrValue id="lifeCycle.id" algorithm="com.ptc.core.
foundation.lifecycle.server.impl.LifeCycleTemplateAttributeAlgorithm">
<Arg>
<!-- Translation of the word "Basic" must be the same as the
translation done in commonLifeCycles.xml -->
<?loc-begin key="BASIC_LIFECYCLE_NAME" maxlen="30"?>Supplier LifeCycle<?loc-end?>
</Arg>
</AttrValue>
</AttributeValues>
Sample Object Initialization Rule files for vendor are shown next:
<AttributeValuesobjType="com.ptc.windchill.suma.supplier.Vendor">
<!-- set the lifecycle -->
<AttrValue id="lifeCycle.id" algorithm="com.ptc.core.foundation.
lifecycle.server.impl.LifeCycleTemplateAttributeAlgorithm">
<Arg>
<!-- Translation of the word "Basic" must be the same as
the translation done in commonLifeCycles.xml -->
<?loc-begin key="BASIC_LIFECYCLE_NAME" maxlen="30"?>Supplier LifeCycle<?loc-end?>
</Arg>
</AttrValue>
</AttributeValues>