I don't think this will work unless he puts a bypass in the LOGIN paragraph
which skips the PV.LOGON - otherwise the LOGTO will put him at the DW menu.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Kunzman
Sent: Tuesday, November 08, 2005 11:55 AM
To: [email protected]
Subject: RE: [U2] Plant hopping help

Put a DW in front of the MSO-03 -> EXECUTE "DW MSO-03" and it should
work.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason K.
Szemborski
Sent: Tuesday, November 08, 2005 1:17 PM
To: [email protected]
Subject: RE: [U2] Plant hopping help

Here's the whole situation...

There are plants 10, 20, 30, 40 and 50.  If a user is in plant 20, they
enter the customer entry screen, a prompt will appear asking for search
information (which can be phone, email, name, or account number) and
based on this, I go check against the customer master and log the user
to the plant that the customer belongs to.  At this point, also based on
the type of input, I may put them into the customer screen or contact
screen or something else.

UPDATE:

I have achieved the plant change, so based on the search criteria, I get
the user to the correct plant, however I am still trying to find a way
to execute a command that places the user in the screen that I want them
in.  Currently I am executing this in this fashion...

EXECUTE "LOGTO ":PLANT.NAME
EXECUTE "MSO-03"                       
CALL PV.SENDKEYS("1",1)                
CALL PV.SENDKEYS("DW_IMP.PRM{ENTER}",1)
RETURN                                  

They get to NB-TRAINING but they do not get into the MSO-03 Screen, nor
does it output the "1" value to the screen or any field on the screen.
I also tried the EXECUTE "MSO-03" command as a CALL
PV.SENDKEYS("MSO-03",1).  I even sprinkled SLEEP commands in between
each execute and PV, and that did not seem to have an effect.

That's where I am stuck at this point, still trying little things here
and there.  I think the problem I am running into is that once the LOGTO
is executed, my program loses control and the rest does not execute.

Thanks yet again...

Jason


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Trebbien
Sent: Tuesday, November 08, 2005 12:13 PM
To: [email protected]
Subject: RE: [U2] Plant hopping help

The ERP system is DataFlo.  The current systems are either running
UniData or UniVerse on Unix or NT or Windows.  DataFlo has a Multi-Plant
module for which you would set up a UniData or UniVerse account (on the
same system) for each Plant - for example:
        ACCOUNT-A could be Plant 0 in California
        ACCOUNT-B could be Plant 1 in New Mexico
        ACCOUNT-C could be Plant 2 in Florida

With the Multi-plant module a couple of the features are that the plants
can be setup to 'share' data (like General Ledger), to order from each
other, and to drop-ship (Order from 1 plant but ship to customer from
another).

Jason,
        I'm not sure what you're trying to accomplish (need more info).

* If user is trying to logon are you searching to see what Plant the
user belongs in so you can log them onto to the correct account?  You
may wish to look at program SYS.35 and try Executing the LOGTO command
(as mentioned below).

* If user is at menu, they can use the LOGTO <AccountPath or
AccountName> or simply enter PLANT and choose which plant they wish to
go to.

* If user is in an Inquiry screen, there are subroutines to allow you to
pull data from another account...

Note, I was with the DataFlo Tech Support from Budget Systems to
DataWorks to Epicor (16 years) and have since joined Kore Technologies.

Have a Great Day!

> Paul Trebbien
> Kore Technologies, Senior Support Tech. 
> "Solutions that work. People who care."
> V 858.678.0030 F 858.300.2600 W koretech.com
> 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of George Gallen
Sent: Tuesday, November 08, 2005 9:03 AM
To: [email protected]
Subject: RE: [U2] Plant hopping help


if each "plant" is on a different machine, and all machines are running
unix, you could use the rlogin command. 

WARNING: rlogin has some very serious security risks however.

rlogin is the equivilent of a telnet without the username/password
   authentication. There is an assumed trust between machines and
   usernames.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Keith W. 
> Roberts
> Sent: Tuesday, November 08, 2005 11:23 AM
> To: [email protected]
> Subject: RE: [U2] Plant hopping help
> 
> 
> You'll have to define this a bit more.  Assuming you mean that each 
> "plant"
> is a different account ... a simple EXECUTE 'LOGTO ':ACCT.NAME will do

> it.
> 
> -Keith
> 
> ----Original Message----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jason K. 
> Szemborski
> Sent: Tuesday, November 08, 2005 7:30 AM
> To: [email protected]
> Subject: [U2] Plant hopping help
> 
> > Hi all,
> > 
> > I've been working on something that have run into a road block and 
> > know it can be done, but I can't figure it out.  We have a 
> > multi-plant system and I need to take a user from one plant to 
> > another based on some search criteria.  I have the search routine 
> > written out and have a place to call a subroutine to move someone 
> > from one plant to another but have yet to find anything that can log

> > the user to another plant without them actually typing it.  Any help

> > would be greatly appreciated.
> > 
> > Environment: Universe - Pick
> > 
> > Thanks!
> > 
> > Jason Szemborski
> > -------
> > u2-users mailing list
> > [email protected]
> > To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to