In a validator or filter, how to get the Parent Part when a child part is selected.
I would like to know how to get the Parent of an Part when a child is selected within a BOM structure. The API WTPartHelper.service.getUsedByWTParts(pm1) will not work as it would return all the Parts and there is no way to identify the immediate Parent.

