<PartHistoryClass>
Section:
Class
Required:
No
Value type:
Database class name
Default:
MASTERHISTORY (DMMasterdata)
me_part_h (DTDefaultMasterdata)
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
The Part History class defines where the system stores Masterdata history. You must enable Part History using the <PartHistoryManagement> tag.
By default, the system saves Masterdata history in the MASTERHISTORY class (Data Management schema) or the me_part_h class (Desktop schema).
To change the default Masterdata history class,
1. Add the following definition to your custom xml file (Data Management schema):
<Class extends="DMMasterdata, DMReleaseProcess">
<Name>MASTERDATA</Name>
<PartHistoryClass>MY_CUSTOM_HISTORY_CLASSNAME</PartHistoryClass>
</Class>
2. Add the following to tell the system to use the new class:
<Class extends="BASE_MASTERHISTORY">
<Name>MY_CUSTOM_HISTORY_CLASSNAME</Name>
</Class>
To add a custom Masterdata history class,
1. Add the following definition to your custom xml file (Data Management schema):
<Class extends="DMMasterdata, DMReleaseProcess">
<Name>MY_CUSTOM_MD2_CLASSNAME</Name>
<PartHistoryClass>MY_CUSTOM_HISTORY2_CLASSNAME</PartHistoryClass>
</Class>
2. Add the following to tell the system that an additional Masterdata history class exists:
<Class extends="BASE_MASTERHISTORY">
<Name>MY_CUSTOM_HISTORY2_CLASSNAME</Name>
</Class>
Was this helpful?