how to get manufacturer OID using the manufacturer name.

I tried to get the OID using the query spec with WTOrganization class. it returns the name of manufacturer. instead i need to get OID .


Help me on this.

Asked on September 18, 2019 in Windchill PLM.
Add Comment
1 Answer(s)

Add this to your QuerySpec:

ClassAttribute orgIda2a2= new ClassAttribute(WTOrganization .class, WTAttributeNameIfc.ID_NAME);

select.appendSelect(orgIda2a2, new int[]{orgIndex}, false);

Answered on October 1, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.