Operator Advisor ConvertFromProcessPlanID without duplicates
Currently, if you run ConvertFromProcessPlanID and the process plan has already been converted, it creates another one identical. Is there a built in service that can avoid converting a process plan if it has already been converted? If not, how would I go about this?
I can getProcessPlans and see all of the available process plans in windchill but then I am unsure how to correlate these to the ones we have already converted. The ID in getProcessPlans doesn't get placed into any of the tables when you convert the process plan. Ideally we should be able to do something like this...
1) getProcessPlans ( from windchill )
2) query twx OA database for all process plans
3) exclude any process plans that exist in both twx and windchill
4) convertFromProcessPlanID ( for the remaining process plans that are new, if any)
My issue is step 3 I am unsure how to compare the 2 databases since the ID's differ and the convertFromProcessPlanID spreads the process plan into many tables within the twx OA sql database.

