Method calls to approve a part revision

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] On Behalf Of John Driggers
Sent: Tuesday, October 30, 2012 10:00 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] RE: Method calls to approve a part revision

Are you receiving an error or is it just not having any effect on the part rev?

Is the rev checked out to an ECO group?

*John Driggers*
**
*Chief Data Wrangler*
*
*
*I have an Epicor blog <http://usdoingstuff.com/>. How useful is that?*
*
*:: 904.404.9233
:: waffqle@...
:: http://www.usdoingstuff.com <http://www.usdoingstuff.com/>

*

*



On Tue, Oct 30, 2012 at 11:33 AM, Tom J. Christie < tchristie@...> wrote:

> **
>
>
> Does anyone have any suggestions on this?
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> Behalf Of Tom J. Christie
> Sent: Friday, October 26, 2012 4:05 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] RE: Method calls to approve a part revision
>
>
>
> Well, I have a guess at least. I have not identify which revision I
> want to approve. I don't know how to do that though! Any ideas?
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:
> vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf
> Of Tom J. Christie
> Sent: Friday, October 26, 2012 4:01 PM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Method calls to approve a part revision
>
>
>
> I am looking to approve a revision via .net code. I am trying to use
> the Part.ChangePartRevApproved method but I can't get it work. Any
> thoughts on what is going on? I have a valid session the txtPN box
> holds a valid partnumber.
>
>
> Dim Part As New Epicor.Mfg.BO.Part(EpiSession.ConnectionPool)
> Dim MyPartData As Epicor.Mfg.BO.PartDataSet =
> Part.GetByID(txtPN.Text.Trim)
> Part.ChangePartRevApproved(True, True, MyPartData)
> Part.Update(MyPartData)
>
> MyPartData = Nothing
> Part = Nothing
>
>
> [Non-text portions of this message have been removed]
>
>
> [Non-text portions of this message have been removed]
>
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
I am looking to approve a revision via .net code. I am trying to use the Part.ChangePartRevApproved method but I can’t get it work. Any thoughts on what is going on? I have a valid session the txtPN box holds a valid partnumber.


Dim Part As New Epicor.Mfg.BO.Part(EpiSession.ConnectionPool)
Dim MyPartData As Epicor.Mfg.BO.PartDataSet = Part.GetByID(txtPN.Text.Trim)
Part.ChangePartRevApproved(True, True, MyPartData)
Part.Update(MyPartData)

MyPartData = Nothing
Part = Nothing



[Non-text portions of this message have been removed]
Well, I have a guess at least. I have not identify which revision I want to approve. I don’t know how to do that though! Any ideas?

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Tom J. Christie
Sent: Friday, October 26, 2012 4:01 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Method calls to approve a part revision



I am looking to approve a revision via .net code. I am trying to use the Part.ChangePartRevApproved method but I can’t get it work. Any thoughts on what is going on? I have a valid session the txtPN box holds a valid partnumber.


Dim Part As New Epicor.Mfg.BO.Part(EpiSession.ConnectionPool)
Dim MyPartData As Epicor.Mfg.BO.PartDataSet = Part.GetByID(txtPN.Text.Trim)
Part.ChangePartRevApproved(True, True, MyPartData)
Part.Update(MyPartData)

MyPartData = Nothing
Part = Nothing


[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
Does anyone have any suggestions on this?

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Tom J. Christie
Sent: Friday, October 26, 2012 4:05 PM
To: vantage@yahoogroups.com
Subject: [Vantage] RE: Method calls to approve a part revision



Well, I have a guess at least. I have not identify which revision I want to approve. I don’t know how to do that though! Any ideas?

From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of Tom J. Christie
Sent: Friday, October 26, 2012 4:01 PM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Method calls to approve a part revision



I am looking to approve a revision via .net code. I am trying to use the Part.ChangePartRevApproved method but I can’t get it work. Any thoughts on what is going on? I have a valid session the txtPN box holds a valid partnumber.


Dim Part As New Epicor.Mfg.BO.Part(EpiSession.ConnectionPool)
Dim MyPartData As Epicor.Mfg.BO.PartDataSet = Part.GetByID(txtPN.Text.Trim)
Part.ChangePartRevApproved(True, True, MyPartData)
Part.Update(MyPartData)

MyPartData = Nothing
Part = Nothing


[Non-text portions of this message have been removed]


[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
Are you receiving an error or is it just not having any effect on the part
rev?

Is the rev checked out to an ECO group?

*John Driggers*
**
*Chief Data Wrangler*
*
*
*I have an Epicor blog <http://usdoingstuff.com/>. How useful is that?*
*
*:: 904.404.9233
:: waffqle@...
:: http://www.usdoingstuff.com <http://www.usdoingstuff.com/>

*

*



On Tue, Oct 30, 2012 at 11:33 AM, Tom J. Christie <
tchristie@...> wrote:

> **
>
>
> Does anyone have any suggestions on this?
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Tom J. Christie
> Sent: Friday, October 26, 2012 4:05 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] RE: Method calls to approve a part revision
>
>
>
> Well, I have a guess at least. I have not identify which revision I want
> to approve. I don�t know how to do that though! Any ideas?
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:
> vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of
> Tom J. Christie
> Sent: Friday, October 26, 2012 4:01 PM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Method calls to approve a part revision
>
>
>
> I am looking to approve a revision via .net code. I am trying to use the
> Part.ChangePartRevApproved method but I can�t get it work. Any thoughts on
> what is going on? I have a valid session the txtPN box holds a valid
> partnumber.
>
>
> Dim Part As New Epicor.Mfg.BO.Part(EpiSession.ConnectionPool)
> Dim MyPartData As Epicor.Mfg.BO.PartDataSet =
> Part.GetByID(txtPN.Text.Trim)
> Part.ChangePartRevApproved(True, True, MyPartData)
> Part.Update(MyPartData)
>
> MyPartData = Nothing
> Part = Nothing
>
>
> [Non-text portions of this message have been removed]
>
>
> [Non-text portions of this message have been removed]
>
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]