Hi All,
I am trying to change the PartRev.Approved flag to false using the method: Part.ChangePartRevApproved.
My problem is that I don’t know how to indicate which rev when I use the Part.GetByID method.
I see that PartRevSearch has some methods, including GetByID and Update. But it does not have a ChangePartRevApproved method.
What is the right way to use the ChangePartRevApproved method? Should I just use the PartRevSearch methods and an update table by query widget?
Thanks for your time!
Nate
There is a related, although unresolved post about this from a few years ago:
You would use the Part adapter. After the GetByID, check the PartData.PartRev table for the rev you want, set the RowMod to “U” and then run that method. Note that I see in the BO method that it looks for the FIRST modified PartRev,so you need to do this one at a time.