BPM Newbie Question

I figured you'd probably figure it out before anyone replied.

So far, I've managed to resist the urge to start looking over SC. (It can wait until Monday.) I've only 'cheated' a few times and checked email over the long weekend (which is an improvement for me... I usually find a way to do real work on weekends/holidays).

Rob

--- On Sat, 11/29/08, nmtaylor1969 <n.taylor@...> wrote:
From: nmtaylor1969 <n.taylor@...>
Subject: [Vantage] Re: BPM Newbie Question
To: vantage@yahoogroups.com
Date: Saturday, November 29, 2008, 3:13 AM











I sorted it Rob, thanks... ;o)



You just use the "number of rows in the designed query is not less

than 1" option, and then write the custom query: "for each ttPORel

where ( ttPORel.RowMod = 'U' or ttPORel.RowMod = 'A' ) and

ttPORel.PromiseDt > ttPORel.DueDate no-lock". I then just send my

email as normal incorporating the required field data.



BPM looks very powerful to me...! :o)



My other problems were caused because Epicor had not installed the

BPM software properly, so it would never have worked. To be fair,

support identified the problem and got me sorted out.



I hope you had a good break. Have you started reading the S/C book

yet...?!



Nick



--- In vantage@yahoogroups .com, Robert Brown <robertb_versa@ ...>

wrote:

>

> Nick,

>

> Wouldn't it be just a variation on what you already have set up?

>

> You're already kicking off your BPM by a change to

PORel.PromiseDate & you already have the code for the email content

composition/ addressing & send.

>

> Can't you just wrap the email content/send code within an IF test

(IF PORel.PromisedDate > PORel.DueDate then compose/send email, else

do nothing)?

>

> (Remember who's asking: The guy that knows a thing or two about

client VB but little BPM!)

>

> Have a good weekend my friend.

>

> Rob

>

> --- On Fri, 11/28/08, nmtaylor1969 <n.taylor@.. .> wrote:

> From: nmtaylor1969 <n.taylor@.. .>

> Subject: [Vantage] BPM Newbie Question

> To: vantage@yahoogroups .com

> Date: Friday, November 28, 2008, 8:02 AM

>

>

>

>

>

>

>

>

>

>

>

> Can anyone offer some pointers on this please as I am

new to writing

>

> BPM's...

>

>

>

> Currently I am sending a test email to myself when the value of

>

> PoRel.PromisedDate changes gtom anything to anything else. This is

a

>

> directive associated with the PO.Update method.

>

>

>

> I now want to make this useful, and I want to send the email out

only

>

> when PoRel.PromisedDate is changed to be > PoRel.DueDate.

>

>

>

> How do I setup the conditions to do this...?

>

>

>

> Thanks,

>

>

>

> Nick

>
Can anyone offer some pointers on this please as I am new to writing
BPM's...

Currently I am sending a test email to myself when the value of
PoRel.PromisedDate changes gtom anything to anything else. This is a
directive associated with the PO.Update method.

I now want to make this useful, and I want to send the email out only
when PoRel.PromisedDate is changed to be > PoRel.DueDate.

How do I setup the conditions to do this...?

Thanks,

Nick
Nick,

Wouldn't it be just a variation on what you already have set up?

You're already kicking off your BPM by a change to PORel.PromiseDate & you already have the code for the email content composition/addressing & send.

Can't you just wrap the email content/send code within an IF test (IF PORel.PromisedDate > PORel.DueDate then compose/send email, else do nothing)?

(Remember who's asking: The guy that knows a thing or two about client VB but little BPM!)

Have a good weekend my friend.

Rob

--- On Fri, 11/28/08, nmtaylor1969 <n.taylor@...> wrote:
From: nmtaylor1969 <n.taylor@...>
Subject: [Vantage] BPM Newbie Question
To: vantage@yahoogroups.com
Date: Friday, November 28, 2008, 8:02 AM











Can anyone offer some pointers on this please as I am new to writing

BPM's...



Currently I am sending a test email to myself when the value of

PoRel.PromisedDate changes gtom anything to anything else. This is a

directive associated with the PO.Update method.



I now want to make this useful, and I want to send the email out only

when PoRel.PromisedDate is changed to be > PoRel.DueDate.



How do I setup the conditions to do this...?



Thanks,



Nick
I sorted it Rob, thanks... ;o)

You just use the "number of rows in the designed query is not less
than 1" option, and then write the custom query: "for each ttPORel
where ( ttPORel.RowMod = 'U' or ttPORel.RowMod = 'A' ) and
ttPORel.PromiseDt > ttPORel.DueDate no-lock". I then just send my
email as normal incorporating the required field data.

BPM looks very powerful to me...! :o)

My other problems were caused because Epicor had not installed the
BPM software properly, so it would never have worked. To be fair,
support identified the problem and got me sorted out.

I hope you had a good break. Have you started reading the S/C book
yet...?!

Nick



--- In vantage@yahoogroups.com, Robert Brown <robertb_versa@...>
wrote:
>
> Nick,
>
> Wouldn't it be just a variation on what you already have set up?
>
> You're already kicking off your BPM by a change to
PORel.PromiseDate & you already have the code for the email content
composition/addressing & send.
>
> Can't you just wrap the email content/send code within an IF test
(IF PORel.PromisedDate > PORel.DueDate then compose/send email, else
do nothing)?
>
> (Remember who's asking: The guy that knows a thing or two about
client VB but little BPM!)
>
> Have a good weekend my friend.
>
> Rob
>
> --- On Fri, 11/28/08, nmtaylor1969 <n.taylor@...> wrote:
> From: nmtaylor1969 <n.taylor@...>
> Subject: [Vantage] BPM Newbie Question
> To: vantage@yahoogroups.com
> Date: Friday, November 28, 2008, 8:02 AM
>
>
>
>
>
>
>
>
>
>
>
> Can anyone offer some pointers on this please as I am
new to writing
>
> BPM's...
>
>
>
> Currently I am sending a test email to myself when the value of
>
> PoRel.PromisedDate changes gtom anything to anything else. This is
a
>
> directive associated with the PO.Update method.
>
>
>
> I now want to make this useful, and I want to send the email out
only
>
> when PoRel.PromisedDate is changed to be > PoRel.DueDate.
>
>
>
> How do I setup the conditions to do this...?
>
>
>
> Thanks,
>
>
>
> Nick
>