cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to specify SELECTBY_CONFIG_ITEM_REF while using SELECTBY=EFFECTIVITY for fetching unit Effectivity in Windchill?

Gravel

How to specify SELECTBY_CONFIG_ITEM_REF while using SELECTBY=EFFECTIVITY for fetching unit Effectivity in Windchill?

We are trying to fetch BOM by applying unit effectivity from Windchill, and according to the documentation, we need to specify SELECTBY as 'EFFECTIVITY' and then need to specify two other parameters for Unit Effectivity SELECTBY_CONFIG_ITEM_REF, SELECTBY_UNIT.

But we cannot specify the UFID of the Part for which the effectivity was configured,as Windchill throws an error 'wt.part.WTPart cannot be cast to wt.effectivity.ConfigurationItem', and we are not able to understand how to create and fetch the wt.effectivity.ConfigurationItem object, to specify it to the SELECTBY_CONFIG_ITEM_REF parameter.

Can we get pointers as to what Windchill expects us to specify as an input for the parameter SELECTBY_CONFIG_ITEM_REF to apply unit effectivity, and how do we specify it Navigate task or the Query-Links webject of Windchill?