Service Connect Specific Plant .Net Call

I worked around my issue by creating layers of sub workflows using the get list methods on the Company and Plant methods to cycle through all companies and plants. I then used the Epicor Login tab on under process properties to select the plant and company with an Xpath.

Carson




--- In vantage@yahoogroups.com, "carson251" <carsonepicor@...> wrote:
>
> I've started using .Net calls in all my service connect routines and they work great, but I can't figure out how to specify a specific plant.
> With webservices setting the Company to "CompanyID=DesiredCompany;PlantID=DesiredPlant" works great, but this doesn't seem to have any effect with .Net. I've also tried setting the CallContextDataSet\Client\CurrentCompany and CallContextDataSet\Client\CurrentPlant values with no luck.
>
> Any thoughts?
>
> Thanks
>
> Carson
>
I've started using .Net calls in all my service connect routines and they work great, but I can't figure out how to specify a specific plant.
With webservices setting the Company to "CompanyID=DesiredCompany;PlantID=DesiredPlant" works great, but this doesn't seem to have any effect with .Net. I've also tried setting the CallContextDataSet\Client\CurrentCompany and CallContextDataSet\Client\CurrentPlant values with no luck.

Any thoughts?

Thanks

Carson
When you Add a .NET reference you specify the Plant there.




________________________________
From: carson251 <carsonepicor@...>
To: vantage@yahoogroups.com
Sent: Friday, October 26, 2012 3:39 PM
Subject: [Vantage] Service Connect Specific Plant .Net Call

I've started using .Net calls in all my service connect routines and they work great, but I can't figure out how to specify a specific plant.
With webservices setting the Company to "CompanyID=DesiredCompany;PlantID=DesiredPlant" works great, but this doesn't seem to have any effect with .Net. I've also tried setting the CallContextDataSet\Client\CurrentCompany and CallContextDataSet\Client\CurrentPlant values with no luck.

Any thoughts?

Thanks

Carson




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

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]
I need to change the plant during the SC routine. I'm creating a Job to for an RMA and I don't know what plant the RMA is in when I start.

If I can't find a better way maybe I'll cycle through the plants with a subroutines.



--- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
>
> When you Add a .NET reference you specify the Plant there.
>
>
>
>
> ________________________________
> From: carson251 <carsonepicor@...>
> To: vantage@yahoogroups.com
> Sent: Friday, October 26, 2012 3:39 PM
> Subject: [Vantage] Service Connect Specific Plant .Net Call
>
> I've started using .Net calls in all my service connect routines and they work great, but I can't figure out how to specify a specific plant.
> With webservices setting the Company to "CompanyID=DesiredCompany;PlantID=DesiredPlant" works great, but this doesn't seem to have any effect with .Net. I've also tried setting the CallContextDataSet\Client\CurrentCompany and CallContextDataSet\Client\CurrentPlant values with no luck.
>
> Any thoughts?
>
> Thanks
>
> Carson
>
>
>
>
> ------------------------------------
>
> 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]
>
I need to be able to select the the plant during the service connect routine so I normally leave the plant and company blank when importing the .net reference.


Carson


--- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
>
> When you Add a .NET reference you specify the Plant there.
>
>
>
>
> ________________________________
> From: carson251 <carsonepicor@...>
> To: vantage@yahoogroups.com
> Sent: Friday, October 26, 2012 3:39 PM
> Subject: [Vantage] Service Connect Specific Plant .Net Call
>
> I've started using .Net calls in all my service connect routines and they work great, but I can't figure out how to specify a specific plant.
> With webservices setting the Company to "CompanyID=DesiredCompany;PlantID=DesiredPlant" works great, but this doesn't seem to have any effect with .Net. I've also tried setting the CallContextDataSet\Client\CurrentCompany and CallContextDataSet\Client\CurrentPlant values with no luck.
>
> Any thoughts?
>
> Thanks
>
> Carson
>
>
>
>
> ------------------------------------
>
> 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]
>