Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
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?