스마트 컬렉션 객체
스마트 컬렉션 기능을 통해 복잡한 구조를 제조 계획을 실행할 수 있는 응집되거나 작업 가능한 청크로 분할할 수 있습니다.
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