ProcessCaller.LaunchForm

Thanks Jim,

I knew about the shift key trick, and yes it does work with the button I have. I was hoping that there was an option to reload the open form so they don't have a lot of PO windows open. I'm looking for same behavior as right-click open with but haven't stumbled across it yet if it's even possible.



________________________________
From: jckinneman <jckinneman@...>
To: vantage@yahoogroups.com
Sent: Monday, February 20, 2012 5:46 PM
Subject: [Vantage] Re: ProcessCaller.LaunchForm

This is similar behavior whenever a form is already open, if you click on the PO Entry menu option you get the same results if the PO entry screen is already open. Epicor sees that the menu option just clicked is already in memory and doesn't launch it again.

To launch a second instance of PO entry via the menu you hold down the shift key and click the menu option.

You might be able to do the same thing, have them press shift and then click your button.

Jim Kinneman
Encompass Solutions, Inc.

--- In vantage@yahoogroups.com, "tkoch77" <tkoch77@...> wrote:
>
> Is there a way to get an open screen to refresh when using LaunchForm.
>
> Ex: I have a button on PO Suggestion that will open the most recent PO generated by the current user. However if the PO Entry screen is already and the user clicks this button nothing happens, they have to close PO Entry and then click the button.
>
> Thanks,
>
> Ted
>
>
>Â Â Â Â Â Â Â Â PONum = callresult.tables(0).rows(0).Item("PONum")
> Â Â Â Â Â Â Â Â Â 'FileName = callResult.Tables(0).Rows(0).Item("Character01")
> Â Â Â Â Â Â Â Â Â Dim opts As LaunchFormOptions = New LaunchFormOptions()
> Â Â Â Â Â Â Â Â Â With opts
> Â Â Â Â Â Â Â Â Â Â Â Â .ValueIn = PONum
> Â Â Â Â Â Â Â Â Â End With
> Â Â Â Â Â Â Â Â Â ProcessCaller.LaunchForm(oTrans, "PMGO2001",opts)
>




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

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/.%c2%a0
(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]
Is there a way to get an open screen to refresh when using LaunchForm.

Ex: I have a button on PO Suggestion that will open the most recent PO generated by the current user. However if the PO Entry screen is already and the user clicks this button nothing happens, they have to close PO Entry and then click the button.

Thanks,

Ted


PONum = callresult.tables(0).rows(0).Item("PONum")
'FileName = callResult.Tables(0).Rows(0).Item("Character01")
Dim opts As LaunchFormOptions = New LaunchFormOptions()
With opts
.ValueIn = PONum
End With
ProcessCaller.LaunchForm(oTrans, "PMGO2001",opts)
This is similar behavior whenever a form is already open, if you click on the PO Entry menu option you get the same results if the PO entry screen is already open. Epicor sees that the menu option just clicked is already in memory and doesn't launch it again.

To launch a second instance of PO entry via the menu you hold down the shift key and click the menu option.

You might be able to do the same thing, have them press shift and then click your button.

Jim Kinneman
Encompass Solutions, Inc.

--- In vantage@yahoogroups.com, "tkoch77" <tkoch77@...> wrote:
>
> Is there a way to get an open screen to refresh when using LaunchForm.
>
> Ex: I have a button on PO Suggestion that will open the most recent PO generated by the current user. However if the PO Entry screen is already and the user clicks this button nothing happens, they have to close PO Entry and then click the button.
>
> Thanks,
>
> Ted
>
>
> PONum = callresult.tables(0).rows(0).Item("PONum")
> 'FileName = callResult.Tables(0).Rows(0).Item("Character01")
> Dim opts As LaunchFormOptions = New LaunchFormOptions()
> With opts
> .ValueIn = PONum
> End With
> ProcessCaller.LaunchForm(oTrans, "PMGO2001",opts)
>