# Change Part Rev Approved Method

**URL:** <https://www.epiusers.help/t/change-part-rev-approved-method/60009>\
**Category:** Epicor ERP 10\
**Tags:** bpm\
**Created:** [September 20, 2019, 3:45pm UTC](https://www.epiusers.help/t/change-part-rev-approved-method/60009 "2019-09-20T15:45:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NateS](https://www.epiusers.help/user_avatar/www.epiusers.help/nates/32/18519_2.png) [@NateS](https://www.epiusers.help/u/NateS)\
**Post date:** [September 20, 2019, 3:45pm UTC](https://www.epiusers.help/t/change-part-rev-approved-method/60009/1 "2019-09-20T15:45:19Z")

</div>

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:

> [@Method calls to approve a part revision](https://www.epiusers.help/t/method-calls-to-approve-a-part-revision/28576):
>
> The revision is not actively checked out. In fact, it was just checked back in via the undo check in method. What I am trying to do is re-approve the revision after an engineering workbench undo method. It does not report any error. -----Original Message----- From: [vantage@yahoogroups.com](mailto:vantage@yahoogroups.com) [mailto:[vantage@yahoogroups.com](mailto:vantage@yahoogroups.com)] On Behalf Of John Driggers Sent: Tuesday, October 30, 2012 10:00 AM To: [vantage@yahoogroups.com](mailto:vantage@yahoogroups.com) Subject: Re: [Vantage] RE: Method calls to approve a part revision A…

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [September 20, 2019, 4:10pm UTC](https://www.epiusers.help/t/change-part-rev-approved-method/60009/2 "2019-09-20T16:10:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![NateS](https://www.epiusers.help/user_avatar/www.epiusers.help/nates/32/18519_2.png) [@NateS](https://www.epiusers.help/u/NateS)\
**Post date:** [September 20, 2019, 4:43pm UTC](https://www.epiusers.help/t/change-part-rev-approved-method/60009/3 "2019-09-20T16:43:11Z")

</div>

> [@Chris\_Conn](#):
>
> Note that I see in the BO method

Thanks for the reply!  
How do you do this? Where can you see what the method does?

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [September 20, 2019, 4:44pm UTC](https://www.epiusers.help/t/change-part-rev-approved-method/60009/4 "2019-09-20T16:44:25Z")

</div>

A disassembler on the BO itself (not the contract) - ILSpy, DNSpy, .Net reflector, etc
