其他 Windchill 功能 > Windchill Supplier Management > Windchill Supplier Management 管理 > 配置 Sourcing 等級值
  
配置 Sourcing 等級值
您可以新增其他 sourcing 等級值到所提供的現成的值中。
* 
新的 sourcing 等級已新增且已為其指派數值之後,不得被修改。
若要新增自訂的 sourcing 等級值:
1. 編輯位於 /$WT_HOME/src/com/ptc/windchill/suma/axl 目錄中的 AXLPreferenceRB.rbInfo 檔案。定義新的值,為每一個新的 sourcing 等級值指派一個數字,以排定這些等級值的順序。
更新 AXLPreferenceRB.rbInfo 檔案之後,執行 Resourcebuild com.ptc.windchill.suma.axl.AXLPreferenceRB 指令,將變更傳播至 Codebase (無須重新啟動)。
* 
您可以指派介於 1 到 100 之間的整數作為 sourcing 等級的數字值。數值越大代表排名越高。現成的 sourcing 等級值如下:
do_not_use=20
approved=40
preferred=60
例如,若要新增一個新值 Recommended,請將下列文字行新增至 AXLPreferenceRB.rbInfo 檔案中。
recommended.value=Recommendedrecommended.order=50
如此即會將新的 sourcing 等級值 Recommended 列在 Approved 和 Preferred 等級之間。
* 
新增自訂的 sourcing 等級值時,反映在 OEM 零件上的值即是 sourcing 等級,且在已新增至 AML/AVL 的供應商零件上擁有最高數值。在上述範例中,OEM 零件獲指派了 Recommended sourcing 等級,因為 AML/AVL 中沒有其他數值大於 50 的供應商零件了。
2. service.properties 中為每個新值各新增一個圖示。
可使用 xconfmanager 來配置 Sourcing 等級圖示。欲變更或新增 sourcing 等級圖示,請將組態新增至 $WT_HOME/site.xconf 檔案,與下列內容類似:
<Resource targetFile="codebase/service.properties" context="default"
name="AXLPreferenceIcon">
<Option requestor="null"
selector="recommended"
resource="/wtcore/images/com/ptc/windchill/suma/recommended.gif"/>
</Resource>
<Resource targetFile="codebase/service.properties" context="default"
name="AXLPreferenceIcon">
<Option requestor="null"
selector="recommended.ss"
resource="/wtcore/images/com/ptc/windchill/suma/single_source.gif"/>
</Resource>
* 
當零件是集中單一來源時,recommended.ss 選項會配置用來識別特定 sourcing 等級的圖示。
當將您的組態新增至 site.xconf 之後,請執行 xconfmanager -p 來將變更傳播至 codebase,然後重新啟動應用伺服器。如需 xconfmanager 公用程式的詳細資訊,請參閱《Windchill Installation and Configuration Guide》(Windchill 安裝與組態指南)。