Service Connect Job Adjustments

Christopher,



When calling methods, almost every one has the CompanyID as a separate
parameter. If you go through the config guide (it's in the web services
folder), you'll find that you can set this CompanyID to more than just the
company. I have gotten in the habit that the first thing I do in the
workflows is set a process variable that sets that to company/plant. The
format of that is "CompanyID=XXXX;PlantID=YYYY". That way, when you're
calling the various methods, it always uses company XXXX and plant YYYY no
matter what your manager account is currently set at. Once I have this in a
process variable, I move that variable to CompanyID in each of my method
calls. Other things you can set with this variable are the employee ID,
language, and workstation ID.



Note that this is not the company that is inside your various datasets.



Hope that helps.



Kevin Simon

SimsTrak Consulting



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Marsch, Chris
Sent: Thursday, January 13, 2011 8:37 AM
To: VANTAGE@...; vantage@yahoogroups.com
Subject: [Vantage] Service Connect Job Adjustments





I am having an issue where running Service Connect to process Job
Adjustments, if there are multiples of the same company in a row but
different plants, the 1st different plant will fail to process. I have
found that Service Connect, which uses the manager account, takes on the
plant and adds it to the session connection id of the 1st row. Since the
Job Adjustment method does not have plant as a field in the dataset, it
cannot be handled simply. Has anyone come across this and found a
solution. I tried calling a JobEntry GetByID as the first method to see
if it would force a plant change, but no luck. Any ideas?

Christopher W. Marsch

IT/Database Administrator

Mechanical Dynamics & Analysis, Ltd.

19E British American Blvd.

Latham, NY 12110

(518) 399-3616 x272

Cell: (518) 795-0200

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
I am having an issue where running Service Connect to process Job
Adjustments, if there are multiples of the same company in a row but
different plants, the 1st different plant will fail to process. I have
found that Service Connect, which uses the manager account, takes on the
plant and adds it to the session connection id of the 1st row. Since the
Job Adjustment method does not have plant as a field in the dataset, it
cannot be handled simply. Has anyone come across this and found a
solution. I tried calling a JobEntry GetByID as the first method to see
if it would force a plant change, but no luck. Any ideas?



Christopher W. Marsch

IT/Database Administrator

Mechanical Dynamics & Analysis, Ltd.

19E British American Blvd.

Latham, NY 12110

(518) 399-3616 x272

Cell: (518) 795-0200





[Non-text portions of this message have been removed]