智能集合对象
“智能集合”功能可以将复杂的结构分解为可执行制造计划的内聚块或可操作块。在 Windchill ESI 中,可以使用 ERP Connector 发布智能集合。请了解有关智能集合的更多详细信息。
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
Class
Number
Name
State
View
Version
Iteration
PreviousVersion
Path
Quantity
Context_Part_ObjectID
TargetID
上下文部件属性
ObjectID
Class
LastChangedBy
Number
DefaultUnit
Name
State
View
Version
Iteration
Usage
Alternate
isUpstream
Smart_Collection_ObjectID
TargetID
这对您有帮助吗?