BPM displays message but, needs more

If you are on 9x you'll need to use a BPM Data Form for that.


*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>

*Quis custodiet ipsos custodes?*


On Wed, May 1, 2013 at 6:38 PM, cathyattechnologicsys <cathy@...
> wrote:

> **
>
>
> I wrote a BPM that displays a message in Engineering workbench - BO
> EngWorkBench.CheckOut when they are checking out an unapproved Rev.
>
> But, it needs more - BPM below.
>
> Besides the message I would like the BPM to ask if they want to continue
> or cancel.
>
> What is the syntax or the best way to do this?
>
> I tried the BPM Data Form but, it wasn't working.
>
> Thank you,
> Cathy
>
> *********************************************
> DEFINE VARIABLE Msg as CHARACTER NO-UNDO.
>
> Find first PartRev where PartRev.PartNum = ipPartNum
> and PartRev.RevisionNum = ipRevisionNum
> and PartRev.Approved = False no-lock no-error.
>
> If available PartRev then DO:
>
> ASSIGN Msg = "This Rev is unpproved " + ipRevisionNum.
> {lib/publishinfomsg.i &infomsg = Msg}.
>
> End.
>
>
>


[Non-text portions of this message have been removed]
I wrote a BPM that displays a message in Engineering workbench - BO EngWorkBench.CheckOut when they are checking out an unapproved Rev.

But, it needs more - BPM below.

Besides the message I would like the BPM to ask if they want to continue or cancel.

What is the syntax or the best way to do this?

I tried the BPM Data Form but, it wasn't working.

Thank you,
Cathy

*********************************************
DEFINE VARIABLE Msg as CHARACTER NO-UNDO.

Find first PartRev where PartRev.PartNum = ipPartNum
and PartRev.RevisionNum = ipRevisionNum
and PartRev.Approved = False no-lock no-error.

If available PartRev then DO:

ASSIGN Msg = "This Rev is unpproved " + ipRevisionNum.
{lib/publishinfomsg.i &infomsg = Msg}.


End.