Processcaller example / How to define Parameters

No I have not tried that. Would be interesting to try though.



________________________________
From: Tim <tim@...>
To: "vantage@yahoogroups.com" <vantage@yahoogroups.com>
Sent: Friday, June 29, 2012 11:31 AM
Subject: RE: [Vantage] Processcaller example / How to define Parameters

That works Great! Thank you
Just wondering... have you ever used ProcessCaller to do an update?Â

Thanks again Ted

Tim


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Ted Koch
Sent: Thursday, June 28, 2012 2:12 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Processcaller example / How to define Parameters

Here's a little example.

         Dim user as String = POSuggEntryForm.Session.UserID
         Dim PONum as string
         Dim opts2 As New SearchOptions(Epicor.Mfg.UI.Searches.SearchMode.AutoSearch)
         opts2.DataSetMode = DataSetMode.ListDataSet
         opts2.SortDescending = true
         opts2.PreLoadSearchFilter = "EntryPerson = '" & user & "'"
         Dim callResult As Object = ProcessCaller.LaunchSearch(POSuggEntryForm, "POAdapter", opts2)
            If(TypeOf callResult Is System.Data.DataSet) AndAlso (DirectCast(callResult, DataSet).Tables(0).Rows.Count > 0) Then
               'do stuff with returned dataset
            End If



________________________________
From: timriley06 <tim@...>
To: vantage@yahoogroups.com
Sent: Thursday, June 28, 2012 12:23 PM
Subject: [Vantage] Processcaller example /Â How to define Parameters

Hello everyone,

I am trying to use the processcaller statement for the first time to do a GetList method. I was wondering if someone had a code example for creating the where clause in the parameter and calling the statement so I get back a filtered list.

Thanks.



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

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]



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

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





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

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]
Hello everyone,

I am trying to use the processcaller statement for the first time to do a GetList method. I was wondering if someone had a code example for creating the where clause in the parameter and calling the statement so I get back a filtered list.

Thanks.
Here's a little example.

         Dim user as String = POSuggEntryForm.Session.UserID
         Dim PONum as string
         Dim opts2 As New SearchOptions(Epicor.Mfg.UI.Searches.SearchMode.AutoSearch)
         opts2.DataSetMode = DataSetMode.ListDataSet
         opts2.SortDescending = true
         opts2.PreLoadSearchFilter = "EntryPerson = '" & user & "'"
         Dim callResult As Object = ProcessCaller.LaunchSearch(POSuggEntryForm, "POAdapter", opts2)
            If(TypeOf callResult Is System.Data.DataSet) AndAlso (DirectCast(callResult, DataSet).Tables(0).Rows.Count > 0) Then
               'do stuff with returned dataset
            End If



________________________________
From: timriley06 <tim@...>
To: vantage@yahoogroups.com
Sent: Thursday, June 28, 2012 12:23 PM
Subject: [Vantage] Processcaller example / How to define Parameters

Hello everyone,

I am trying to use the processcaller statement for the first time to do a GetList method. I was wondering if someone had a code example for creating the where clause in the parameter and calling the statement so I get back a filtered list.

Thanks.



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

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]
That works Great! Thank you
Just wondering... have you ever used ProcessCaller to do an update?

Thanks again Ted

Tim


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Ted Koch
Sent: Thursday, June 28, 2012 2:12 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Processcaller example / How to define Parameters

Here's a little example.

         Dim user as String = POSuggEntryForm.Session.UserID
         Dim PONum as string
         Dim opts2 As New SearchOptions(Epicor.Mfg.UI.Searches.SearchMode.AutoSearch)
         opts2.DataSetMode = DataSetMode.ListDataSet
         opts2.SortDescending = true
         opts2.PreLoadSearchFilter = "EntryPerson = '" & user & "'"
         Dim callResult As Object = ProcessCaller.LaunchSearch(POSuggEntryForm, "POAdapter", opts2)
            If(TypeOf callResult Is System.Data.DataSet) AndAlso (DirectCast(callResult, DataSet).Tables(0).Rows.Count > 0) Then
               'do stuff with returned dataset
            End If



________________________________
From: timriley06 <tim@...>
To: vantage@yahoogroups.com
Sent: Thursday, June 28, 2012 12:23 PM
Subject: [Vantage] Processcaller example / How to define Parameters

Hello everyone,

I am trying to use the processcaller statement for the first time to do a GetList method. I was wondering if someone had a code example for creating the where clause in the parameter and calling the statement so I get back a filtered list.

Thanks.



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

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]



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

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