LaunchFormOptions for Epicor.Mfg.UIRpt.PackingSlipPrint

My bad. The solution is correct. Thanks again Bernie!

--- In vantage@yahoogroups.com, "bjcracosta" <racosta@...> wrote:
>
> It seems my elation was premature. :(
>
> The solution looked correct. But now the following error is thrown:
>
> Error Detail
> ============
> Specified cast is not valid.
>
> Stack Trace
> ===========
> at Epicor.Mfg.UI.Rpt.PackingSlipPrint.PackingSlipPrintForm.OnFormLoaded()
> at Epicor.Mfg.UI.FrameWork.EpiBaseForm.formLoaded()
>
>
> It's quite frustrating!
>
> --- In vantage@yahoogroups.com, "bjcracosta" <racosta@> wrote:
> >
> > Excellent! Thank you! This is one for the archives!
> >
> > --- In vantage@yahoogroups.com, Bernie Walker <bwalker@> wrote:
> > >
> > > Here is what happens in dll file:
> > >
> > > Dim list As New ArrayList
> > > list.Add(edvPackoutView.dataView.Item(0).Item("PackNum").ToString) list.Add(Convert.ToBoolean(edvPackoutView.dataView.Item(0).Item("IsInvoiced").ToString))
> > > Dim launchObject As New LaunchFormOptions
> > > launchObject.ValueIn = list
> > > launchObject.IsModal = True
> > > ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UIRpt.PackingSlipPrint", launchObject, True)
> > >
> > > You will have to substitute the appropriate EpiDataView name from your customization for edvPackoutView
> > >
> > > -----Original Message-----
> > > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Reggie Acosta - El Monte
> > > Sent: Tuesday, August 25, 2009 7:44 PM
> > > To: vantage@yahoogroups.com
> > > Subject: RE: [Vantage] LaunchFormOptions for Epicor.Mfg.UIRpt.PackingSlipPrint
> > >
> > > The vantage program is Customer Shipment Entry, Epicor.Mfg.UI.CustShipEntry.dll. It's launched by the "Print" entry under "Actions".
> > >
> > > Thanks,
> > > Reggie Acosta
> > >
> > > > -----Original Message-----
> > > > From: Bernie Walker [mailto:bwalker@]
> > > > Sent: Tuesday, August 25, 2009 4:34 PM
> > > > To: Reggie Acosta - El Monte
> > > > Subject: RE: [Vantage] LaunchFormOptions for
> > > > Epicor.Mfg.UIRpt.PackingSlipPrint
> > > >
> > > > What vantage program do you launch the pack slip report from?
> > > > I will look in the dll file and see what I can find
> > > >
> > >
> > >
> > > ------------------------------------
>
Searched the archives and didn't find an answer for this. Tech support didn't have an answer either.

Does anyone know what goes into opts.ValueIn for this process call? Apparently, it needs something in addition to the pack id. The error is: Unable to cast object of type 'System.Int32' to type 'System.Collections.ArrayList'.

This is the code snippet that doesn't work.

Dim opts as LaunchFormOptions = New LaunchFormOptions()
opts.IsModal = True
opts.ValueIn = numPackId

ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UIRpt.PackingSlipPrint", opts)

We're on 8.03.408.

Thanks,
Reggie Acosta
The vantage program is Customer Shipment Entry, Epicor.Mfg.UI.CustShipEntry.dll. It's launched by the "Print" entry under "Actions".

Thanks,
Reggie Acosta

> -----Original Message-----
> From: Bernie Walker [mailto:bwalker@...]
> Sent: Tuesday, August 25, 2009 4:34 PM
> To: Reggie Acosta - El Monte
> Subject: RE: [Vantage] LaunchFormOptions for
> Epicor.Mfg.UIRpt.PackingSlipPrint
>
> What vantage program do you launch the pack slip report from?
> I will look in the dll file and see what I can find
>
Here is what happens in dll file:

Dim list As New ArrayList
list.Add(edvPackoutView.dataView.Item(0).Item("PackNum").ToString) list.Add(Convert.ToBoolean(edvPackoutView.dataView.Item(0).Item("IsInvoiced").ToString))
Dim launchObject As New LaunchFormOptions
launchObject.ValueIn = list
launchObject.IsModal = True
ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UIRpt.PackingSlipPrint", launchObject, True)

You will have to substitute the appropriate EpiDataView name from your customization for edvPackoutView

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Reggie Acosta - El Monte
Sent: Tuesday, August 25, 2009 7:44 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] LaunchFormOptions for Epicor.Mfg.UIRpt.PackingSlipPrint

The vantage program is Customer Shipment Entry, Epicor.Mfg.UI.CustShipEntry.dll. It's launched by the "Print" entry under "Actions".

Thanks,
Reggie Acosta

> -----Original Message-----
> From: Bernie Walker [mailto:bwalker@...]
> Sent: Tuesday, August 25, 2009 4:34 PM
> To: Reggie Acosta - El Monte
> Subject: RE: [Vantage] LaunchFormOptions for
> Epicor.Mfg.UIRpt.PackingSlipPrint
>
> What vantage program do you launch the pack slip report from?
> I will look in the dll file and see what I can find
>


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

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
Excellent! Thank you! This is one for the archives!

--- In vantage@yahoogroups.com, Bernie Walker <bwalker@...> wrote:
>
> Here is what happens in dll file:
>
> Dim list As New ArrayList
> list.Add(edvPackoutView.dataView.Item(0).Item("PackNum").ToString) list.Add(Convert.ToBoolean(edvPackoutView.dataView.Item(0).Item("IsInvoiced").ToString))
> Dim launchObject As New LaunchFormOptions
> launchObject.ValueIn = list
> launchObject.IsModal = True
> ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UIRpt.PackingSlipPrint", launchObject, True)
>
> You will have to substitute the appropriate EpiDataView name from your customization for edvPackoutView
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Reggie Acosta - El Monte
> Sent: Tuesday, August 25, 2009 7:44 PM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] LaunchFormOptions for Epicor.Mfg.UIRpt.PackingSlipPrint
>
> The vantage program is Customer Shipment Entry, Epicor.Mfg.UI.CustShipEntry.dll. It's launched by the "Print" entry under "Actions".
>
> Thanks,
> Reggie Acosta
>
> > -----Original Message-----
> > From: Bernie Walker [mailto:bwalker@...]
> > Sent: Tuesday, August 25, 2009 4:34 PM
> > To: Reggie Acosta - El Monte
> > Subject: RE: [Vantage] LaunchFormOptions for
> > Epicor.Mfg.UIRpt.PackingSlipPrint
> >
> > What vantage program do you launch the pack slip report from?
> > I will look in the dll file and see what I can find
> >
>
>
> ------------------------------------
>
> 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
>
It seems my elation was premature. :(

The solution looked correct. But now the following error is thrown:

Error Detail
============
Specified cast is not valid.

Stack Trace
===========
at Epicor.Mfg.UI.Rpt.PackingSlipPrint.PackingSlipPrintForm.OnFormLoaded()
at Epicor.Mfg.UI.FrameWork.EpiBaseForm.formLoaded()


It's quite frustrating!

--- In vantage@yahoogroups.com, "bjcracosta" <racosta@...> wrote:
>
> Excellent! Thank you! This is one for the archives!
>
> --- In vantage@yahoogroups.com, Bernie Walker <bwalker@> wrote:
> >
> > Here is what happens in dll file:
> >
> > Dim list As New ArrayList
> > list.Add(edvPackoutView.dataView.Item(0).Item("PackNum").ToString) list.Add(Convert.ToBoolean(edvPackoutView.dataView.Item(0).Item("IsInvoiced").ToString))
> > Dim launchObject As New LaunchFormOptions
> > launchObject.ValueIn = list
> > launchObject.IsModal = True
> > ProcessCaller.LaunchForm(oTrans, "Epicor.Mfg.UIRpt.PackingSlipPrint", launchObject, True)
> >
> > You will have to substitute the appropriate EpiDataView name from your customization for edvPackoutView
> >
> > -----Original Message-----
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Reggie Acosta - El Monte
> > Sent: Tuesday, August 25, 2009 7:44 PM
> > To: vantage@yahoogroups.com
> > Subject: RE: [Vantage] LaunchFormOptions for Epicor.Mfg.UIRpt.PackingSlipPrint
> >
> > The vantage program is Customer Shipment Entry, Epicor.Mfg.UI.CustShipEntry.dll. It's launched by the "Print" entry under "Actions".
> >
> > Thanks,
> > Reggie Acosta
> >
> > > -----Original Message-----
> > > From: Bernie Walker [mailto:bwalker@]
> > > Sent: Tuesday, August 25, 2009 4:34 PM
> > > To: Reggie Acosta - El Monte
> > > Subject: RE: [Vantage] LaunchFormOptions for
> > > Epicor.Mfg.UIRpt.PackingSlipPrint
> > >
> > > What vantage program do you launch the pack slip report from?
> > > I will look in the dll file and see what I can find
> > >
> >
> >
> > ------------------------------------