Configuring the Numbering of Supplier Parts
Manufacturer and vendor parts are typically numbered by their supplier and therefore, do not require autonumbering.Windchill Supplier Management provides a library template, titled External Part Library, that disables autonumbering for manufacturer or vendor parts by default. This template is loaded as part of the Windchill Supplier Management configuration.
To disable autonumbering in existing templates, you can do the following:
To disable autonumbering in...
Do this
a new organization context.
Specify the rules in the template that you plan to use to create the container.
an existing organization context.
Use the Object Initialization Rules administrator.
Use the following format to turn off autonumbering:
<TypeBasedRule>
<EngineRule isDefault="false" enabled="true">
<ruleName>Manufacturer Part Number</ruleName>
<ruleSpecification><![CDATA[
<AttributeValues objType="com.ptc.windchill.suma.part.
ManufacturerPart">
<AttrValue id="number" ignore="true"/>
</AttributeValues>
]]></ruleSpecification>
<ruleType type="INIT"/>
</EngineRule>
<className>com.ptc.windchill.suma.part.ManufacturerPart</className>
</TypeBasedRule>
<TypeBasedRule>
<EngineRule isDefault="false" enabled="true">
<ruleName>Vendor Part Number</ruleName>
<ruleSpecification><![CDATA[
<AttributeValues objType="com.ptc.windchill.suma.part.VendorPart">
<AttrValue id="number" ignore="true"/>
</AttributeValues>
]]></ruleSpecification>
<ruleType type="INIT"/>
</EngineRule>
<className>com.ptc.windchill.suma.part.VendorPart</className>
</TypeBasedRule>
¿Fue esto útil?