Open other UI Gui

I haven't look at the exact program you are calling but not all programs will automatically process the value you pass to it via the launch options. You may have to put a customization on the called program to handle the values passed to it and kick off the oTrans.Method (ie. oTrans.GetByID(partnumber)) appropriate to load the screen.

Jim Kinneman
Encompass Solutions, Inc

--- In vantage@yahoogroups.com, "Anon" <jgiese@...> wrote:
>
> Just a bit of a bump on this, I'm really hoping someone can help me. I've called Epicor and got some more bounce around on this so.... :S
>
> --- In vantage@yahoogroups.com, "Anon" <jgiese@> wrote:
> >
> > I am trying to open the HH Move Inv screen from the HH Pack out screen with a button on the lines tab. Epicor 9.05.607A. I have the below code in my customization, and it launches the UI but I can't get it to pass the part number
> >
> > private void btnMvInt_Click(object sender, System.EventArgs args)
> > {
> > // ** Place Event Handling Code Here **
> > Control txtPartNum = csm.GetNativeControlReference("5bfd1d21-4956-4b6b-8bbc-d7b575109f95");
> > LaunchFormOptions opts = new LaunchFormOptions();
> > opts.IsModal = false;
> > opts.SuppressFormSearch = true;
> > opts.ValueIn = txtPartNum.Text;
> > ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UI.HHInvTransferEntry", opts);
> > }
> >
> > If I use a messagebox show txtPartNum.Text does return the part number I expect from the PackOut.PartNum field on the lines tab. What am I missing?
> >
>
I am trying to open the HH Move Inv screen from the HH Pack out screen with a button on the lines tab. Epicor 9.05.607A. I have the below code in my customization, and it launches the UI but I can't get it to pass the part number

private void btnMvInt_Click(object sender, System.EventArgs args)
{
// ** Place Event Handling Code Here **
Control txtPartNum = csm.GetNativeControlReference("5bfd1d21-4956-4b6b-8bbc-d7b575109f95");
LaunchFormOptions opts = new LaunchFormOptions();
opts.IsModal = false;
opts.SuppressFormSearch = true;
opts.ValueIn = txtPartNum.Text;
ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UI.HHInvTransferEntry", opts);
}

If I use a messagebox show txtPartNum.Text does return the part number I expect from the PackOut.PartNum field on the lines tab. What am I missing?
Just a bit of a bump on this, I'm really hoping someone can help me. I've called Epicor and got some more bounce around on this so.... :S

--- In vantage@yahoogroups.com, "Anon" <jgiese@...> wrote:
>
> I am trying to open the HH Move Inv screen from the HH Pack out screen with a button on the lines tab. Epicor 9.05.607A. I have the below code in my customization, and it launches the UI but I can't get it to pass the part number
>
> private void btnMvInt_Click(object sender, System.EventArgs args)
> {
> // ** Place Event Handling Code Here **
> Control txtPartNum = csm.GetNativeControlReference("5bfd1d21-4956-4b6b-8bbc-d7b575109f95");
> LaunchFormOptions opts = new LaunchFormOptions();
> opts.IsModal = false;
> opts.SuppressFormSearch = true;
> opts.ValueIn = txtPartNum.Text;
> ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UI.HHInvTransferEntry", opts);
> }
>
> If I use a messagebox show txtPartNum.Text does return the part number I expect from the PackOut.PartNum field on the lines tab. What am I missing?
>