BPM to set "PODetail.QtyOption" to "Our"

I tried, no luck!

Mike Tonoyan / Natel Engr.
mtonoyan@...


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Jose Gomez
Sent: Tuesday, May 31, 2011 1:52 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] BPM to set "PODetail.QtyOption" to "Our"

Are you trying to assign the string Our?? if so try single quotes and
no parenthesis.
*
*

*
*
*Jose C Gomez*
Software Engineer
*
*
*NEED HELP WITH AN EPICOR ISSUE THAT CAN NOT BE SOLVED ON THE LIST?
CHECK OUT MY NEW BLOG <http://www.usdoingstuff.com> OR CONTACT ME
DIRECTLY*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez>
<http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez>
<http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*



On Tue, May 31, 2011 at 4:39 PM, Mike Tonoyan
<mtonoyan@...>wrote:

>
>
> Jose,
>
> I just uploaded the "PODtl_QtyType.bpm
>
<http://f1.grp.yahoofs.com/v1/wEjlTZWTu0NupQUfv5xXswaIkOJpm015FWHwShQxid
>
5WkxZO4TXcopTUYNpaUk1U6uSx_W1lGlmCdJKoTE0W290G7zuMtQ/BPMs/PODtl_QtyType.
> bpm> \ PO Detail Qty Type - Non Functional" file into
> "http://tech.groups.yahoo.com/group/vantage/files/BPMs/" folder.
>
> Let me know when you download the file, so I'll delete it. Don't want
> people think it's usable.
>
>
> Mike Tonoyan / Natel Engr.
>
> mtonoyan@...
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf
> Of Jose Gomez
> Sent: Tuesday, May 31, 2011 10:03 AM
> To: vantage@yahoogroups.com
> Subject: Re: [Vantage] BPM to set "PODetail.QtyOption" to "Our"
>
>
> Send us the bpm
>
> Sent from mobile
> On May 31, 2011 12:19 PM, "Mike Tonoyan" <mtonoyan@...
> <mailto:mtonoyan%40natelengr.com> > wrote:
> > After upgrading to 9.04.507 when modifying an existing PO, the "PO
> Entry
> > \ Lines \ Quantity/Cost" radio button is not defaulting to "Our
Qty".
> > When manually clicking on "Our Qty" it refreshes the Supplier qty,
> > otherwise it doesn't.
> >
> > I created a Pre Processing BPM to offset this problem but for some
> > reason it's not working:
> >
> > set the PODetail.QtyOption field of all unchanged rows to the "Our"
> > expression
> >
> >
> >
> > Mike Tonoyan / Natel Engr.
> >
> > mtonoyan@... <mailto:mtonoyan%40natelengr.com>
> >
> >
> > __________________________________________________________
> > Notice: This email transmission may contain confidential information
> and
> is intended only for the person(s) named. Any use, copying or
disclosure
> to/by any other person(s) is strictly prohibited. By accepting this
> information, recipients confirm that they understand and will comply
> with
> all applicable ITAR and EAR requirements.
> > __________________________________________________________
> >
> > [Non-text portions of this message have been removed]
> >
>
> [Non-text portions of this message have been removed]
>
> __________________________________________________________
> Notice: This email transmission may contain confidential information
and is
> intended only for the person(s) named. Any use, copying or disclosure
to/by
> any other person(s) is strictly prohibited. By accepting this
information,
> recipients confirm that they understand and will comply with all
applicable
> ITAR and EAR requirements.
> __________________________________________________________
>
> [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




______________________________________________________________________
Notice: This email transmission may contain confidential information and is intended only for the person(s) named. Any use, copying or disclosure to/by any other person(s) is strictly prohibited. By accepting this information, recipients confirm that they understand and will comply with all applicable ITAR and EAR requirements.
______________________________________________________________________
v8.03.4008B

I have customized the quote worksheet to apply a 2.5% adder upon checking a checkbox. The code works fine, but the worksheet does not recalculate unless I save, or change another field. I assume it is because it does not recognize the change event since it happens in code.

Trace logging indicates that RecalcWorksheet is called. How do I invoke this method on the form? I tried oTrans.RecalcWorksheet but got an error.

Thanks in advance.

Randy Weber
Hook on the main adapter bring in the reference to quote adapter then
connect call the fiction. I am ob the road so don't have the syntax but if
you hook onto an after adapter method it will give you an epibaseadapter
simple replace that with quoteafapter and call the recalc function then
notify your edv

Sent from mobile
On May 15, 2011 8:46 AM, "randyweb" <weber.randy@...> wrote:
> v8.03.4008B
>
> I have customized the quote worksheet to apply a 2.5% adder upon checking
a checkbox. The code works fine, but the worksheet does not recalculate
unless I save, or change another field. I assume it is because it does not
recognize the change event since it happens in code.
>
> Trace logging indicates that RecalcWorksheet is called. How do I invoke
this method on the form? I tried oTrans.RecalcWorksheet but got an error.
>
> Thanks in advance.
>
> Randy Weber
>


[Non-text portions of this message have been removed]
Hi and thanks for the reply. Unfortunately, that is Greek to me. I don't know how to 'hook' to the main adapter nor the quote one. Could you be so kind as to paste some code describing this?

Randy

--- In vantage@yahoogroups.com, Jose Gomez <jose@...> wrote:
>
> Hook on the main adapter bring in the reference to quote adapter then
> connect call the fiction. I am ob the road so don't have the syntax but if
> you hook onto an after adapter method it will give you an epibaseadapter
> simple replace that with quoteafapter and call the recalc function then
> notify your edv
>
> Sent from mobile
> On May 15, 2011 8:46 AM, "randyweb" <weber.randy@...> wrote:
> > v8.03.4008B
> >
> > I have customized the quote worksheet to apply a 2.5% adder upon checking
> a checkbox. The code works fine, but the worksheet does not recalculate
> unless I save, or change another field. I assume it is because it does not
> recognize the change event since it happens in code.
> >
> > Trace logging indicates that RecalcWorksheet is called. How do I invoke
> this method on the form? I tried oTrans.RecalcWorksheet but got an error.
> >
> > Thanks in advance.
> >
> > Randy Weber
> >
>
>
> [Non-text portions of this message have been removed]
>
QuoteAdapter quotAdp = (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"];
That will get you the adapter. Once you've got it you can just call
the methods and such like any other object.

When you're done messing with everything call notify on the UI to make
everything show up.

qtDtlDV.Notify(new EpiNotifyArgs("QuoteForm", qdr.QuoteLine - 1,
EpiTransaction.NotifyType.Initialize));
That will notify the quote form. just replace 'qtDtlDV' with whatever
your dataview is called and 'qdr.quoteline -1' with the number for
whatever line you've updating.



On Thu, May 19, 2011 at 9:15 AM, randyweb <weber.randy@...> wrote:

>
>
> Hi and thanks for the reply. Unfortunately, that is Greek to me. I don't
> know how to 'hook' to the main adapter nor the quote one. Could you be so
> kind as to paste some code describing this?
>
> Randy
>
>
> --- In vantage@yahoogroups.com, Jose Gomez <jose@...> wrote:
> >
> > Hook on the main adapter bring in the reference to quote adapter then
> > connect call the fiction. I am ob the road so don't have the syntax but
> if
> > you hook onto an after adapter method it will give you an epibaseadapter
> > simple replace that with quoteafapter and call the recalc function then
> > notify your edv
> >
> > Sent from mobile
> > On May 15, 2011 8:46 AM, "randyweb" <weber.randy@...> wrote:
> > > v8.03.4008B
> > >
> > > I have customized the quote worksheet to apply a 2.5% adder upon
> checking
> > a checkbox. The code works fine, but the worksheet does not recalculate
> > unless I save, or change another field. I assume it is because it does
> not
> > recognize the change event since it happens in code.
> > >
> > > Trace logging indicates that RecalcWorksheet is called. How do I invoke
> > this method on the form? I tried oTrans.RecalcWorksheet but got an error.
> > >
> > > Thanks in advance.
> > >
> > > Randy Weber
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]
I think I am close here, but it's a bit different than what you wrote. I got this from the data tools:

Dim varQuoteAdapter As QuoteAdapter = New QuoteAdapter([UIForm])
varQuoteAdapter.BOConnect()

Dim [varName] As Boolean = [varAdapterName].RecalcWorksheet(quoteNum, quoteLine, qtyNum)

[varAdapterName].Dispose()

What goes in place of the [UIForm] portion?

Randy

--- In vantage@yahoogroups.com, Waffqle <waffqle@...> wrote:
>
> QuoteAdapter quotAdp = (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"];
> That will get you the adapter. Once you've got it you can just call
> the methods and such like any other object.
>
> When you're done messing with everything call notify on the UI to make
> everything show up.
>
> qtDtlDV.Notify(new EpiNotifyArgs("QuoteForm", qdr.QuoteLine - 1,
> EpiTransaction.NotifyType.Initialize));
> That will notify the quote form. just replace 'qtDtlDV' with whatever
> your dataview is called and 'qdr.quoteline -1' with the number for
> whatever line you've updating.
>
>
>
> On Thu, May 19, 2011 at 9:15 AM, randyweb <weber.randy@...> wrote:
>
> >
> >
> > Hi and thanks for the reply. Unfortunately, that is Greek to me. I don't
> > know how to 'hook' to the main adapter nor the quote one. Could you be so
> > kind as to paste some code describing this?
> >
> > Randy
> >
> >
> > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > >
> > > Hook on the main adapter bring in the reference to quote adapter then
> > > connect call the fiction. I am ob the road so don't have the syntax but
> > if
> > > you hook onto an after adapter method it will give you an epibaseadapter
> > > simple replace that with quoteafapter and call the recalc function then
> > > notify your edv
> > >
> > > Sent from mobile
> > > On May 15, 2011 8:46 AM, "randyweb" <weber.randy@> wrote:
> > > > v8.03.4008B
> > > >
> > > > I have customized the quote worksheet to apply a 2.5% adder upon
> > checking
> > > a checkbox. The code works fine, but the worksheet does not recalculate
> > > unless I save, or change another field. I assume it is because it does
> > not
> > > recognize the change event since it happens in code.
> > > >
> > > > Trace logging indicates that RecalcWorksheet is called. How do I invoke
> > > this method on the form? I tried oTrans.RecalcWorksheet but got an error.
> > > >
> > > > Thanks in advance.
> > > >
> > > > Randy Weber
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>
That would be the actual name of the form. In your case it would be
'QuotForm'. However, I would suggest using the oTrans method instead. It
saves you the trouble of having to look up the form name everytime. Also,
I've not tested the method your described and I'm pretty sure it will give
you a new adapter instead of using the existing Epicor adapter.

On Mon, May 23, 2011 at 9:55 AM, randyweb <weber.randy@...> wrote:

>
>
> I think I am close here, but it's a bit different than what you wrote. I
> got this from the data tools:
>
> Dim varQuoteAdapter As QuoteAdapter = New QuoteAdapter([UIForm])
> varQuoteAdapter.BOConnect()
>
> Dim [varName] As Boolean = [varAdapterName].RecalcWorksheet(quoteNum,
> quoteLine, qtyNum)
>
> [varAdapterName].Dispose()
>
> What goes in place of the [UIForm] portion?
>
> Randy
>
>
> --- In vantage@yahoogroups.com, Waffqle <waffqle@...> wrote:
> >
> > QuoteAdapter quotAdp =
> (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"];
> > That will get you the adapter. Once you've got it you can just call
> > the methods and such like any other object.
> >
> > When you're done messing with everything call notify on the UI to make
> > everything show up.
> >
> > qtDtlDV.Notify(new EpiNotifyArgs("QuoteForm", qdr.QuoteLine - 1,
> > EpiTransaction.NotifyType.Initialize));
> > That will notify the quote form. just replace 'qtDtlDV' with whatever
> > your dataview is called and 'qdr.quoteline -1' with the number for
> > whatever line you've updating.
> >
> >
> >
> > On Thu, May 19, 2011 at 9:15 AM, randyweb <weber.randy@...> wrote:
> >
> > >
> > >
> > > Hi and thanks for the reply. Unfortunately, that is Greek to me. I
> don't
> > > know how to 'hook' to the main adapter nor the quote one. Could you be
> so
> > > kind as to paste some code describing this?
> > >
> > > Randy
> > >
> > >
> > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > >
> > > > Hook on the main adapter bring in the reference to quote adapter then
> > > > connect call the fiction. I am ob the road so don't have the syntax
> but
> > > if
> > > > you hook onto an after adapter method it will give you an
> epibaseadapter
> > > > simple replace that with quoteafapter and call the recalc function
> then
> > > > notify your edv
> > > >
> > > > Sent from mobile
> > > > On May 15, 2011 8:46 AM, "randyweb" <weber.randy@> wrote:
> > > > > v8.03.4008B
> > > > >
> > > > > I have customized the quote worksheet to apply a 2.5% adder upon
> > > checking
> > > > a checkbox. The code works fine, but the worksheet does not
> recalculate
> > > > unless I save, or change another field. I assume it is because it
> does
> > > not
> > > > recognize the change event since it happens in code.
> > > > >
> > > > > Trace logging indicates that RecalcWorksheet is called. How do I
> invoke
> > > > this method on the form? I tried oTrans.RecalcWorksheet but got an
> error.
> > > > >
> > > > > Thanks in advance.
> > > > >
> > > > > Randy Weber
> > > > >
> > > >
> > > >
> > > > [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]
The name of your form, for example
QuoteEntryForm or SalesOrderEntryForm
*
*

In customization mode look at the top most level on the tree (left of
screen) that's what you put there.
See image http://www.josecgomez.com/files/OrderForm.png

However that code will give you a new instance of the adapter and not the
current adapter, to use the current adapter use the code provided by
John(Waffqle) before.
*
*
*
*
*Jose C Gomez*


Software Engineer
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>

*Quis custodiet ipsos custodes?*



On Mon, May 23, 2011 at 9:55 AM, randyweb <weber.randy@...> wrote:

>
>
> I think I am close here, but it's a bit different than what you wrote. I
> got this from the data tools:
>
> Dim varQuoteAdapter As QuoteAdapter = New QuoteAdapter([UIForm])
> varQuoteAdapter.BOConnect()
>
> Dim [varName] As Boolean = [varAdapterName].RecalcWorksheet(quoteNum,
> quoteLine, qtyNum)
>
> [varAdapterName].Dispose()
>
> What goes in place of the [UIForm] portion?
>
> Randy
>
>
> --- In vantage@yahoogroups.com, Waffqle <waffqle@...> wrote:
> >
> > QuoteAdapter quotAdp =
> (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"];
> > That will get you the adapter. Once you've got it you can just call
> > the methods and such like any other object.
> >
> > When you're done messing with everything call notify on the UI to make
> > everything show up.
> >
> > qtDtlDV.Notify(new EpiNotifyArgs("QuoteForm", qdr.QuoteLine - 1,
> > EpiTransaction.NotifyType.Initialize));
> > That will notify the quote form. just replace 'qtDtlDV' with whatever
> > your dataview is called and 'qdr.quoteline -1' with the number for
> > whatever line you've updating.
> >
> >
> >
> > On Thu, May 19, 2011 at 9:15 AM, randyweb <weber.randy@...> wrote:
> >
> > >
> > >
> > > Hi and thanks for the reply. Unfortunately, that is Greek to me. I
> don't
> > > know how to 'hook' to the main adapter nor the quote one. Could you be
> so
> > > kind as to paste some code describing this?
> > >
> > > Randy
> > >
> > >
> > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > >
> > > > Hook on the main adapter bring in the reference to quote adapter then
> > > > connect call the fiction. I am ob the road so don't have the syntax
> but
> > > if
> > > > you hook onto an after adapter method it will give you an
> epibaseadapter
> > > > simple replace that with quoteafapter and call the recalc function
> then
> > > > notify your edv
> > > >
> > > > Sent from mobile
> > > > On May 15, 2011 8:46 AM, "randyweb" <weber.randy@> wrote:
> > > > > v8.03.4008B
> > > > >
> > > > > I have customized the quote worksheet to apply a 2.5% adder upon
> > > checking
> > > > a checkbox. The code works fine, but the worksheet does not
> recalculate
> > > > unless I save, or change another field. I assume it is because it
> does
> > > not
> > > > recognize the change event since it happens in code.
> > > > >
> > > > > Trace logging indicates that RecalcWorksheet is called. How do I
> invoke
> > > > this method on the form? I tried oTrans.RecalcWorksheet but got an
> error.
> > > > >
> > > > > Thanks in advance.
> > > > >
> > > > > Randy Weber
> > > > >
> > > >
> > > >
> > > > [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]
This is still giving me fits. FYI - it's v8.03.408b

This line gives me Expected End of statement
Dim quotAdp = (QuoteAdapter)csm.TransAdaptersHT("oTrans_adapter")

As does this
Dim quotAdp = (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"]

You are putting semi-colon at end of lines. Does not work for me. Are we using a different language?

Randy Weber

--- In vantage@yahoogroups.com, Jose Gomez <jose@...> wrote:
>
> The name of your form, for example
> QuoteEntryForm or SalesOrderEntryForm
> *
> *
>
> In customization mode look at the top most level on the tree (left of
> screen) that's what you put there.
> See image http://www.josecgomez.com/files/OrderForm.png
>
> However that code will give you a new instance of the adapter and not the
> current adapter, to use the current adapter use the code provided by
> John(Waffqle) before.
> *
> *
> *
> *
> *Jose C Gomez*
>
>
> Software Engineer
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
> <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
> <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
>
> *Quis custodiet ipsos custodes?*
>
>
>
> On Mon, May 23, 2011 at 9:55 AM, randyweb <weber.randy@...> wrote:
>
> >
> >
> > I think I am close here, but it's a bit different than what you wrote. I
> > got this from the data tools:
> >
> > Dim varQuoteAdapter As QuoteAdapter = New QuoteAdapter([UIForm])
> > varQuoteAdapter.BOConnect()
> >
> > Dim [varName] As Boolean = [varAdapterName].RecalcWorksheet(quoteNum,
> > quoteLine, qtyNum)
> >
> > [varAdapterName].Dispose()
> >
> > What goes in place of the [UIForm] portion?
> >
> > Randy
> >
> >
> > --- In vantage@yahoogroups.com, Waffqle <waffqle@> wrote:
> > >
> > > QuoteAdapter quotAdp =
> > (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"];
> > > That will get you the adapter. Once you've got it you can just call
> > > the methods and such like any other object.
> > >
> > > When you're done messing with everything call notify on the UI to make
> > > everything show up.
> > >
> > > qtDtlDV.Notify(new EpiNotifyArgs("QuoteForm", qdr.QuoteLine - 1,
> > > EpiTransaction.NotifyType.Initialize));
> > > That will notify the quote form. just replace 'qtDtlDV' with whatever
> > > your dataview is called and 'qdr.quoteline -1' with the number for
> > > whatever line you've updating.
> > >
> > >
> > >
> > > On Thu, May 19, 2011 at 9:15 AM, randyweb <weber.randy@> wrote:
> > >
> > > >
> > > >
> > > > Hi and thanks for the reply. Unfortunately, that is Greek to me. I
> > don't
> > > > know how to 'hook' to the main adapter nor the quote one. Could you be
> > so
> > > > kind as to paste some code describing this?
> > > >
> > > > Randy
> > > >
> > > >
> > > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > > >
> > > > > Hook on the main adapter bring in the reference to quote adapter then
> > > > > connect call the fiction. I am ob the road so don't have the syntax
> > but
> > > > if
> > > > > you hook onto an after adapter method it will give you an
> > epibaseadapter
> > > > > simple replace that with quoteafapter and call the recalc function
> > then
> > > > > notify your edv
> > > > >
> > > > > Sent from mobile
> > > > > On May 15, 2011 8:46 AM, "randyweb" <weber.randy@> wrote:
> > > > > > v8.03.4008B
> > > > > >
> > > > > > I have customized the quote worksheet to apply a 2.5% adder upon
> > > > checking
> > > > > a checkbox. The code works fine, but the worksheet does not
> > recalculate
> > > > > unless I save, or change another field. I assume it is because it
> > does
> > > > not
> > > > > recognize the change event since it happens in code.
> > > > > >
> > > > > > Trace logging indicates that RecalcWorksheet is called. How do I
> > invoke
> > > > > this method on the form? I tried oTrans.RecalcWorksheet but got an
> > error.
> > > > > >
> > > > > > Thanks in advance.
> > > > > >
> > > > > > Randy Weber
> > > > > >
> > > > >
> > > > >
> > > > > [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]
>
It looks like you're using VB.

Jose and I write in C#, although the syntax will be a bit different if you
wanna do it in VB you need pretty much the same code.

On Tue, May 31, 2011 at 7:40 AM, randyweb <weber.randy@...> wrote:

>
>
> This is still giving me fits. FYI - it's v8.03.408b
>
> This line gives me Expected End of statement
> Dim quotAdp = (QuoteAdapter)csm.TransAdaptersHT("oTrans_adapter")
>
> As does this
> Dim quotAdp = (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"]
>
> You are putting semi-colon at end of lines. Does not work for me. Are we
> using a different language?
>
> Randy Weber
>
>
> --- In vantage@yahoogroups.com, Jose Gomez <jose@...> wrote:
> >
> > The name of your form, for example
> > QuoteEntryForm or SalesOrderEntryForm
> > *
> > *
> >
> > In customization mode look at the top most level on the tree (left of
> > screen) that's what you put there.
> > See image http://www.josecgomez.com/files/OrderForm.png
> >
> > However that code will give you a new instance of the adapter and not the
> > current adapter, to use the current adapter use the code provided by
> > John(Waffqle) before.
> > *
> > *
> > *
> > *
> > *Jose C Gomez*
> >
> >
> > Software Engineer
> > *
> > *T: 904.469.1524 mobile
> > E: jose@...
>
> > http://www.josecgomez.com
> > <http://www.linkedin.com/in/josecgomez> <
> http://www.facebook.com/josegomez>
> > <http://www.google.com/profiles/jose.gomez> <
> http://www.twitter.com/joc85>
> > <http://www.josecgomez.com/professional-resume/>
> > <http://www.josecgomez.com/feed/>
> >
> > *Quis custodiet ipsos custodes?*
> >
> >
> >
> > On Mon, May 23, 2011 at 9:55 AM, randyweb <weber.randy@...> wrote:
> >
> > >
> > >
> > > I think I am close here, but it's a bit different than what you wrote.
> I
> > > got this from the data tools:
> > >
> > > Dim varQuoteAdapter As QuoteAdapter = New QuoteAdapter([UIForm])
> > > varQuoteAdapter.BOConnect()
> > >
> > > Dim [varName] As Boolean = [varAdapterName].RecalcWorksheet(quoteNum,
> > > quoteLine, qtyNum)
> > >
> > > [varAdapterName].Dispose()
> > >
> > > What goes in place of the [UIForm] portion?
> > >
> > > Randy
> > >
> > >
> > > --- In vantage@yahoogroups.com, Waffqle <waffqle@> wrote:
> > > >
> > > > QuoteAdapter quotAdp =
> > > (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"];
> > > > That will get you the adapter. Once you've got it you can just call
> > > > the methods and such like any other object.
> > > >
> > > > When you're done messing with everything call notify on the UI to
> make
> > > > everything show up.
> > > >
> > > > qtDtlDV.Notify(new EpiNotifyArgs("QuoteForm", qdr.QuoteLine - 1,
> > > > EpiTransaction.NotifyType.Initialize));
> > > > That will notify the quote form. just replace 'qtDtlDV' with whatever
> > > > your dataview is called and 'qdr.quoteline -1' with the number for
> > > > whatever line you've updating.
> > > >
> > > >
> > > >
> > > > On Thu, May 19, 2011 at 9:15 AM, randyweb <weber.randy@> wrote:
> > > >
> > > > >
> > > > >
> > > > > Hi and thanks for the reply. Unfortunately, that is Greek to me. I
> > > don't
> > > > > know how to 'hook' to the main adapter nor the quote one. Could you
> be
> > > so
> > > > > kind as to paste some code describing this?
> > > > >
> > > > > Randy
> > > > >
> > > > >
> > > > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > > > >
> > > > > > Hook on the main adapter bring in the reference to quote adapter
> then
> > > > > > connect call the fiction. I am ob the road so don't have the
> syntax
> > > but
> > > > > if
> > > > > > you hook onto an after adapter method it will give you an
> > > epibaseadapter
> > > > > > simple replace that with quoteafapter and call the recalc
> function
> > > then
> > > > > > notify your edv
> > > > > >
> > > > > > Sent from mobile
> > > > > > On May 15, 2011 8:46 AM, "randyweb" <weber.randy@> wrote:
> > > > > > > v8.03.4008B
> > > > > > >
> > > > > > > I have customized the quote worksheet to apply a 2.5% adder
> upon
> > > > > checking
> > > > > > a checkbox. The code works fine, but the worksheet does not
> > > recalculate
> > > > > > unless I save, or change another field. I assume it is because it
> > > does
> > > > > not
> > > > > > recognize the change event since it happens in code.
> > > > > > >
> > > > > > > Trace logging indicates that RecalcWorksheet is called. How do
> I
> > > invoke
> > > > > > this method on the form? I tried oTrans.RecalcWorksheet but got
> an
> > > error.
> > > > > > >
> > > > > > > Thanks in advance.
> > > > > > >
> > > > > > > Randy Weber
> > > > > > >
> > > > > >
> > > > > >
> > > > > > [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]
You can give this a shot if you'd like

http://www.developerfusion.com/tools/convert/csharp-to-vb/

It should give you proper VB code


*Jose C Gomez*
*Software Engineer*
*
*
*NEED HELP WITH AN EPICOR ISSUE THAT CAN NOT BE SOLVED ON THE LIST?
CHECK OUT MY NEW BLOG <http://www.usdoingstuff.com> OR CONTACT ME DIRECTLY*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*



On Tue, May 31, 2011 at 8:51 AM, Waffqle <waffqle@...> wrote:

> It looks like you're using VB.
>
> Jose and I write in C#, although the syntax will be a bit different if you
> wanna do it in VB you need pretty much the same code.
>
> On Tue, May 31, 2011 at 7:40 AM, randyweb <weber.randy@...> wrote:
>
> >
> >
> > This is still giving me fits. FYI - it's v8.03.408b
> >
> > This line gives me Expected End of statement
> > Dim quotAdp = (QuoteAdapter)csm.TransAdaptersHT("oTrans_adapter")
> >
> > As does this
> > Dim quotAdp = (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"]
> >
> > You are putting semi-colon at end of lines. Does not work for me. Are we
> > using a different language?
> >
> > Randy Weber
> >
> >
> > --- In vantage@yahoogroups.com, Jose Gomez <jose@...> wrote:
> > >
> > > The name of your form, for example
> > > QuoteEntryForm or SalesOrderEntryForm
> > > *
> > > *
> > >
> > > In customization mode look at the top most level on the tree (left of
> > > screen) that's what you put there.
> > > See image http://www.josecgomez.com/files/OrderForm.png
> > >
> > > However that code will give you a new instance of the adapter and not
> the
> > > current adapter, to use the current adapter use the code provided by
> > > John(Waffqle) before.
> > > *
> > > *
> > > *
> > > *
> > > *Jose C Gomez*
> > >
> > >
> > > Software Engineer
> > > *
> > > *T: 904.469.1524 mobile
> > > E: jose@...
> >
> > > http://www.josecgomez.com
> > > <http://www.linkedin.com/in/josecgomez> <
> > http://www.facebook.com/josegomez>
> > > <http://www.google.com/profiles/jose.gomez> <
> > http://www.twitter.com/joc85>
> > > <http://www.josecgomez.com/professional-resume/>
> > > <http://www.josecgomez.com/feed/>
> > >
> > > *Quis custodiet ipsos custodes?*
> > >
> > >
> > >
> > > On Mon, May 23, 2011 at 9:55 AM, randyweb <weber.randy@...> wrote:
> > >
> > > >
> > > >
> > > > I think I am close here, but it's a bit different than what you
> wrote.
> > I
> > > > got this from the data tools:
> > > >
> > > > Dim varQuoteAdapter As QuoteAdapter = New QuoteAdapter([UIForm])
> > > > varQuoteAdapter.BOConnect()
> > > >
> > > > Dim [varName] As Boolean = [varAdapterName].RecalcWorksheet(quoteNum,
> > > > quoteLine, qtyNum)
> > > >
> > > > [varAdapterName].Dispose()
> > > >
> > > > What goes in place of the [UIForm] portion?
> > > >
> > > > Randy
> > > >
> > > >
> > > > --- In vantage@yahoogroups.com, Waffqle <waffqle@> wrote:
> > > > >
> > > > > QuoteAdapter quotAdp =
> > > > (QuoteAdapter)csm.TransAdaptersHT["oTrans_adapter"];
> > > > > That will get you the adapter. Once you've got it you can just call
> > > > > the methods and such like any other object.
> > > > >
> > > > > When you're done messing with everything call notify on the UI to
> > make
> > > > > everything show up.
> > > > >
> > > > > qtDtlDV.Notify(new EpiNotifyArgs("QuoteForm", qdr.QuoteLine - 1,
> > > > > EpiTransaction.NotifyType.Initialize));
> > > > > That will notify the quote form. just replace 'qtDtlDV' with
> whatever
> > > > > your dataview is called and 'qdr.quoteline -1' with the number for
> > > > > whatever line you've updating.
> > > > >
> > > > >
> > > > >
> > > > > On Thu, May 19, 2011 at 9:15 AM, randyweb <weber.randy@> wrote:
> > > > >
> > > > > >
> > > > > >
> > > > > > Hi and thanks for the reply. Unfortunately, that is Greek to me.
> I
> > > > don't
> > > > > > know how to 'hook' to the main adapter nor the quote one. Could
> you
> > be
> > > > so
> > > > > > kind as to paste some code describing this?
> > > > > >
> > > > > > Randy
> > > > > >
> > > > > >
> > > > > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > > > > >
> > > > > > > Hook on the main adapter bring in the reference to quote
> adapter
> > then
> > > > > > > connect call the fiction. I am ob the road so don't have the
> > syntax
> > > > but
> > > > > > if
> > > > > > > you hook onto an after adapter method it will give you an
> > > > epibaseadapter
> > > > > > > simple replace that with quoteafapter and call the recalc
> > function
> > > > then
> > > > > > > notify your edv
> > > > > > >
> > > > > > > Sent from mobile
> > > > > > > On May 15, 2011 8:46 AM, "randyweb" <weber.randy@> wrote:
> > > > > > > > v8.03.4008B
> > > > > > > >
> > > > > > > > I have customized the quote worksheet to apply a 2.5% adder
> > upon
> > > > > > checking
> > > > > > > a checkbox. The code works fine, but the worksheet does not
> > > > recalculate
> > > > > > > unless I save, or change another field. I assume it is because
> it
> > > > does
> > > > > > not
> > > > > > > recognize the change event since it happens in code.
> > > > > > > >
> > > > > > > > Trace logging indicates that RecalcWorksheet is called. How
> do
> > I
> > > > invoke
> > > > > > > this method on the form? I tried oTrans.RecalcWorksheet but got
> > an
> > > > error.
> > > > > > > >
> > > > > > > > Thanks in advance.
> > > > > > > >
> > > > > > > > Randy Weber
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > [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
>
>
>
>


[Non-text portions of this message have been removed]
After upgrading to 9.04.507 when modifying an existing PO, the "PO Entry
\ Lines \ Quantity/Cost" radio button is not defaulting to "Our Qty".
When manually clicking on "Our Qty" it refreshes the Supplier qty,
otherwise it doesn't.

I created a Pre Processing BPM to offset this problem but for some
reason it's not working:

set the PODetail.QtyOption field of all unchanged rows to the "Our"
expression



Mike Tonoyan / Natel Engr.

mtonoyan@...


______________________________________________________________________
Notice: This email transmission may contain confidential information and is intended only for the person(s) named. Any use, copying or disclosure to/by any other person(s) is strictly prohibited. By accepting this information, recipients confirm that they understand and will comply with all applicable ITAR and EAR requirements.
______________________________________________________________________

[Non-text portions of this message have been removed]
Send us the bpm

Sent from mobile
On May 31, 2011 12:19 PM, "Mike Tonoyan" <mtonoyan@...> wrote:
> After upgrading to 9.04.507 when modifying an existing PO, the "PO Entry
> \ Lines \ Quantity/Cost" radio button is not defaulting to "Our Qty".
> When manually clicking on "Our Qty" it refreshes the Supplier qty,
> otherwise it doesn't.
>
> I created a Pre Processing BPM to offset this problem but for some
> reason it's not working:
>
> set the PODetail.QtyOption field of all unchanged rows to the "Our"
> expression
>
>
>
> Mike Tonoyan / Natel Engr.
>
> mtonoyan@...
>
>
> ______________________________________________________________________
> Notice: This email transmission may contain confidential information and
is intended only for the person(s) named. Any use, copying or disclosure
to/by any other person(s) is strictly prohibited. By accepting this
information, recipients confirm that they understand and will comply with
all applicable ITAR and EAR requirements.
> ______________________________________________________________________
>
> [Non-text portions of this message have been removed]
>


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



I just uploaded the "PODtl_QtyType.bpm
<http://f1.grp.yahoofs.com/v1/wEjlTZWTu0NupQUfv5xXswaIkOJpm015FWHwShQxid
5WkxZO4TXcopTUYNpaUk1U6uSx_W1lGlmCdJKoTE0W290G7zuMtQ/BPMs/PODtl_QtyType.
bpm> \ PO Detail Qty Type - Non Functional" file into
"http://tech.groups.yahoo.com/group/vantage/files/BPMs/" folder.

Let me know when you download the file, so I'll delete it. Don't want
people think it's usable.



Mike Tonoyan / Natel Engr.

mtonoyan@...



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Jose Gomez
Sent: Tuesday, May 31, 2011 10:03 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] BPM to set "PODetail.QtyOption" to "Our"





Send us the bpm

Sent from mobile
On May 31, 2011 12:19 PM, "Mike Tonoyan" <mtonoyan@...
<mailto:mtonoyan%40natelengr.com> > wrote:
> After upgrading to 9.04.507 when modifying an existing PO, the "PO
Entry
> \ Lines \ Quantity/Cost" radio button is not defaulting to "Our Qty".
> When manually clicking on "Our Qty" it refreshes the Supplier qty,
> otherwise it doesn't.
>
> I created a Pre Processing BPM to offset this problem but for some
> reason it's not working:
>
> set the PODetail.QtyOption field of all unchanged rows to the "Our"
> expression
>
>
>
> Mike Tonoyan / Natel Engr.
>
> mtonoyan@... <mailto:mtonoyan%40natelengr.com>
>
>
> __________________________________________________________
> Notice: This email transmission may contain confidential information
and
is intended only for the person(s) named. Any use, copying or disclosure
to/by any other person(s) is strictly prohibited. By accepting this
information, recipients confirm that they understand and will comply
with
all applicable ITAR and EAR requirements.
> __________________________________________________________
>
> [Non-text portions of this message have been removed]
>

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




______________________________________________________________________
Notice: This email transmission may contain confidential information and is intended only for the person(s) named. Any use, copying or disclosure to/by any other person(s) is strictly prohibited. By accepting this information, recipients confirm that they understand and will comply with all applicable ITAR and EAR requirements.
______________________________________________________________________

[Non-text portions of this message have been removed]
Are you trying to assign the string Our?? if so try single quotes and
no parenthesis.
*
*

*
*
*Jose C Gomez*
Software Engineer
*
*
*NEED HELP WITH AN EPICOR ISSUE THAT CAN NOT BE SOLVED ON THE LIST?
CHECK OUT MY NEW BLOG <http://www.usdoingstuff.com> OR CONTACT ME DIRECTLY*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*



On Tue, May 31, 2011 at 4:39 PM, Mike Tonoyan <mtonoyan@...>wrote:

>
>
> Jose,
>
> I just uploaded the "PODtl_QtyType.bpm
> <http://f1.grp.yahoofs.com/v1/wEjlTZWTu0NupQUfv5xXswaIkOJpm015FWHwShQxid
> 5WkxZO4TXcopTUYNpaUk1U6uSx_W1lGlmCdJKoTE0W290G7zuMtQ/BPMs/PODtl_QtyType.
> bpm> \ PO Detail Qty Type - Non Functional" file into
> "http://tech.groups.yahoo.com/group/vantage/files/BPMs/" folder.
>
> Let me know when you download the file, so I'll delete it. Don't want
> people think it's usable.
>
>
> Mike Tonoyan / Natel Engr.
>
> mtonoyan@...
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Jose Gomez
> Sent: Tuesday, May 31, 2011 10:03 AM
> To: vantage@yahoogroups.com
> Subject: Re: [Vantage] BPM to set "PODetail.QtyOption" to "Our"
>
>
> Send us the bpm
>
> Sent from mobile
> On May 31, 2011 12:19 PM, "Mike Tonoyan" <mtonoyan@...
> <mailto:mtonoyan%40natelengr.com> > wrote:
> > After upgrading to 9.04.507 when modifying an existing PO, the "PO
> Entry
> > \ Lines \ Quantity/Cost" radio button is not defaulting to "Our Qty".
> > When manually clicking on "Our Qty" it refreshes the Supplier qty,
> > otherwise it doesn't.
> >
> > I created a Pre Processing BPM to offset this problem but for some
> > reason it's not working:
> >
> > set the PODetail.QtyOption field of all unchanged rows to the "Our"
> > expression
> >
> >
> >
> > Mike Tonoyan / Natel Engr.
> >
> > mtonoyan@... <mailto:mtonoyan%40natelengr.com>
> >
> >
> > __________________________________________________________
> > Notice: This email transmission may contain confidential information
> and
> is intended only for the person(s) named. Any use, copying or disclosure
> to/by any other person(s) is strictly prohibited. By accepting this
> information, recipients confirm that they understand and will comply
> with
> all applicable ITAR and EAR requirements.
> > __________________________________________________________
> >
> > [Non-text portions of this message have been removed]
> >
>
> [Non-text portions of this message have been removed]
>
> __________________________________________________________
> Notice: This email transmission may contain confidential information and is
> intended only for the person(s) named. Any use, copying or disclosure to/by
> any other person(s) is strictly prohibited. By accepting this information,
> recipients confirm that they understand and will comply with all applicable
> ITAR and EAR requirements.
> __________________________________________________________
>
> [Non-text portions of this message have been removed]
>
>
>


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