We are in the process of integrating Windchill with our ERP system. Our ERP system does not allow BOM Units of Measure to be different that the Parts UOM. I found out that I can make it read only by chaning the file below and the entry below. Do you see any reasons that would cause functionality to break?
<windchill home=">\codebase\netmarkets\jsp\part\tabular_input.jsp
From:
<comp:describecolumn id="ti_unit" mode="<strong">EDIT" label="${unitsLabel}" need="quantity.unit" sortable="false" />
To:
<comp:describecolumn id="ti_unit" mode="<strong">VIEW" label="${unitsLabel}" need="quantity.unit" sortable="false" />
Also while I'm at it, our ERP system also doesn't allow editing of UOM once it's been passed in. So I can prevent the change of UOM by editing
<windchill home=">\codebase\netmarkets\jsp\part\editPartCommonAttrsWizardStep.jsp and putting the mode="VIEW" next to the default unit property.
This may be too strict, would it be possible to review the release history of a part, if there is none, allow editing of the attribute. But once there is a successful release to ERP, prevent editing?
thx,
Steve D.