與其他應用程式整合 > Windchill ESI 簡介 > 使用 ERP Connector > ERP Connector 的功能 > 智慧集合物件
  
智慧集合物件
「智慧集合」功能可讓您將複雜結構分成可從中執行製造規劃的連貫或可使用區塊。在 Windchill ESI 中,您可以使用 ERP 連接器發佈智慧集合。閱讀有關智慧集合的詳細資訊。
Windchill ESI 會將智慧集合物件傳遞至 EAI 軟體元件。與智慧集合物件相關的資訊會在 ESI 回應的以下元素類型中發佈。
AddedSmartCollection
ChangedSmartCollection
UnchangedSmartCollection
下表將描述 ESI 回應訊息中的不同元素標籤:
情況
ESI 回應中的元素類型
新建智慧集合物件
AddedSmartCollection、AddedCoNtextPart、AddedContentPart、AddedNavigationCriteria
已更新智慧集合物件
ChangedSmartCollection、ChangedContextPart、ChangedContentPart、ChangedNavigationCriteria
現有智慧集合物件
UnchangedSmartCollection、UnchangedCoNtextPart、UnchangedContentPart、UnchangedNavigationCriteria
已刪除的智慧集合物件
DeletedCoNtextPart、DeletedContentPart、DeletedNavigationCriteria
以下範例 ESI 回應訊息將顯示 AddedSmartCollection 元素類型的使用。
<AddedSmartCollection NAME="AddedSmartCollection" TYPE="Unknown" STATUS="0">
<SmartCollection>
<ObjectID>OR:wt.associativity.accountability.AccountabilityMap:181663:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</ObjectID>
<Class>com.ptc.windchill.esi.SmartCollecion</Class>
<Number>SMC_0003</Number>
<Name>SMC_0003</Name>
<State>IN WORK</State>
<Version>A</Version>
<PreviousVersion/>
<Description/>
<LastChangedBy>wcadmin</LastChangedBy>
<TargetID>FILE_0001</TargetID>
</SmartCollection>
</AddedSmartCollection>
<AddedContentPart NAME="AddedContentPart" TYPE="Unknown" STATUS="0">
<Part>
<ObjectID>OR:wt.part.WTPart:181570:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</ObjectID>
<Class>com.ptc.windchill.esi.ContentPart</Class>
<Number>0000000004</Number>
<Name>C3</Name>
<State>INWORK</State>
<View>Design</View>
<Version>A</Version>
<Iteration>1</Iteration>
<PreviousVersion/>
<Path>8ef18e84-2786-4477-a59d-da963516f67b</Path>
<Quantity>1</Quantity>
<Context_Part_ObjectID>OR:wt.part.WTPart:181544:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</Context_Part_ObjectID>
<TargetID>FILE_0001</TargetID>
</Part>
<Part>
<ObjectID>OR:wt.part.WTPart:181617:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</ObjectID>
<Class>com.ptc.windchill.esi.ContentPart</Class>
<Number>0000000007</Number>
<Name>C002</Name>
<State>INWORK</State>
<View>Design</View>
<Version>A</Version>
<Iteration>1</Iteration>
<PreviousVersion/>
<Path>d7b24664-f0f7-4f1f-b362-78b5890bd4f1/9b7c6143-5bd8-4f82-bb0b-44a395780770</Path>
<Quantity>1</Quantity>
<Context_Part_ObjectID>OR:wt.part.WTPart:181544:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</Context_Part_ObjectID>
<TargetID>FILE_0001</TargetID>
</Part>
</AddedContentPart>
<AddedContextPart NAME="AddedContextPart" TYPE="Unknown" STATUS="0">
<Part>
<ObjectID>OR:wt.part.WTPart:181544:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</ObjectID>
<Class>com.ptc.windchill.esi.ContextPart</Class>
<LastChangedBy/>
<Number>0000000001</Number>
<DefaultUnit>ea</DefaultUnit>
<Name>BOM_0001</Name>
<State>INWORK</State>
<View>Design</View>
<Version>A</Version>
<Iteration>2</Iteration>
<PreviousVersion/>
<Usage/>
<Alternate/>
<isUpstream>true</isUpstream>
<Smart_Collection_ObjectID>OR:wt.associativity.accountability.AccountabilityMap:182198:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</Smart_Collection_ObjectID>
<TargetID>FILE_0001</TargetID>
</Part>
</AddedContextPart>
<AddedNavigationCriteria NAME="AddedNavigationCriteria" TYPE="Unknown" STATUS="0">
<ESINavigationCriteria>
<ObjectID>OR:wt.filter.NavigationCriteria:182204:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</ObjectID>
<Class>com.ptc.windchill.esi.NavigationCriteria</Class>
<Product_Configuration_ObjectID/>
<ApplyToTopLevelObject>true</ApplyToTopLevelObject>
<UseDefaultForUnresolved>false</UseDefaultForUnresolved>
<SharedToAll>false</SharedToAll>
<HideUnresolvedDependents>false</HideUnresolvedDependents>
<Context_Part_ObjectID>OR:wt.part.WTPart:181544:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</Context_Part_ObjectID>
<TargetID>FILE_0001</TargetID>
</ESINavigationCriteria>
<ESIConfigSpec>
<ObjectID>OR:wt.part.WTPartConfigSpec:182205:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</ObjectID>
<Class>wt.part.WTPartStandardConfigSpec</Class>
<Navigation_Criteria_ObjectID>OR:wt.filter.NavigationCriteria:182204:894790991-1617868295803-119202251-236-71-192-10@i7750.ptcnet.ptc.com</Navigation_Criteria_ObjectID>
<View>Design</View>
<Variation1/>
<Variation2/>
<LifeCycleState/>
<WorkingIncluded>true</WorkingIncluded>
<Change/>
<AssignedPlant/>
<AssignedPlantDateEffectivity/>
<AssignedPlantUnitEffectivity/>
<ConfigSpecOrder>0</ConfigSpecOrder>
<TargetID>FILE_0001</TargetID>
</ESIConfigSpec>
</AddedNavigationCriteria>
當您發佈智慧集合物件時,會將下列屬性傳送至發佈目標:
內容零件屬性
ObjectID
類別
Number
名稱 (Name)
狀態
檢視
版本
版序
PreviousVersion
路徑
數量
Context_Part_ObjectID
TargetID
前後關聯零件屬性
ObjectID
類別
LastChangedBy
Number
DefaultUnit
名稱
狀態
檢視
版本
版序
使用關係
全域替代物
isUpstream
Smart_Collection_ObjectID
TargetID