Invoking a BO.Method from a Custom GUI Event

Good morning,

I am looking for an example of how to invoke a BO.Method (such as Customer.Update) from a custom GUI event (such as a click on a button added to a form).

We are running Vantage 8.03.408B

Thanks,

Nathan Bonner
bonner.n
@...
Total Plastics, Inc.
Nathan,



You could do this from a BPM too.. One of the cooler things I learned
at perspectives this week was how to call methods from 4gl in a BPM..



Rob Bucek

Manufacturing Engineer

PH: (715) 284-5376 ext 3111

FAX: (715)284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site) <http://www.dsmfg.com/>





From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of bonner.nathan
Sent: Thursday, November 12, 2009 7:30 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Invoking a BO.Method from a Custom GUI Event





Good morning,

I am looking for an example of how to invoke a BO.Method (such as
Customer.Update) from a custom GUI event (such as a click on a button
added to a form).

We are running Vantage 8.03.408B

Thanks,

Nathan Bonner
bonner.n
@...
Total Plastics, Inc.





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



Would you mind sharing the info on how to call methods in a BPM?



Linda



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Rob Bucek
Sent: Thursday, November 12, 2009 9:10 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Invoking a BO.Method from a Custom GUI Event





Nathan,

You could do this from a BPM too.. One of the cooler things I learned
at perspectives this week was how to call methods from 4gl in a BPM..

Rob Bucek

Manufacturing Engineer

PH: (715) 284-5376 ext 3111

FAX: (715)284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site) <http://www.dsmfg.com/>

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of bonner.nathan
Sent: Thursday, November 12, 2009 7:30 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Invoking a BO.Method from a Custom GUI Event

Good morning,

I am looking for an example of how to invoke a BO.Method (such as
Customer.Update) from a custom GUI event (such as a click on a button
added to a form).

We are running Vantage 8.03.408B

Thanks,

Nathan Bonner
bonner.n
@...
Total Plastics, Inc.

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





[Non-text portions of this message have been removed]
Here's where I am at so far; this is working great to fire the Customer.Update BO.Method:

Private Sub btnAddSegment_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnAddSegment.Click
'// ** Place Event Handling Code Here **
Dim btnAddSegmentClick As Boolean = oTrans.Update()

End Sub

The next piece is to create a second button to delete the value in Customer.Character02 and then call the update again. I am working with the following but it is only clearing the values on the display and not deleting the actual ttCustomer.Character02 or Customer.Character02 (still a little work to do...)

Private Sub btnClearSegment_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnClearSegment.Click
'// ** Place Event Handling Code Here **
'// ** Get Property
'Dim lgClearText As Boolean = txtEpiCustom1.ClearValue
'// ** Set Property
'txtEpiCustom1.ClearValue = lgClearText

txtEpiCustom1.ResetText()

Dim btnAddSegmentClick As Boolean = oTrans.Update()

End Sub

Any ideas what to use instead of "txtEpiCustom1.ResetText()"?

Thanks,

NB

--- In vantage@yahoogroups.com, "Linda Lowney" <llowney@...> wrote:
>
> Hi Rob,
>
>
>
> Would you mind sharing the info on how to call methods in a BPM?
>
>
>
> Linda
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Rob Bucek
> Sent: Thursday, November 12, 2009 9:10 AM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] Invoking a BO.Method from a Custom GUI Event
>
>
>
>
>
> Nathan,
>
> You could do this from a BPM too.. One of the cooler things I learned
> at perspectives this week was how to call methods from 4gl in a BPM..
>
> Rob Bucek
>
> Manufacturing Engineer
>
> PH: (715) 284-5376 ext 3111
>
> FAX: (715)284-4084
>
> <http://www.dsmfg.com/>
>
> (Click the logo to view our site) <http://www.dsmfg.com/>
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
> Behalf
> Of bonner.nathan
> Sent: Thursday, November 12, 2009 7:30 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Invoking a BO.Method from a Custom GUI Event
>
> Good morning,
>
> I am looking for an example of how to invoke a BO.Method (such as
> Customer.Update) from a custom GUI event (such as a click on a button
> added to a form).
>
> We are running Vantage 8.03.408B
>
> Thanks,
>
> Nathan Bonner
> bonner.n
> @...
> Total Plastics, Inc.
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> [Non-text portions of this message have been removed]
>