User Name Blank Title 66991

Dale,
you want
DCD-USERID.
A couple others I know are CUR-PLANT and CUR-COMP.
To use it:
ASSIGN variable = DCD-USERID.

Tony





________________________________
From: Dale R. Kalsow <dale.r.kalsow@...>
To: vantage@yahoogroups.com
Sent: Thursday, November 6, 2008 1:33:16 PM
Subject: [Vantage] User Name


Does anyone know the syntax to get the user name in a BPM?

Thanks!

Dale

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






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

I having problems creating a suitable BPM to alert the buyer and the
requestor(character03 in POHeader) once the PO as been approved through
Approval.

Background, I am using character03(POheader) as a lookup on the persons
table as the PO requestor. I want BPM to email the requestor and
BuyerID once the PO has been approved.

I can't seem to get an email sent using the PO Update Object when going
through the PO approval process, it works ok , when not part of the PO
approval process.

I suppose in summary

1) Can I get the BPM to work like I want to on the PO update? I am just
being stupid.
2) If not , then would I be right in assuming that I would have to
execute some 4gl code to from the POapromsg table to the POheader and
person tables to get the data and generate an email from the 4gl code
rather than the template?

TIa
I have a BAM working that notifies the Buyer (that raised the PO)
when it has been approved by the senior purchaser.

The BAM runs off the POHeader table and has the following rules:
ApprovedBy <> BuyerID (Field Name)
AND AprovalStatus = A (Value)
AND ApprovedBy <> [blank] (Value)

The Alert then runs the following .p code:

/* Send email whenever a Purchase Order is authorised */
{ud/GlbAlert.i &TableName = "POHeader"}

DEFINE VARIABLE NewEmailBody AS CHARACTER NO-UNDO.

FIND Vendor WHERE (Vendor.Company = POHeader.Company) AND
(Vendor.VendorNum = POHeader.VendorNum) NO-LOCK.

FIND PurAgent WHERE (PurAgent.Company = POHeader.Company) AND
(PurAgent.BuyerId = POHeader.BuyerID) NO-LOCK.

/* Don't send email if PO is closed */
If NOT (POHeader.OpenOrder) THEN DO:
RETURN "CANCEL SEND":U.
END.

/* Create email */
ASSIGN Email-To = STRING(PurAgent.EMailAddress)
Email-Subject = "Purchase Order has been approved: # " + STRING
(POHeader.PONum)

/* Create the new body of the email */
NewEmailBody = "~nOrder Number: " + STRING(POHeader.PONum)
+ "~n~nSupplier: " + STRING(Vendor.Name)
+ "~n~nOrder Date: " + STRING(POHeader.OrderDate).


ASSIGN NewEmailBody = NewEmailBody
+ "~n~nEntry Person: " + STRING(POHeader.EntryPerson)
+ "~n~nApproved Value: " + STRING(POHeader.ApprovedAmount)
+ "~n~nDO NOT REPLY TO THIS E-MAIL ACCOUNT, IT DOES NOT GET
REVIEWED!".

/* Print Email Body */
ASSIGN Email-Text = NewEmailBody



I only introduced this BAM recently but, so far, it seems to be
working ok.

It may be of some help to you.

Nigel.



--- In vantage@yahoogroups.com, "brychanwilliams"
<brychanwilliams@...> wrote:
>
> Hi,
>
> I having problems creating a suitable BPM to alert the buyer and
the
> requestor(character03 in POHeader) once the PO as been approved
through
> Approval.
>
> Background, I am using character03(POheader) as a lookup on the
persons
> table as the PO requestor. I want BPM to email the requestor and
> BuyerID once the PO has been approved.
>
> I can't seem to get an email sent using the PO Update Object when
going
> through the PO approval process, it works ok , when not part of the
PO
> approval process.
>
> I suppose in summary
>
> 1) Can I get the BPM to work like I want to on the PO update? I am
just
> being stupid.
> 2) If not , then would I be right in assuming that I would have to
> execute some 4gl code to from the POapromsg table to the POheader
and
> person tables to get the data and generate an email from the 4gl
code
> rather than the template?
>
> TIa
>
Hi, Thanks for the below, I have something similar in v6.1 but was
hoping the BPM could do the trick in v8

--- In vantage@yahoogroups.com, "Nigel Kerley" <nigel.kerley@...>
wrote:
>
> I have a BAM working that notifies the Buyer (that raised the PO)
> when it has been approved by the senior purchaser.
>
> The BAM runs off the POHeader table and has the following rules:
> ApprovedBy <> BuyerID (Field Name)
> AND AprovalStatus = A (Value)
> AND ApprovedBy <> [blank] (Value)
>
> The Alert then runs the following .p code:
>
> /* Send email whenever a Purchase Order is authorised */
> {ud/GlbAlert.i &TableName = "POHeader"}
>
> DEFINE VARIABLE NewEmailBody AS CHARACTER NO-UNDO.
>
> FIND Vendor WHERE (Vendor.Company = POHeader.Company) AND
> (Vendor.VendorNum = POHeader.VendorNum) NO-LOCK.
>
> FIND PurAgent WHERE (PurAgent.Company = POHeader.Company) AND
> (PurAgent.BuyerId = POHeader.BuyerID) NO-LOCK.
>
> /* Don't send email if PO is closed */
> If NOT (POHeader.OpenOrder) THEN DO:
> RETURN "CANCEL SEND":U.
> END.
>
> /* Create email */
> ASSIGN Email-To = STRING(PurAgent.EMailAddress)
> Email-Subject = "Purchase Order has been approved: # " + STRING
> (POHeader.PONum)
>
> /* Create the new body of the email */
> NewEmailBody = "~nOrder Number: " + STRING(POHeader.PONum)
> + "~n~nSupplier: " + STRING(Vendor.Name)
> + "~n~nOrder Date: " + STRING(POHeader.OrderDate).
>
>
> ASSIGN NewEmailBody = NewEmailBody
> + "~n~nEntry Person: " + STRING(POHeader.EntryPerson)
> + "~n~nApproved Value: " + STRING(POHeader.ApprovedAmount)
> + "~n~nDO NOT REPLY TO THIS E-MAIL ACCOUNT, IT DOES NOT GET
> REVIEWED!".
>
> /* Print Email Body */
> ASSIGN Email-Text = NewEmailBody
>
>
>
> I only introduced this BAM recently but, so far, it seems to be
> working ok.
>
> It may be of some help to you.
>
> Nigel.
>
>
>
> --- In vantage@yahoogroups.com, "brychanwilliams"
> <brychanwilliams@> wrote:
> >
> > Hi,
> >
> > I having problems creating a suitable BPM to alert the buyer and
> the
> > requestor(character03 in POHeader) once the PO as been approved
> through
> > Approval.
> >
> > Background, I am using character03(POheader) as a lookup on the
> persons
> > table as the PO requestor. I want BPM to email the requestor and
> > BuyerID once the PO has been approved.
> >
> > I can't seem to get an email sent using the PO Update Object when
> going
> > through the PO approval process, it works ok , when not part of
the
> PO
> > approval process.
> >
> > I suppose in summary
> >
> > 1) Can I get the BPM to work like I want to on the PO update? I
am
> just
> > being stupid.
> > 2) If not , then would I be right in assuming that I would have
to
> > execute some 4gl code to from the POapromsg table to the POheader
> and
> > person tables to get the data and generate an email from the 4gl
> code
> > rather than the template?
> >
> > TIa
> >
>
Has anyone used a BPM to fill in the user's name in the Sales Order,
Commissions, Salesperson field? Or is there some other good way to do
this. I would like the person logged in to automatically fill in there.



Thanks!







Dale Kalsow | Information Technologies Director | Determan Brownie,
Inc.

Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
dale.r.kalsow@... <mailto:dale.r.kalsow@...>





"Ambition is the path to success. Persistence is the vehicle you arrive
in."



Electronic Privacy Notice. This e-mail, and any attachments, contains
information that is, or may be, covered by the Electronic Communications
Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
proprietary in nature. If you are not the intended recipient, please be
advised that you are legally prohibited from retaining, using, copying,
distributing, or otherwise disclosing this information in any manner.
Instead, please reply to the sender that you have received this
communication in error, and then immediately delete it. Thank you in
advance for your cooperation.













[Non-text portions of this message have been removed]
I have setup using the PO.Update method the following BPM as
pre-processing:

Conditions: The POHeader.ApprovalStatus field of the changed row is
equal to the "P" value

Action: Send e-mail synchronously based on the "PO Needs Approval"
template.

My template includes vendor, PO#, amount, buyer & date.

Ken

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of brychanwilliams
Sent: Thursday, July 17, 2008 6:27 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BPM For PO Approval



Hi, Thanks for the below, I have something similar in v6.1 but was
hoping the BPM could do the trick in v8

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"Nigel Kerley" <nigel.kerley@...>
wrote:
>
> I have a BAM working that notifies the Buyer (that raised the PO)
> when it has been approved by the senior purchaser.
>
> The BAM runs off the POHeader table and has the following rules:
> ApprovedBy <> BuyerID (Field Name)
> AND AprovalStatus = A (Value)
> AND ApprovedBy <> [blank] (Value)
>
> The Alert then runs the following .p code:
>
> /* Send email whenever a Purchase Order is authorised */
> {ud/GlbAlert.i &TableName = "POHeader"}
>
> DEFINE VARIABLE NewEmailBody AS CHARACTER NO-UNDO.
>
> FIND Vendor WHERE (Vendor.Company = POHeader.Company) AND
> (Vendor.VendorNum = POHeader.VendorNum) NO-LOCK.
>
> FIND PurAgent WHERE (PurAgent.Company = POHeader.Company) AND
> (PurAgent.BuyerId = POHeader.BuyerID) NO-LOCK.
>
> /* Don't send email if PO is closed */
> If NOT (POHeader.OpenOrder) THEN DO:
> RETURN "CANCEL SEND":U.
> END.
>
> /* Create email */
> ASSIGN Email-To = STRING(PurAgent.EMailAddress)
> Email-Subject = "Purchase Order has been approved: # " + STRING
> (POHeader.PONum)
>
> /* Create the new body of the email */
> NewEmailBody = "~nOrder Number: " + STRING(POHeader.PONum)
> + "~n~nSupplier: " + STRING(Vendor.Name)
> + "~n~nOrder Date: " + STRING(POHeader.OrderDate).
>
>
> ASSIGN NewEmailBody = NewEmailBody
> + "~n~nEntry Person: " + STRING(POHeader.EntryPerson)
> + "~n~nApproved Value: " + STRING(POHeader.ApprovedAmount)
> + "~n~nDO NOT REPLY TO THIS E-MAIL ACCOUNT, IT DOES NOT GET
> REVIEWED!".
>
> /* Print Email Body */
> ASSIGN Email-Text = NewEmailBody
>
>
>
> I only introduced this BAM recently but, so far, it seems to be
> working ok.
>
> It may be of some help to you.
>
> Nigel.
>
>
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"brychanwilliams"
> <brychanwilliams@> wrote:
> >
> > Hi,
> >
> > I having problems creating a suitable BPM to alert the buyer and
> the
> > requestor(character03 in POHeader) once the PO as been approved
> through
> > Approval.
> >
> > Background, I am using character03(POheader) as a lookup on the
> persons
> > table as the PO requestor. I want BPM to email the requestor and
> > BuyerID once the PO has been approved.
> >
> > I can't seem to get an email sent using the PO Update Object when
> going
> > through the PO approval process, it works ok , when not part of
the
> PO
> > approval process.
> >
> > I suppose in summary
> >
> > 1) Can I get the BPM to work like I want to on the PO update? I
am
> just
> > being stupid.
> > 2) If not , then would I be right in assuming that I would have
to
> > execute some 4gl code to from the POapromsg table to the POheader
> and
> > person tables to get the data and generate an email from the 4gl
> code
> > rather than the template?
> >
> > TIa
> >
>






[Non-text portions of this message have been removed]
Thanks, but really it needs to be on full approval. I ran the tracing
logs, and I am not expert but it seems that PO header doesn't get
updated through the Business Objects, i could be wrong , still
getting to grips with it. Hence;

1) BPM POHeader.approvalstatus = "A" , when going through the PO
approval process it doesn't pick it up.
2) BPM POHeader.approvalstatus = "A" , the po is approved in the
POEntry screen it works.

However, On POAprmsg this will provide the alert however, I think I
need to write some 4GL to suck through the other Info.



--- In vantage@yahoogroups.com, "Ken Williams" <ken@...> wrote:
>
> I have setup using the PO.Update method the following BPM as
> pre-processing:
>
> Conditions: The POHeader.ApprovalStatus field of the changed row is
> equal to the "P" value
>
> Action: Send e-mail synchronously based on the "PO Needs Approval"
> template.
>
> My template includes vendor, PO#, amount, buyer & date.
>
> Ken
>
> ________________________________
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf
> Of brychanwilliams
> Sent: Thursday, July 17, 2008 6:27 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: BPM For PO Approval
>
>
>
> Hi, Thanks for the below, I have something similar in v6.1 but was
> hoping the BPM could do the trick in v8
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
> "Nigel Kerley" <nigel.kerley@>
> wrote:
> >
> > I have a BAM working that notifies the Buyer (that raised the PO)
> > when it has been approved by the senior purchaser.
> >
> > The BAM runs off the POHeader table and has the following rules:
> > ApprovedBy <> BuyerID (Field Name)
> > AND AprovalStatus = A (Value)
> > AND ApprovedBy <> [blank] (Value)
> >
> > The Alert then runs the following .p code:
> >
> > /* Send email whenever a Purchase Order is authorised */
> > {ud/GlbAlert.i &TableName = "POHeader"}
> >
> > DEFINE VARIABLE NewEmailBody AS CHARACTER NO-UNDO.
> >
> > FIND Vendor WHERE (Vendor.Company = POHeader.Company) AND
> > (Vendor.VendorNum = POHeader.VendorNum) NO-LOCK.
> >
> > FIND PurAgent WHERE (PurAgent.Company = POHeader.Company) AND
> > (PurAgent.BuyerId = POHeader.BuyerID) NO-LOCK.
> >
> > /* Don't send email if PO is closed */
> > If NOT (POHeader.OpenOrder) THEN DO:
> > RETURN "CANCEL SEND":U.
> > END.
> >
> > /* Create email */
> > ASSIGN Email-To = STRING(PurAgent.EMailAddress)
> > Email-Subject = "Purchase Order has been approved: # " + STRING
> > (POHeader.PONum)
> >
> > /* Create the new body of the email */
> > NewEmailBody = "~nOrder Number: " + STRING(POHeader.PONum)
> > + "~n~nSupplier: " + STRING(Vendor.Name)
> > + "~n~nOrder Date: " + STRING(POHeader.OrderDate).
> >
> >
> > ASSIGN NewEmailBody = NewEmailBody
> > + "~n~nEntry Person: " + STRING(POHeader.EntryPerson)
> > + "~n~nApproved Value: " + STRING(POHeader.ApprovedAmount)
> > + "~n~nDO NOT REPLY TO THIS E-MAIL ACCOUNT, IT DOES NOT GET
> > REVIEWED!".
> >
> > /* Print Email Body */
> > ASSIGN Email-Text = NewEmailBody
> >
> >
> >
> > I only introduced this BAM recently but, so far, it seems to be
> > working ok.
> >
> > It may be of some help to you.
> >
> > Nigel.
> >
> >
> >
> > --- In vantage@yahoogroups.com <mailto:vantage%
40yahoogroups.com> ,
> "brychanwilliams"
> > <brychanwilliams@> wrote:
> > >
> > > Hi,
> > >
> > > I having problems creating a suitable BPM to alert the buyer
and
> > the
> > > requestor(character03 in POHeader) once the PO as been approved
> > through
> > > Approval.
> > >
> > > Background, I am using character03(POheader) as a lookup on the
> > persons
> > > table as the PO requestor. I want BPM to email the requestor
and
> > > BuyerID once the PO has been approved.
> > >
> > > I can't seem to get an email sent using the PO Update Object
when
> > going
> > > through the PO approval process, it works ok , when not part of
> the
> > PO
> > > approval process.
> > >
> > > I suppose in summary
> > >
> > > 1) Can I get the BPM to work like I want to on the PO update? I
> am
> > just
> > > being stupid.
> > > 2) If not , then would I be right in assuming that I would have
> to
> > > execute some 4gl code to from the POapromsg table to the
POheader
> > and
> > > person tables to get the data and generate an email from the
4gl
> > code
> > > rather than the template?
> > >
> > > TIa
> > >
> >
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Has anyone used a BPM to fill in the user's name in the Sales Order,
Commissions, Salesperson field? Or is there some other good way to do
this. I would like the person logged in to automatically fill in there.



Thanks!







Dale Kalsow | Information Technologies Director | Determan Brownie,
Inc.

Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
dale.r.kalsow@...





"Ambition is the path to success. Persistence is the vehicle you arrive
in."



Electronic Privacy Notice. This e-mail, and any attachments, contains
information that is, or may be, covered by the Electronic Communications
Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
proprietary in nature. If you are not the intended recipient, please be
advised that you are legally prohibited from retaining, using, copying,
distributing, or otherwise disclosing this information in any manner.
Instead, please reply to the sender that you have received this
communication in error, and then immediately delete it. Thank you in
advance for your cooperation.













[Non-text portions of this message have been removed]
I have implemented something similar to what you are describing but
again it's as well only at 90%. I believe I need some type of .p call
to generate the email based upon the buyers email address. I am not
very well versed in 4GL and would appreciate any type of assistance!

Here is how we set it up to work now...
I am doing everything thru BPM Directives
-I have buyers with various approval amounts

Option 1
On the "PO.Update"
the ttPOHeader.ApprovalStatus field has been changed from any to "P"
to send an email from the Post-Process to notify that a P.O. was
generated that was within the respective approval amount. I have hard
coded the managers email adddresses into the template. Emailing
information regarding the Name,Amount and PO Number.

Option2
the ttPOHeader.ApprovalStatus field has been changed from any to "A"
now I send an email to the manger notifying them that an Aprroval is
required! Once again I have hard coded the managers email adddresses
into the template. Emailing information regarding the Name,Amount and
PO Number.

Once Approval is generated by the Manager:
I use a BPM based upon
POApvMsg.Update
the ttPOApvMsg.ApproverResponse field has been changed from any to
"Approved"
Now I send an email to all the buyers stating that the PO is approved
from management. I have hard coded the buyers email adddresses into
the template. Emailing information regarding the Name,Amount and PO
Number.

This is where I need help to resolve multiple recipients from getting
the email. I would like to send an email only to the issuing buyer.
The fact that the email address does not exist int the table POApvMsg.

This scenario will create the event on the "Full Approval" but I am
sorry that I do not have the tools to finish the solution.

-Joe


--- In vantage@yahoogroups.com, "brychanwilliams"
<brychanwilliams@...> wrote:
>
> Thanks, but really it needs to be on full approval. I ran the tracing
> logs, and I am not expert but it seems that PO header doesn't get
> updated through the Business Objects, i could be wrong , still
> getting to grips with it. Hence;
>
> 1) BPM POHeader.approvalstatus = "A" , when going through the PO
> approval process it doesn't pick it up.
> 2) BPM POHeader.approvalstatus = "A" , the po is approved in the
> POEntry screen it works.
>
> However, On POAprmsg this will provide the alert however, I think I
> need to write some 4GL to suck through the other Info.
>
>
>
> --- In vantage@yahoogroups.com, "Ken Williams" <ken@> wrote:
> >
> > I have setup using the PO.Update method the following BPM as
> > pre-processing:
> >
> > Conditions: The POHeader.ApprovalStatus field of the changed row is
> > equal to the "P" value
> >
> > Action: Send e-mail synchronously based on the "PO Needs Approval"
> > template.
> >
> > My template includes vendor, PO#, amount, buyer & date.
> >
> > Ken
> >
> > ________________________________
> >
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> Behalf
> > Of brychanwilliams
> > Sent: Thursday, July 17, 2008 6:27 AM
> > To: vantage@yahoogroups.com
> > Subject: [Vantage] Re: BPM For PO Approval
> >
> >
> >
> > Hi, Thanks for the below, I have something similar in v6.1 but was
> > hoping the BPM could do the trick in v8
> >
> > --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
> > "Nigel Kerley" <nigel.kerley@>
> > wrote:
> > >
> > > I have a BAM working that notifies the Buyer (that raised the PO)
> > > when it has been approved by the senior purchaser.
> > >
> > > The BAM runs off the POHeader table and has the following rules:
> > > ApprovedBy <> BuyerID (Field Name)
> > > AND AprovalStatus = A (Value)
> > > AND ApprovedBy <> [blank] (Value)
> > >
> > > The Alert then runs the following .p code:
> > >
> > > /* Send email whenever a Purchase Order is authorised */
> > > {ud/GlbAlert.i &TableName = "POHeader"}
> > >
> > > DEFINE VARIABLE NewEmailBody AS CHARACTER NO-UNDO.
> > >
> > > FIND Vendor WHERE (Vendor.Company = POHeader.Company) AND
> > > (Vendor.VendorNum = POHeader.VendorNum) NO-LOCK.
> > >
> > > FIND PurAgent WHERE (PurAgent.Company = POHeader.Company) AND
> > > (PurAgent.BuyerId = POHeader.BuyerID) NO-LOCK.
> > >
> > > /* Don't send email if PO is closed */
> > > If NOT (POHeader.OpenOrder) THEN DO:
> > > RETURN "CANCEL SEND":U.
> > > END.
> > >
> > > /* Create email */
> > > ASSIGN Email-To = STRING(PurAgent.EMailAddress)
> > > Email-Subject = "Purchase Order has been approved: # " + STRING
> > > (POHeader.PONum)
> > >
> > > /* Create the new body of the email */
> > > NewEmailBody = "~nOrder Number: " + STRING(POHeader.PONum)
> > > + "~n~nSupplier: " + STRING(Vendor.Name)
> > > + "~n~nOrder Date: " + STRING(POHeader.OrderDate).
> > >
> > >
> > > ASSIGN NewEmailBody = NewEmailBody
> > > + "~n~nEntry Person: " + STRING(POHeader.EntryPerson)
> > > + "~n~nApproved Value: " + STRING(POHeader.ApprovedAmount)
> > > + "~n~nDO NOT REPLY TO THIS E-MAIL ACCOUNT, IT DOES NOT GET
> > > REVIEWED!".
> > >
> > > /* Print Email Body */
> > > ASSIGN Email-Text = NewEmailBody
> > >
> > >
> > >
> > > I only introduced this BAM recently but, so far, it seems to be
> > > working ok.
> > >
> > > It may be of some help to you.
> > >
> > > Nigel.
> > >
> > >
> > >
> > > --- In vantage@yahoogroups.com <mailto:vantage%
> 40yahoogroups.com> ,
> > "brychanwilliams"
> > > <brychanwilliams@> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I having problems creating a suitable BPM to alert the buyer
> and
> > > the
> > > > requestor(character03 in POHeader) once the PO as been approved
> > > through
> > > > Approval.
> > > >
> > > > Background, I am using character03(POheader) as a lookup on the
> > > persons
> > > > table as the PO requestor. I want BPM to email the requestor
> and
> > > > BuyerID once the PO has been approved.
> > > >
> > > > I can't seem to get an email sent using the PO Update Object
> when
> > > going
> > > > through the PO approval process, it works ok , when not part of
> > the
> > > PO
> > > > approval process.
> > > >
> > > > I suppose in summary
> > > >
> > > > 1) Can I get the BPM to work like I want to on the PO update? I
> > am
> > > just
> > > > being stupid.
> > > > 2) If not , then would I be right in assuming that I would have
> > to
> > > > execute some 4gl code to from the POapromsg table to the
> POheader
> > > and
> > > > person tables to get the data and generate an email from the
> 4gl
> > > code
> > > > rather than the template?
> > > >
> > > > TIa
> > > >
> > >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
Do you have the workforce ID the same as the UserID?

--- In vantage@yahoogroups.com, "Dale R. Kalsow" <dale.r.kalsow@...>
wrote:
>
>
>
> Has anyone used a BPM to fill in the user's name in the Sales
Order,
> Commissions, Salesperson field? Or is there some other good way
to do
> this. I would like the person logged in to automatically fill in
there.
>
>
>
> Thanks!
>
>
>
>
>
>
>
> Dale Kalsow | Information Technologies Director | Determan
Brownie,
> Inc.
>
> Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
> dale.r.kalsow@...
>
>
>
>
>
> "Ambition is the path to success. Persistence is the vehicle you
arrive
> in."
>
>
>
> Electronic Privacy Notice. This e-mail, and any attachments,
contains
> information that is, or may be, covered by the Electronic
Communications
> Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
> proprietary in nature. If you are not the intended recipient,
please be
> advised that you are legally prohibited from retaining, using,
copying,
> distributing, or otherwise disclosing this information in any
manner.
> Instead, please reply to the sender that you have received this
> communication in error, and then immediately delete it. Thank you
in
> advance for your cooperation.
>
>
>
>
>
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
I would have to check but I could live with workforce ID. Do you know
how to do that?



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Michael McWilliams
Sent: Tuesday, July 22, 2008 8:19 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: User Name



Do you have the workforce ID the same as the UserID?

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"Dale R. Kalsow" <dale.r.kalsow@...>
wrote:
>
>
>
> Has anyone used a BPM to fill in the user's name in the Sales
Order,
> Commissions, Salesperson field? Or is there some other good way
to do
> this. I would like the person logged in to automatically fill in
there.
>
>
>
> Thanks!
>
>
>
>
>
>
>
> Dale Kalsow | Information Technologies Director | Determan
Brownie,
> Inc.
>
> Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
> dale.r.kalsow@...
>
>
>
>
>
> "Ambition is the path to success. Persistence is the vehicle you
arrive
> in."
>
>
>
> Electronic Privacy Notice. This e-mail, and any attachments,
contains
> information that is, or may be, covered by the Electronic
Communications
> Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
> proprietary in nature. If you are not the intended recipient,
please be
> advised that you are legally prohibited from retaining, using,
copying,
> distributing, or otherwise disclosing this information in any
manner.
> Instead, please reply to the sender that you have received this
> communication in error, and then immediately delete it. Thank you
in
> advance for your cooperation.
>
>
>
>
>
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]
The easy way to do it would be:

Dim strUserId As String = SalesOrderForm.Session.UserID
Dim OrderHed As EpiDataView = Ctype(oTrans.EpiDataViews
("OrderHed"),EpiDataView)
OrderHed.dataView(OrderHed.Row)("SalesRepCode1") = UserId
oTrans.Update()


This would only work if the IDs are the same, which may be a pain to
manage. There are better ways to do it, they just get more
complicated. Let me know if this will work for you.

--- In vantage@yahoogroups.com, "Dale R. Kalsow" <dale.r.kalsow@...>
wrote:
>
> I would have to check but I could live with workforce ID. Do you
know
> how to do that?
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf
> Of Michael McWilliams
> Sent: Tuesday, July 22, 2008 8:19 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: User Name
>
>
>
> Do you have the workforce ID the same as the UserID?
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
> "Dale R. Kalsow" <dale.r.kalsow@>
> wrote:
> >
> >
> >
> > Has anyone used a BPM to fill in the user's name in the Sales
> Order,
> > Commissions, Salesperson field? Or is there some other good way
> to do
> > this. I would like the person logged in to automatically fill in
> there.
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> > Dale Kalsow | Information Technologies Director | Determan
> Brownie,
> > Inc.
> >
> > Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
> > dale.r.kalsow@
> >
> >
> >
> >
> >
> > "Ambition is the path to success. Persistence is the vehicle you
> arrive
> > in."
> >
> >
> >
> > Electronic Privacy Notice. This e-mail, and any attachments,
> contains
> > information that is, or may be, covered by the Electronic
> Communications
> > Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
> > proprietary in nature. If you are not the intended recipient,
> please be
> > advised that you are legally prohibited from retaining, using,
> copying,
> > distributing, or otherwise disclosing this information in any
> manner.
> > Instead, please reply to the sender that you have received this
> > communication in error, and then immediately delete it. Thank
you
> in
> > advance for your cooperation.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Our sales orders automatically populate the entered by field on the sales orders. I'm not sure what the difference would be that yours is not working. We actually have our parts orders coming in automatically using service connect which has its own unique user id and it populates the sales order entered by. That specific user does not have a workforce id.

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Michael McWilliams
Sent: Tuesday, July 22, 2008 9:26 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: User Name


The easy way to do it would be:

Dim strUserId As String = SalesOrderForm.Session.UserID
Dim OrderHed As EpiDataView = Ctype(oTrans.EpiDataViews
("OrderHed"),EpiDataView)
OrderHed.dataView(OrderHed.Row)("SalesRepCode1") = UserId
oTrans.Update()


This would only work if the IDs are the same, which may be a pain to
manage. There are better ways to do it, they just get more
complicated. Let me know if this will work for you.

--- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>, "Dale R. Kalsow" <dale.r.kalsow@...>
wrote:
>
> I would have to check but I could live with workforce ID. Do you
know
> how to do that?
>
>
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On
Behalf
> Of Michael McWilliams
> Sent: Tuesday, July 22, 2008 8:19 AM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Re: User Name
>
>
>
> Do you have the workforce ID the same as the UserID?
>
> --- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> ,
> "Dale R. Kalsow" <dale.r.kalsow@>
> wrote:
> >
> >
> >
> > Has anyone used a BPM to fill in the user's name in the Sales
> Order,
> > Commissions, Salesperson field? Or is there some other good way
> to do
> > this. I would like the person logged in to automatically fill in
> there.
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> > Dale Kalsow | Information Technologies Director | Determan
> Brownie,
> > Inc.
> >
> > Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
> > dale.r.kalsow@
> >
> >
> >
> >
> >
> > "Ambition is the path to success. Persistence is the vehicle you
> arrive
> > in."
> >
> >
> >
> > Electronic Privacy Notice. This e-mail, and any attachments,
> contains
> > information that is, or may be, covered by the Electronic
> Communications
> > Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
> > proprietary in nature. If you are not the intended recipient,
> please be
> > advised that you are legally prohibited from retaining, using,
> copying,
> > distributing, or otherwise disclosing this information in any
> manner.
> > Instead, please reply to the sender that you have received this
> > communication in error, and then immediately delete it. Thank
you
> in
> > advance for your cooperation.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>


________________________________
DISCLAIMER:
This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.


[Non-text portions of this message have been removed]
We are not using service connect. Could this have something to do with
it?



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Charles Carden
Sent: Tuesday, July 22, 2008 10:08 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: User Name



Our sales orders automatically populate the entered by field on the
sales orders. I'm not sure what the difference would be that yours is
not working. We actually have our parts orders coming in automatically
using service connect which has its own unique user id and it populates
the sales order entered by. That specific user does not have a workforce
id.

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Michael McWilliams
Sent: Tuesday, July 22, 2008 9:26 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Re: User Name

The easy way to do it would be:

Dim strUserId As String = SalesOrderForm.Session.UserID
Dim OrderHed As EpiDataView = Ctype(oTrans.EpiDataViews
("OrderHed"),EpiDataView)
OrderHed.dataView(OrderHed.Row)("SalesRepCode1") = UserId
oTrans.Update()

This would only work if the IDs are the same, which may be a pain to
manage. There are better ways to do it, they just get more
complicated. Let me know if this will work for you.

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>, "Dale R. Kalsow" <dale.r.kalsow@...>
wrote:
>
> I would have to check but I could live with workforce ID. Do you
know
> how to do that?
>
>
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com
<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>]
On
Behalf
> Of Michael McWilliams
> Sent: Tuesday, July 22, 2008 8:19 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Re: User Name
>
>
>
> Do you have the workforce ID the same as the UserID?
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> ,
> "Dale R. Kalsow" <dale.r.kalsow@>
> wrote:
> >
> >
> >
> > Has anyone used a BPM to fill in the user's name in the Sales
> Order,
> > Commissions, Salesperson field? Or is there some other good way
> to do
> > this. I would like the person logged in to automatically fill in
> there.
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> > Dale Kalsow | Information Technologies Director | Determan
> Brownie,
> > Inc.
> >
> > Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
> > dale.r.kalsow@
> >
> >
> >
> >
> >
> > "Ambition is the path to success. Persistence is the vehicle you
> arrive
> > in."
> >
> >
> >
> > Electronic Privacy Notice. This e-mail, and any attachments,
> contains
> > information that is, or may be, covered by the Electronic
> Communications
> > Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
> > proprietary in nature. If you are not the intended recipient,
> please be
> > advised that you are legally prohibited from retaining, using,
> copying,
> > distributing, or otherwise disclosing this information in any
> manner.
> > Instead, please reply to the sender that you have received this
> > communication in error, and then immediately delete it. Thank
you
> in
> > advance for your cooperation.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

________________________________
DISCLAIMER:
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

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





[Non-text portions of this message have been removed]
When you set up a customer you assign them a territory. The default
rep for that territory will automatically be assigned. Im assuming
his commission structure does not work like this. In our case we
use a hybrid of the territory based along with a customer based
split. So after we enter the CustomerID it checks to see if there
is a rep or multiple reps defined in our Custom fields in customer
Entry. If so it overiddes the Territory Rep and rates with these
values. This also allow us to have multiple reps auto populated with
split commissions.

--- In vantage@yahoogroups.com, Charles Carden <ccarden@...> wrote:
>
> Our sales orders automatically populate the entered by field on
the sales orders. I'm not sure what the difference would be that
yours is not working. We actually have our parts orders coming in
automatically using service connect which has its own unique user id
and it populates the sales order entered by. That specific user
does not have a workforce id.
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of Michael McWilliams
> Sent: Tuesday, July 22, 2008 9:26 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: User Name
>
>
> The easy way to do it would be:
>
> Dim strUserId As String = SalesOrderForm.Session.UserID
> Dim OrderHed As EpiDataView = Ctype(oTrans.EpiDataViews
> ("OrderHed"),EpiDataView)
> OrderHed.dataView(OrderHed.Row)("SalesRepCode1") = UserId
> oTrans.Update()
>
>
> This would only work if the IDs are the same, which may be a pain
to
> manage. There are better ways to do it, they just get more
> complicated. Let me know if this will work for you.
>
> --- In vantage@yahoogroups.com<mailto:vantage%
40yahoogroups.com>, "Dale R. Kalsow" <dale.r.kalsow@>
> wrote:
> >
> > I would have to check but I could live with workforce ID. Do you
> know
> > how to do that?
> >
> >
> >
> > From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On
> Behalf
> > Of Michael McWilliams
> > Sent: Tuesday, July 22, 2008 8:19 AM
> > To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> > Subject: [Vantage] Re: User Name
> >
> >
> >
> > Do you have the workforce ID the same as the UserID?
> >
> > --- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ,
> > "Dale R. Kalsow" <dale.r.kalsow@>
> > wrote:
> > >
> > >
> > >
> > > Has anyone used a BPM to fill in the user's name in the Sales
> > Order,
> > > Commissions, Salesperson field? Or is there some other good way
> > to do
> > > this. I would like the person logged in to automatically fill
in
> > there.
> > >
> > >
> > >
> > > Thanks!
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Dale Kalsow | Information Technologies Director | Determan
> > Brownie,
> > > Inc.
> > >
> > > Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
> > > dale.r.kalsow@
> > >
> > >
> > >
> > >
> > >
> > > "Ambition is the path to success. Persistence is the vehicle
you
> > arrive
> > > in."
> > >
> > >
> > >
> > > Electronic Privacy Notice. This e-mail, and any attachments,
> > contains
> > > information that is, or may be, covered by the Electronic
> > Communications
> > > Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
> > > proprietary in nature. If you are not the intended recipient,
> > please be
> > > advised that you are legally prohibited from retaining, using,
> > copying,
> > > distributing, or otherwise disclosing this information in any
> > manner.
> > > Instead, please reply to the sender that you have received this
> > > communication in error, and then immediately delete it. Thank
> you
> > in
> > > advance for your cooperation.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
> ________________________________
> DISCLAIMER:
> This e-mail, including attachments, may include confidential
and/or proprietary information, and may be used only by the person
or entity to which it is addressed. If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the
reader is hereby notified that any dissemination, distribution or
copying of this e-mail is prohibited. If you have received this e-
mail in error, please notify the sender by replying to this message
and delete this e-mail immediately.
>
>
> [Non-text portions of this message have been removed]
>
I can not do it like that we have a distributed parts business and our
people do not get territories. They just take orders and set credit for
what they sell.



Dale



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Michael McWilliams
Sent: Tuesday, July 22, 2008 10:20 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: User Name



When you set up a customer you assign them a territory. The default
rep for that territory will automatically be assigned. Im assuming
his commission structure does not work like this. In our case we
use a hybrid of the territory based along with a customer based
split. So after we enter the CustomerID it checks to see if there
is a rep or multiple reps defined in our Custom fields in customer
Entry. If so it overiddes the Territory Rep and rates with these
values. This also allow us to have multiple reps auto populated with
split commissions.

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
Charles Carden <ccarden@...> wrote:
>
> Our sales orders automatically populate the entered by field on
the sales orders. I'm not sure what the difference would be that
yours is not working. We actually have our parts orders coming in
automatically using service connect which has its own unique user id
and it populates the sales order entered by. That specific user
does not have a workforce id.
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Michael McWilliams
> Sent: Tuesday, July 22, 2008 9:26 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Re: User Name
>
>
> The easy way to do it would be:
>
> Dim strUserId As String = SalesOrderForm.Session.UserID
> Dim OrderHed As EpiDataView = Ctype(oTrans.EpiDataViews
> ("OrderHed"),EpiDataView)
> OrderHed.dataView(OrderHed.Row)("SalesRepCode1") = UserId
> oTrans.Update()
>
>
> This would only work if the IDs are the same, which may be a pain
to
> manage. There are better ways to do it, they just get more
> complicated. Let me know if this will work for you.
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%
40yahoogroups.com>, "Dale R. Kalsow" <dale.r.kalsow@>
> wrote:
> >
> > I would have to check but I could live with workforce ID. Do you
> know
> > how to do that?
> >
> >
> >
> > From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>] On
> Behalf
> > Of Michael McWilliams
> > Sent: Tuesday, July 22, 2008 8:19 AM
> > To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> > Subject: [Vantage] Re: User Name
> >
> >
> >
> > Do you have the workforce ID the same as the UserID?
> >
> > --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ,
> > "Dale R. Kalsow" <dale.r.kalsow@>
> > wrote:
> > >
> > >
> > >
> > > Has anyone used a BPM to fill in the user's name in the Sales
> > Order,
> > > Commissions, Salesperson field? Or is there some other good way
> > to do
> > > this. I would like the person logged in to automatically fill
in
> > there.
> > >
> > >
> > >
> > > Thanks!
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Dale Kalsow | Information Technologies Director | Determan
> > Brownie,
> > > Inc.
> > >
> > > Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
> > > dale.r.kalsow@
> > >
> > >
> > >
> > >
> > >
> > > "Ambition is the path to success. Persistence is the vehicle
you
> > arrive
> > > in."
> > >
> > >
> > >
> > > Electronic Privacy Notice. This e-mail, and any attachments,
> > contains
> > > information that is, or may be, covered by the Electronic
> > Communications
> > > Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
> > > proprietary in nature. If you are not the intended recipient,
> > please be
> > > advised that you are legally prohibited from retaining, using,
> > copying,
> > > distributing, or otherwise disclosing this information in any
> > manner.
> > > Instead, please reply to the sender that you have received this
> > > communication in error, and then immediately delete it. Thank
> you
> > in
> > > advance for your cooperation.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
> ________________________________
> DISCLAIMER:
> This e-mail, including attachments, may include confidential
and/or proprietary information, and may be used only by the person
or entity to which it is addressed. If the reader of this e-mail is
not the intended recipient or his or her authorized agent, the
reader is hereby notified that any dissemination, distribution or
copying of this e-mail is prohibited. If you have received this e-
mail in error, please notify the sender by replying to this message
and delete this e-mail immediately.
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]
I wouldn't think so because we have only been using service connect for a little over a month and it was working before that.

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Dale R. Kalsow
Sent: Tuesday, July 22, 2008 10:10 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: User Name


We are not using service connect. Could this have something to do with
it?

From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf
Of Charles Carden
Sent: Tuesday, July 22, 2008 10:08 AM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Re: User Name

Our sales orders automatically populate the entered by field on the
sales orders. I'm not sure what the difference would be that yours is
not working. We actually have our parts orders coming in automatically
using service connect which has its own unique user id and it populates
the sales order entered by. That specific user does not have a workforce
id.

From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Michael McWilliams
Sent: Tuesday, July 22, 2008 9:26 AM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Re: User Name

The easy way to do it would be:

Dim strUserId As String = SalesOrderForm.Session.UserID
Dim OrderHed As EpiDataView = Ctype(oTrans.EpiDataViews
("OrderHed"),EpiDataView)
OrderHed.dataView(OrderHed.Row)("SalesRepCode1") = UserId
oTrans.Update()

This would only work if the IDs are the same, which may be a pain to
manage. There are better ways to do it, they just get more
complicated. Let me know if this will work for you.

--- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>, "Dale R. Kalsow" <dale.r.kalsow@...>
wrote:
>
> I would have to check but I could live with workforce ID. Do you
know
> how to do that?
>
>
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>]
On
Behalf
> Of Michael McWilliams
> Sent: Tuesday, July 22, 2008 8:19 AM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Re: User Name
>
>
>
> Do you have the workforce ID the same as the UserID?
>
> --- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> <mailto:vantage%40yahoogroups.com> ,
> "Dale R. Kalsow" <dale.r.kalsow@>
> wrote:
> >
> >
> >
> > Has anyone used a BPM to fill in the user's name in the Sales
> Order,
> > Commissions, Salesperson field? Or is there some other good way
> to do
> > this. I would like the person logged in to automatically fill in
> there.
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> > Dale Kalsow | Information Technologies Director | Determan
> Brownie,
> > Inc.
> >
> > Work: 763-502-9689 | Fax: 763-571-1789 | Mail:
> > dale.r.kalsow@
> >
> >
> >
> >
> >
> > "Ambition is the path to success. Persistence is the vehicle you
> arrive
> > in."
> >
> >
> >
> > Electronic Privacy Notice. This e-mail, and any attachments,
> contains
> > information that is, or may be, covered by the Electronic
> Communications
> > Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and
> > proprietary in nature. If you are not the intended recipient,
> please be
> > advised that you are legally prohibited from retaining, using,
> copying,
> > distributing, or otherwise disclosing this information in any
> manner.
> > Instead, please reply to the sender that you have received this
> > communication in error, and then immediately delete it. Thank
you
> in
> > advance for your cooperation.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

________________________________
DISCLAIMER:
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

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

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


________________________________
DISCLAIMER:
This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.


[Non-text portions of this message have been removed]
Does anyone know the syntax to get the user name in a BPM?



Thanks!



Dale



[Non-text portions of this message have been removed]
If you're using 4GL in the BPM, try: DCD-USERID.

As in: "ASSIGN table.field = DCD-USERID."

Nigel.

--- In vantage@yahoogroups.com, "Dale R. Kalsow" <dale.r.kalsow@...>
wrote:
>
> Does anyone know the syntax to get the user name in a BPM?
>
>
>
> Thanks!
>
>
>
> Dale
>
>
>
> [Non-text portions of this message have been removed]
>