Christophe,
The part locations are in a table named wt.part.PartUsesOccurrence which you can obtain once you have the PartUsageLinkRef with a where clause :
ls_Param = "linkReference=" + <PartUsageLinkRef>
and a webject like :
<ie:webject name="Query-Objects" type="OBJ">
<ie:param name="INSTANCE" data="<%=gs_Instance%>" />
<ie:param name="AUTHORIZATION" data="${@SERVER[]AUTHORIZATION[0]}" />
<ie:param name="TYPE" data="wt.part.PartUsesOccurrence" />
<ie:param name="WHERE" data="<%=ls_Param%>" />
<ie:param name="GROUP_OUT" data="Occurrences" />
</ie:webject>
where the PartUsageLinkRef was obtained by a UsedBy query on the "object reference"
<ie:webject name="Query-Links" type="OBJ">
<ie:param name="INSTANCE" data="<%=gs_Instance%>" />
<ie:param name="AUTHORIZATION" data="${@SERVER[]AUTHORIZATION[0]}" />
<ie:param name="OBJECT_REF" data="<%=ws_ObjectRef%>" />
<ie:param name="DIRECTION" data="usedBy" />
<ie:param name="TYPE" data="WCTYPE|wt.part.WTPartUsageLink" />
<ie:param name="ATTRIBUTE" data="name,quantity.amount,quantity.unit,SupplierReference,Status" delim="," />
<ie:param name="SELECTBY" data="BASELINE" />
<ie:param name="SELECTBY_BASELINE_REF" data="<%=gs_BaselineRef%>" />
<ie:param name="OUTPUT_TYPE" data="FULL" />
<ie:param name="GROUP_OUT" data="UpperLink" />
</ie:webject>
HTH,
HTH,
Vincent
In Reply to Christophe Laudou:
Hi Vincent,
Did you get a solution for this problem? Example? I have a similar issue. Product Structure Explorer displays well the Product Tree of WTParts but the DIRECTION "uses" in my webject/jsp page does not seem to be able to get the structure ok.