I don't know if this is still a problem or not. When you are working in
Service Connect, each "request" envelop has a CompanyID that's outside all
of the datasets. Typically, you can just move the CompanyID into this
field, but you can also concatenate other information into it. I often use
this to set both the company and the plant, something like "CompanyID=ACME;
PlantID=Plt1". This is detailed in the PDF that's in your webservices
folder. What this allows you to do is set the Plant Environment when doing
transactions, as opposed to having it be whatever plant your Service Connect
login is on.
So, I set a process variable up, populate it at the very beginning of the
program (usually getting the Company and Plant from the input data), then
just move that process variable into the CompanyID variable on each request.
Note: this is not the Company variable that's part of the dataset, you'll
continue to just have that be the CompanyID without any additional
information.
I say this, because there are other options that you can add to that
CompanyID element, and I believe the UserID is one of them. That may be
worth looking into.
Kevin Simon
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Ted Koch
Sent: Wednesday, June 13, 2012 4:34 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Issue Material w/ external program
The only question I have about this is, will this affect any of the PartTran
records (corrupt them) by forcing in a different persons name into this
field? I don't see why it should, but just checking.
________________________________
From: Ted Koch <tkoch77@... <mailto:tkoch77%40yahoo.com> >
To: "vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> "
<vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> >
Sent: Wednesday, June 13, 2012 4:01 PM
Subject: Re: [Vantage] Issue Material w/ external program
I got the User ID field to change in Part Transaction History by using a
data directive. Within the Service Connect workflow I added the username to
the callcontextdataset bpmdata character01, and then with an in-transaction
directive my condition was only do this if the method is called by the
service connect user account, action is to set the PartTran.EntryPerson to
the callcontextdataset bpmdata character01.
________________________________
From: Ted Koch <tkoch77@... <mailto:tkoch77%40yahoo.com> >
To: "vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> "
<vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> >
Sent: Wednesday, June 13, 2012 1:06 PM
Subject: Re: [Vantage] Issue Material w/ external program
Could I possibly store it in CallContextDataSet -> BPM Data -> Character01
and then the username would be available in a data directive to update a
field?
________________________________
From: Rob Bucek <rbucek@... <mailto:rbucek%40dsmfg.com> >
To: "vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> "
<vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> >
Sent: Wednesday, June 13, 2012 12:52 PM
Subject: RE: [Vantage] Issue Material w/ external program
Is having service connect putting that user ID in a UD field a viable option
for you? I actually prefer that User transactions are populated with the
service connect account. It really helps when you're doing forensics try to
figure out how and where a transaction (from what process) originated from.
Worse case you could always have it go back in after the fact and change the
user id, or maybe nail it with a data directive after the fact..
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-0590
FAX: (715)284-4084
[Description: cid:1.234354861@...
<mailto:1.234354861%40web65412.mail.ac4.yahoo.com> ]<http://www.dsmfg.com/>
(Click the logo to view our site)<http://www.dsmfg.com/>
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of tkoch77
Sent: Wednesday, June 13, 2012 10:22 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Issue Material w/ external program
I have created an external program users can issue material with using
scanners. It adds the material they scan in and then issues it immediately
after using service connect. The issue I am having is when the part
transaction history is reviewed, the user id here always shows the id of the
user account I am using in service connect to call the .NET references. I am
requiring the user input their employee ID before scanning in something, so
I have that. Is there a way to change this user id field for the transaction
history to anything other than the user id from service connect calling the
.NET reference?
Thanks for any input,
Ted
[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/.
<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
[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/.
<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
[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/.
<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
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
Service Connect, each "request" envelop has a CompanyID that's outside all
of the datasets. Typically, you can just move the CompanyID into this
field, but you can also concatenate other information into it. I often use
this to set both the company and the plant, something like "CompanyID=ACME;
PlantID=Plt1". This is detailed in the PDF that's in your webservices
folder. What this allows you to do is set the Plant Environment when doing
transactions, as opposed to having it be whatever plant your Service Connect
login is on.
So, I set a process variable up, populate it at the very beginning of the
program (usually getting the Company and Plant from the input data), then
just move that process variable into the CompanyID variable on each request.
Note: this is not the Company variable that's part of the dataset, you'll
continue to just have that be the CompanyID without any additional
information.
I say this, because there are other options that you can add to that
CompanyID element, and I believe the UserID is one of them. That may be
worth looking into.
Kevin Simon
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Ted Koch
Sent: Wednesday, June 13, 2012 4:34 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Issue Material w/ external program
The only question I have about this is, will this affect any of the PartTran
records (corrupt them) by forcing in a different persons name into this
field? I don't see why it should, but just checking.
________________________________
From: Ted Koch <tkoch77@... <mailto:tkoch77%40yahoo.com> >
To: "vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> "
<vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> >
Sent: Wednesday, June 13, 2012 4:01 PM
Subject: Re: [Vantage] Issue Material w/ external program
I got the User ID field to change in Part Transaction History by using a
data directive. Within the Service Connect workflow I added the username to
the callcontextdataset bpmdata character01, and then with an in-transaction
directive my condition was only do this if the method is called by the
service connect user account, action is to set the PartTran.EntryPerson to
the callcontextdataset bpmdata character01.
________________________________
From: Ted Koch <tkoch77@... <mailto:tkoch77%40yahoo.com> >
To: "vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> "
<vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> >
Sent: Wednesday, June 13, 2012 1:06 PM
Subject: Re: [Vantage] Issue Material w/ external program
Could I possibly store it in CallContextDataSet -> BPM Data -> Character01
and then the username would be available in a data directive to update a
field?
________________________________
From: Rob Bucek <rbucek@... <mailto:rbucek%40dsmfg.com> >
To: "vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> "
<vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> >
Sent: Wednesday, June 13, 2012 12:52 PM
Subject: RE: [Vantage] Issue Material w/ external program
Is having service connect putting that user ID in a UD field a viable option
for you? I actually prefer that User transactions are populated with the
service connect account. It really helps when you're doing forensics try to
figure out how and where a transaction (from what process) originated from.
Worse case you could always have it go back in after the fact and change the
user id, or maybe nail it with a data directive after the fact..
Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-0590
FAX: (715)284-4084
[Description: cid:1.234354861@...
<mailto:1.234354861%40web65412.mail.ac4.yahoo.com> ]<http://www.dsmfg.com/>
(Click the logo to view our site)<http://www.dsmfg.com/>
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of tkoch77
Sent: Wednesday, June 13, 2012 10:22 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Issue Material w/ external program
I have created an external program users can issue material with using
scanners. It adds the material they scan in and then issues it immediately
after using service connect. The issue I am having is when the part
transaction history is reviewed, the user id here always shows the id of the
user account I am using in service connect to call the .NET references. I am
requiring the user input their employee ID before scanning in something, so
I have that. Is there a way to change this user id field for the transaction
history to anything other than the user id from service connect calling the
.NET reference?
Thanks for any input,
Ted
[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/.
<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
[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/.
<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
[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/.
<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
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]