Possible to change Plant in MES Screen?

Hello,


I achieved this by creating a custom button in MES, which presents a dialog displaying the current plant and asks the user if they want to change plant.  If OK is clicked by the user, a dialog result routine changes the current CallContextClientData.CurrentPlant field, before updating and refreshing the view.


Steven

Hello i have customized the MES Screen and have also updated the config file to show my customization. I want to know if its possible to change plant in the MES screen? i see there is a MESControl.PlantID but i am not sure to configure it. Any help would be appreciate it. thanks in advance

#ygrps-yiv-145663667 P.ygrps-yiv-145663667ce387540-7764-462c-979a-97379ccda45c { MARGIN:0cm 0cm 0pt;} #ygrps-yiv-145663667 LI.ygrps-yiv-145663667ce387540-7764-462c-979a-97379ccda45c { MARGIN:0cm 0cm 0pt;} #ygrps-yiv-145663667 DIV.ygrps-yiv-145663667ce387540-7764-462c-979a-97379ccda45c { MARGIN:0cm 0cm 0pt;} #ygrps-yiv-145663667 TABLE.ygrps-yiv-145663667ce387540-7764-462c-979a-97379ccda45cTable { MARGIN:0cm 0cm 0pt;} #ygrps-yiv-145663667 DIV.ygrps-yiv-145663667Section1 { }

It is possible via customisation code. But it is not designed for this as normally a plant considered a physical site

As a side note in Epicor 10, plants have been renamed to Sites.

 

You would need to get a handle to the session object and set the required plant on that.

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: 04 June 2014 18:47
To: vantage@yahoogroups.com
Subject: [Vantage] Possible to change Plant in MES Screen?

 

 

Hello i have customized the MES Screen and have also updated the config file to show my customization. I want to know if its possible to change plant in the MES screen? i see there is a MESControl.PlantID but i am not sure to configure it. Any help would be appreciate it. thanks in advance



Stephen Edginton (Beng) | Solutions & Technical Director

Mobile:  +44 7734 858415
Main:  +44 (0) 121 314 1170
Web:  www.dotnetit.co.uk

Dot Net IT Limited, One St Kenelm Court, Steel Park Road, Halesowen, B62 8HD, United Kingdom.

DotNetIT

Epicor Platinum Partner

Epicor Alliance Partner

Thank you Stephen.