MessageBox from 4GL ( BPM )

Mark,
Finally I have some time to go back to reading Vantage group posts.

If I will have such action like ''Show informational message based on
the designed template'' then I will be using it. Unfortunatelly there
is not such action in Vantage 8.03.305H. This is the main reason why I
was looking for possibility to popup message directly from 4GL code.

So far without success.

*********************
PLEASE USE 'Reply to ALL' functionality - so I don't need to search
through all new posts in Vantage group to be able to answer your
question / read your answer
*********************

regards

Grzegorz Szczepański


Dnia Fri, 12 Dec 2008 07:02:32 -0500
"Mark Wonsil" <mark_wonsil@...> napisał(a):

> Hi Grzegorz,
>
> > The reason why I prefer to use a MessageBox from 4GL over a 'Raise
> > exception' is that:
> > 1. 'Raise exception' is stopping the execution of your code
>
> Yes, this is true for the 'Raise Exception' action but I don't think
> for the 'Show informational message based on the designed template'
> action.
>
> > 2. In 4GL you can put message in any point of your code
>
> True
>
> > 3. The data that you can pass to message box from 4GL can be
> > selected from ANY table, not only ttTables that you are limited to
> > in 'Raise exception'
>
> This limitation is true as for 'Show informational messages...' as
> well.
>
> Mark W.
>
>
Sometimes when I am writing some 4GL code I would like to check values
of some variables on certain stages. Therefore I would like to have a
possibility to display some information during code execution using for
it i.e a MessageBox.

So far I am unable to do this, any help is welcome

thanks in advance

Grzegorz Szczepañski
Syntax:
Â
MESSAGE "Part Number: " + cPartNumber VIEW-AS ALERT-BOX.

--- On Tue, 10/21/08, tomojmail <phoenix_@...> wrote:

From: tomojmail <phoenix_@...>
Subject: [Vantage] MessageBox from 4GL ( BPM )
To: vantage@yahoogroups.com
Date: Tuesday, October 21, 2008, 1:49 AM






Sometimes when I am writing some 4GL code I would like to check values
of some variables on certain stages. Therefore I would like to have a
possibility to display some information during code execution using for
it i.e a MessageBox.

So far I am unable to do this, any help is welcome

thanks in advance

Grzegorz Szczepañski


















[Non-text portions of this message have been removed]
> Sometimes when I am writing some 4GL code I would like to check values
> of some variables on certain stages. Therefore I would like to have a
> possibility to display some information during code execution using for
> it i.e a MessageBox.
>
> So far I am unable to do this, any help is welcome


Hey, Grzegorz

At Perspectives yesterday, they suggested using the Message command and the
message doesn't popup but they do go to the AppServer log.

Mark W.
I'm open to correction on this, but I believe that because the BPM is
running on the server it can't display a MessageBox.

As Mark suggests, the Message command writes to the
MfgSys803.server.log (in ..\epicor\mfgsys803\Server\logs). This can
be very useful for code-checking.

Nigel.

--- In vantage@yahoogroups.com, "Mark Wonsil" <mark_wonsil@...> wrote:
>
> > Sometimes when I am writing some 4GL code I would like to check
values
> > of some variables on certain stages. Therefore I would like to
have a
> > possibility to display some information during code execution
using for
> > it i.e a MessageBox.
> >
> > So far I am unable to do this, any help is welcome
>
>
> Hey, Grzegorz
>
> At Perspectives yesterday, they suggested using the Message command
and the
> message doesn't popup but they do go to the AppServer log.
>
> Mark W.
>
 My error, the syntax I provided is good for 4GL procedures, etc.--I didn't notice the 'BPM' requirement in your subject line.

--- On Tue, 10/21/08, Nigel Kerley <nigel.kerley@...> wrote:

From: Nigel Kerley <nigel.kerley@...>
Subject: [Vantage] Re: MessageBox from 4GL ( BPM )
To: vantage@yahoogroups.com
Date: Tuesday, October 21, 2008, 9:58 AM






I'm open to correction on this, but I believe that because the BPM is
running on the server it can't display a MessageBox.

As Mark suggests, the Message command writes to the
MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) . This can
be very useful for code-checking.

Nigel.

--- In vantage@yahoogroups .com, "Mark Wonsil" <mark_wonsil@ ...> wrote:
>
> > Sometimes when I am writing some 4GL code I would like to check
values
> > of some variables on certain stages. Therefore I would like to
have a
> > possibility to display some information during code execution
using for
> > it i.e a MessageBox.
> >
> > So far I am unable to do this, any help is welcome
>
>
> Hey, Grzegorz
>
> At Perspectives yesterday, they suggested using the Message command
and the
> message doesn't popup but they do go to the AppServer log.
>
> Mark W.
>


















[Non-text portions of this message have been removed]
An interesting note is that a BPM runs 4GL stored on the server and it can display a message. If anyone figures out how to do this with custom 4GL code I would be interested.



----- Original Message ----
From: Nigel Kerley <nigel.kerley@...>
To: vantage@yahoogroups.com
Sent: Tuesday, October 21, 2008 9:58:59 AM
Subject: [Vantage] Re: MessageBox from 4GL ( BPM )


I'm open to correction on this, but I believe that because the BPM is
running on the server it can't display a MessageBox.

As Mark suggests, the Message command writes to the
MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) . This can
be very useful for code-checking.

Nigel.

--- In vantage@yahoogroups .com, "Mark Wonsil" <mark_wonsil@ ...> wrote:
>
> > Sometimes when I am writing some 4GL code I would like to check
values
> > of some variables on certain stages. Therefore I would like to
have a
> > possibility to display some information during code execution
using for
> > it i.e a MessageBox.
> >
> > So far I am unable to do this, any help is welcome
>
>
> Hey, Grzegorz
>
> At Perspectives yesterday, they suggested using the Message command
and the
> message doesn't popup but they do go to the AppServer log.
>
> Mark W.
>






[Non-text portions of this message have been removed]
The BPM Show informational message calls a 4GL procedure on the server

{lib/PublishInfoMsg.i
&InfoMsg = "your message here"}

So you may be able to construct your message and try calling the
procedure in code - I have not tried to see if it would work.

--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...>
wrote:
>
> An interesting note is that a BPM runs 4GL stored on the server and
it can display a message. If anyone figures out how to do this with
custom 4GL code I would be interested.
>
>
>
> ----- Original Message ----
> From: Nigel Kerley <nigel.kerley@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, October 21, 2008 9:58:59 AM
> Subject: [Vantage] Re: MessageBox from 4GL ( BPM )
>
>
> I'm open to correction on this, but I believe that because the BPM
is
> running on the server it can't display a MessageBox.
>
> As Mark suggests, the Message command writes to the
> MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) . This
can
> be very useful for code-checking.
>
> Nigel.
>
> --- In vantage@yahoogroups .com, "Mark Wonsil" <mark_wonsil@ ...>
wrote:
> >
> > > Sometimes when I am writing some 4GL code I would like to check
> values
> > > of some variables on certain stages. Therefore I would like to
> have a
> > > possibility to display some information during code execution
> using for
> > > it i.e a MessageBox.
> > >
> > > So far I am unable to do this, any help is welcome
> >
> >
> > Hey, Grzegorz
> >
> > At Perspectives yesterday, they suggested using the Message
command
> and the
> > message doesn't popup but they do go to the AppServer log.
> >
> > Mark W.
> >
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Could you supply the syntax you would use in a BPM for this? I tried a couple of different versions of:
run lib/PublishInfoMsg.i(....) with no success.



----- Original Message ----
From: bw2868bond <bwalker@...>
To: vantage@yahoogroups.com
Sent: Tuesday, October 21, 2008 10:29:08 AM
Subject: [Vantage] Re: MessageBox from 4GL ( BPM )


The BPM Show informational message calls a 4GL procedure on the server

{lib/PublishInfoMsg .i
&InfoMsg = "your message here"}

So you may be able to construct your message and try calling the
procedure in code - I have not tried to see if it would work.

--- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...>
wrote:
>
> An interesting note is that a BPM runs 4GL stored on the server and
it can display a message. If anyone figures out how to do this with
custom 4GL code I would be interested.
>
>
>
> ----- Original Message ----
> From: Nigel Kerley <nigel.kerley@ ...>
> To: vantage@yahoogroups .com
> Sent: Tuesday, October 21, 2008 9:58:59 AM
> Subject: [Vantage] Re: MessageBox from 4GL ( BPM )
>
>
> I'm open to correction on this, but I believe that because the BPM
is
> running on the server it can't display a MessageBox.
>
> As Mark suggests, the Message command writes to the
> MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) .. This
can
> be very useful for code-checking.
>
> Nigel.
>
> --- In vantage@yahoogroups .com, "Mark Wonsil" <mark_wonsil@ ...>
wrote:
> >
> > > Sometimes when I am writing some 4GL code I would like to check
> values
> > > of some variables on certain stages. Therefore I would like to
> have a
> > > possibility to display some information during code execution
> using for
> > > it i.e a MessageBox.
> > >
> > > So far I am unable to do this, any help is welcome
> >
> >
> > Hey, Grzegorz
> >
> > At Perspectives yesterday, they suggested using the Message
command
> and the
> > message doesn't popup but they do go to the AppServer log.
> >
> > Mark W.
> >
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>






[Non-text portions of this message have been removed]
Nigel,
how you'll then explain this:

I have wrote a 4GL code (BPM) for sending e-mails using;
run SendEmail.i (don't remember right now syntax, but for sure it runs
some 4GL procedure) I did a mistake and did not specify a recipient.

What happend when action triger the procedure was a MessageBox with
information that e-mail wasn't send because of missing recipient. Based
on this I am almost sure that there is possibility to popup a
MessageBox from 4GL.

Grzegorz Szczepański

Dnia Tue, 21 Oct 2008 13:58:59 -0000
"Nigel Kerley" <nigel.kerley@...> napisał(a):

> I'm open to correction on this, but I believe that because the BPM is
> running on the server it can't display a MessageBox.
>
> As Mark suggests, the Message command writes to the
> MfgSys803.server.log (in ..\epicor\mfgsys803\Server\logs). This can
> be very useful for code-checking.
>
> Nigel.
>
> --- In vantage@yahoogroups.com, "Mark Wonsil" <mark_wonsil@...> wrote:
> >
> > > Sometimes when I am writing some 4GL code I would like to check
> values
> > > of some variables on certain stages. Therefore I would like to
> have a
> > > possibility to display some information during code execution
> using for
> > > it i.e a MessageBox.
> > >
> > > So far I am unable to do this, any help is welcome
> >
> >
> > Hey, Grzegorz
> >
> > At Perspectives yesterday, they suggested using the Message command
> and the
> > message doesn't popup but they do go to the AppServer log.
> >
> > Mark W.
> >
>
>
I got it to work in a BPM.� The syntax is:
{lib/PublishInfoMsg.i &InfoMsg = "'your message here'"}

You have to have the brackets, and if you use a literal string, then the string has to be quoted inside the quotes.

----- Original Message ----
From: phoenix <phoenix_@...>
To: vantage@yahoogroups.com
Sent: Tuesday, October 21, 2008 4:20:32 PM
Subject: Re: [Vantage] Re: MessageBox from 4GL ( BPM )


Nigel,
how you'll then explain this:

I have wrote a 4GL code (BPM) for sending e-mails using;
run SendEmail.i (don't remember right now syntax, but for sure it runs
some 4GL procedure) I did a mistake and did not specify a recipient..

What happend when action triger the procedure was a MessageBox with
information that e-mail wasn't send because of missing recipient. Based
on this I am almost sure that there is possibility to popup a
MessageBox from 4GL.

Grzegorz Szczepa�ski

Dnia Tue, 21 Oct 2008 13:58:59 -0000
"Nigel Kerley" <nigel.kerley@ johnhinde. com> napisa�(a):

> I'm open to correction on this, but I believe that because the BPM is
> running on the server it can't display a MessageBox.
>
> As Mark suggests, the Message command writes to the
> MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) . This can
> be very useful for code-checking.
>
> Nigel.
>
> --- In vantage@yahoogroups .com, "Mark Wonsil" <mark_wonsil@ ...> wrote:
> >
> > > Sometimes when I am writing some 4GL code I would like to check
> values
> > > of some variables on certain stages. Therefore I would like to
> have a
> > > possibility to display some information during code execution
> using for
> > > it i.e a MessageBox.
> > >
> > > So far I am unable to do this, any help is welcome
> >
> >
> > Hey, Grzegorz
> >
> > At Perspectives yesterday, they suggested using the Message command
> and the
> > message doesn't popup but they do go to the AppServer log.
> >
> > Mark W.
> >
>
>





[Non-text portions of this message have been removed]
Steven,
congratulations - I will try it today in my BPM :).
Of course many thanks to Bwalker for showing the right direction.

Grzegorz Szczepañski

--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...>
wrote:
>
> I got it to work in a BPM. The syntax is:
> {lib/PublishInfoMsg.i &InfoMsg = "'your message here'"}
>
> You have to have the brackets, and if you use a literal string,
then the string has to be quoted inside the quotes.
>
> ----- Original Message ----
> From: phoenix <phoenix_@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, October 21, 2008 4:20:32 PM
> Subject: Re: [Vantage] Re: MessageBox from 4GL ( BPM )
>
>
> Nigel,
> how you'll then explain this:
>
> I have wrote a 4GL code (BPM) for sending e-mails using;
> run SendEmail.i (don't remember right now syntax, but for sure it
runs
> some 4GL procedure) I did a mistake and did not specify a
recipient..
>
> What happend when action triger the procedure was a MessageBox with
> information that e-mail wasn't send because of missing recipient.
Based
> on this I am almost sure that there is possibility to popup a
> MessageBox from 4GL.
>
> Grzegorz Szczepañski
>
> Dnia Tue, 21 Oct 2008 13:58:59 -0000
> "Nigel Kerley" <nigel.kerley@ johnhinde. com> napisa³(a):
>
> > I'm open to correction on this, but I believe that because the
BPM is
> > running on the server it can't display a MessageBox.
> >
> > As Mark suggests, the Message command writes to the
> > MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) .
This can
> > be very useful for code-checking.
> >
> > Nigel.
> >
> > --- In vantage@yahoogroups .com, "Mark Wonsil" <mark_wonsil@ ...>
wrote:
> > >
> > > > Sometimes when I am writing some 4GL code I would like to
check
> > values
> > > > of some variables on certain stages. Therefore I would like
to
> > have a
> > > > possibility to display some information during code execution
> > using for
> > > > it i.e a MessageBox.
> > > >
> > > > So far I am unable to do this, any help is welcome
> > >
> > >
> > > Hey, Grzegorz
> > >
> > > At Perspectives yesterday, they suggested using the Message
command
> > and the
> > > message doesn't popup but they do go to the AppServer log.
> > >
> > > Mark W.
> > >
> >
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
I was wondering if anyone has a list of the "include file references" that are used by the condition and action statements in a BPM, and a list of their arguments? This would be very usefull in creating custom source code.




________________________________
From: tomojmail <phoenix_@...>
To: vantage@yahoogroups.com
Sent: Wednesday, October 22, 2008 1:30:20 AM
Subject: [Vantage] Re: MessageBox from 4GL ( BPM )


Steven,
congratulations - I will try it today in my BPM :).
Of course many thanks to Bwalker for showing the right direction.

Grzegorz Szczepañski

--- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ....>
wrote:
>
> I got it to work in a BPM. The syntax is:
> {lib/PublishInfoMsg .i &InfoMsg = "'your message here'"}
>
> You have to have the brackets, and if you use a literal string,
then the string has to be quoted inside the quotes.
>
> ----- Original Message ----
> From: phoenix <phoenix_@.. .>
> To: vantage@yahoogroups .com
> Sent: Tuesday, October 21, 2008 4:20:32 PM
> Subject: Re: [Vantage] Re: MessageBox from 4GL ( BPM )
>
>
> Nigel,
> how you'll then explain this:
>
> I have wrote a 4GL code (BPM) for sending e-mails using;
> run SendEmail.i (don't remember right now syntax, but for sure it
runs
> some 4GL procedure) I did a mistake and did not specify a
recipient..
>
> What happend when action triger the procedure was a MessageBox with
> information that e-mail wasn't send because of missing recipient.
Based
> on this I am almost sure that there is possibility to popup a
> MessageBox from 4GL.
>
> Grzegorz Szczepañski
>
> Dnia Tue, 21 Oct 2008 13:58:59 -0000
> "Nigel Kerley" <nigel.kerley@ johnhinde. com> napisa³(a):
>
> > I'm open to correction on this, but I believe that because the
BPM is
> > running on the server it can't display a MessageBox.
> >
> > As Mark suggests, the Message command writes to the
> > MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) .
This can
> > be very useful for code-checking.
> >
> > Nigel.
> >
> > --- In vantage@yahoogroups .com, "Mark Wonsil" <mark_wonsil@ ...>
wrote:
> > >
> > > > Sometimes when I am writing some 4GL code I would like to
check
> > values
> > > > of some variables on certain stages. Therefore I would like
to
> > have a
> > > > possibility to display some information during code execution
> > using for
> > > > it i.e a MessageBox.
> > > >
> > > > So far I am unable to do this, any help is welcome
> > >
> > >
> > > Hey, Grzegorz
> > >
> > > At Perspectives yesterday, they suggested using the Message
command
> > and the
> > > message doesn't popup but they do go to the AppServer log.
> > >
> > > Mark W.
> > >
> >
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>






[Non-text portions of this message have been removed]
As I wrote yesterday I was tried to use it today.
But I have an error message:

Error Detail
============
** "lib/PublishInfoMsg.i" was not found. (293)

I know that it can be problem with ProPath but I was search through
the files on Vantage server and I couldn't find the file.
Could someone give me a full path to this file on your server?

I am on 8.03.305H

Grzegorz Szczepañski

--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...>
wrote:
>
> I got it to work in a BPM. The syntax is:
> {lib/PublishInfoMsg.i &InfoMsg = "'your message here'"}
>
> You have to have the brackets, and if you use a literal string,
then the string has to be quoted inside the quotes.
>
> ----- Original Message ----
> From: phoenix <phoenix_@...>
> To: vantage@yahoogroups.com
> Sent: Tuesday, October 21, 2008 4:20:32 PM
> Subject: Re: [Vantage] Re: MessageBox from 4GL ( BPM )
>
>
> Nigel,
> how you'll then explain this:
>
> I have wrote a 4GL code (BPM) for sending e-mails using;
> run SendEmail.i (don't remember right now syntax, but for sure it
runs
> some 4GL procedure) I did a mistake and did not specify a
recipient..
>
> What happend when action triger the procedure was a MessageBox with
> information that e-mail wasn't send because of missing recipient.
Based
> on this I am almost sure that there is possibility to popup a
> MessageBox from 4GL.
>
> Grzegorz Szczepañski
>
> Dnia Tue, 21 Oct 2008 13:58:59 -0000
> "Nigel Kerley" <nigel.kerley@ johnhinde. com> napisa³(a):
>
> > I'm open to correction on this, but I believe that because the
BPM is
> > running on the server it can't display a MessageBox.
> >
> > As Mark suggests, the Message command writes to the
> > MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) .
This can
> > be very useful for code-checking.
> >
> > Nigel.
> >
> > --- In vantage@yahoogroups .com, "Mark Wonsil" <mark_wonsil@ ...>
wrote:
> > >
> > > > Sometimes when I am writing some 4GL code I would like to
check
> > values
> > > > of some variables on certain stages. Therefore I would like
to
> > have a
> > > > possibility to display some information during code execution
> > using for
> > > > it i.e a MessageBox.
> > > >
> > > > So far I am unable to do this, any help is welcome
> > >
> > >
> > > Hey, Grzegorz
> > >
> > > At Perspectives yesterday, they suggested using the Message
command
> > and the
> > > message doesn't popup but they do go to the AppServer log.
> > >
> > > Mark W.
> > >
> >
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
It may not exist on 8.03.305 - I do not have a installation of
8.03.3xx to check. I know they changed the BPM quite a bit between
8.03.3 and 8.03.4

On 8.03.405a it is in Epicor\Mfgsys803\Server\Lib

--- In vantage@yahoogroups.com, "tomojmail" <phoenix_@...> wrote:
>
> As I wrote yesterday I was tried to use it today.
> But I have an error message:
>
> Error Detail
> ============
> ** "lib/PublishInfoMsg.i" was not found. (293)
>
> I know that it can be problem with ProPath but I was search through
> the files on Vantage server and I couldn't find the file.
> Could someone give me a full path to this file on your server?
>
> I am on 8.03.305H
>
> Grzegorz Szczepañski
>
> --- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@>
> wrote:
> >
> > I got it to work in a BPM. The syntax is:
> > {lib/PublishInfoMsg.i &InfoMsg = "'your message here'"}
> >
> > You have to have the brackets, and if you use a literal string,
> then the string has to be quoted inside the quotes.
> >
> > ----- Original Message ----
> > From: phoenix <phoenix_@>
> > To: vantage@yahoogroups.com
> > Sent: Tuesday, October 21, 2008 4:20:32 PM
> > Subject: Re: [Vantage] Re: MessageBox from 4GL ( BPM )
> >
> >
> > Nigel,
> > how you'll then explain this:
> >
> > I have wrote a 4GL code (BPM) for sending e-mails using;
> > run SendEmail.i (don't remember right now syntax, but for sure it
> runs
> > some 4GL procedure) I did a mistake and did not specify a
> recipient..
> >
> > What happend when action triger the procedure was a MessageBox
with
> > information that e-mail wasn't send because of missing recipient.
> Based
> > on this I am almost sure that there is possibility to popup a
> > MessageBox from 4GL.
> >
> > Grzegorz Szczepañski
> >
> > Dnia Tue, 21 Oct 2008 13:58:59 -0000
> > "Nigel Kerley" <nigel.kerley@ johnhinde. com> napisa³(a):
> >
> > > I'm open to correction on this, but I believe that because the
> BPM is
> > > running on the server it can't display a MessageBox.
> > >
> > > As Mark suggests, the Message command writes to the
> > > MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) .
> This can
> > > be very useful for code-checking.
> > >
> > > Nigel.
> > >
> > > --- In vantage@yahoogroups .com, "Mark Wonsil"
<mark_wonsil@ ...>
> wrote:
> > > >
> > > > > Sometimes when I am writing some 4GL code I would like to
> check
> > > values
> > > > > of some variables on certain stages. Therefore I would like
> to
> > > have a
> > > > > possibility to display some information during code
execution
> > > using for
> > > > > it i.e a MessageBox.
> > > > >
> > > > > So far I am unable to do this, any help is welcome
> > > >
> > > >
> > > > Hey, Grzegorz
> > > >
> > > > At Perspectives yesterday, they suggested using the Message
> command
> > > and the
> > > > message doesn't popup but they do go to the AppServer log.
> > > >
> > > > Mark W.
> > > >
> > >
> > >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
But as far as it is only a file for poping up the message (and it not
doing anything else) it shoud be possible to put it to my library
directory and use it (if it not have any additional 'includes')
Am I right?

Grzegorz Szczepański

Dnia Wed, 22 Oct 2008 13:53:26 -0000
"bw2868bond" <bwalker@...> napisał(a):

> It may not exist on 8.03.305 - I do not have a installation of
> 8.03.3xx to check. I know they changed the BPM quite a bit between
> 8.03.3 and 8.03.4
>
> On 8.03.405a it is in Epicor\Mfgsys803\Server\Lib
>
> --- In vantage@yahoogroups.com, "tomojmail" <phoenix_@...> wrote:
> >
> > As I wrote yesterday I was tried to use it today.
> > But I have an error message:
> >
> > Error Detail
> > ============
> > ** "lib/PublishInfoMsg.i" was not found. (293)
> >
> > I know that it can be problem with ProPath but I was search through
> > the files on Vantage server and I couldn't find the file.
> > Could someone give me a full path to this file on your server?
> >
> > I am on 8.03.305H
> >
> > Grzegorz Szczepañski
> >
> > --- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@>
> > wrote:
> > >
> > > I got it to work in a BPM. The syntax is:
> > > {lib/PublishInfoMsg.i &InfoMsg = "'your message here'"}
> > >
> > > You have to have the brackets, and if you use a literal string,
> > then the string has to be quoted inside the quotes.
> > >
> > > ----- Original Message ----
> > > From: phoenix <phoenix_@>
> > > To: vantage@yahoogroups.com
> > > Sent: Tuesday, October 21, 2008 4:20:32 PM
> > > Subject: Re: [Vantage] Re: MessageBox from 4GL ( BPM )
> > >
> > >
> > > Nigel,
> > > how you'll then explain this:
> > >
> > > I have wrote a 4GL code (BPM) for sending e-mails using;
> > > run SendEmail.i (don't remember right now syntax, but for sure it
> > runs
> > > some 4GL procedure) I did a mistake and did not specify a
> > recipient..
> > >
> > > What happend when action triger the procedure was a MessageBox
> with
> > > information that e-mail wasn't send because of missing recipient.
> > Based
> > > on this I am almost sure that there is possibility to popup a
> > > MessageBox from 4GL.
> > >
> > > Grzegorz Szczepañski
> > >
> > > Dnia Tue, 21 Oct 2008 13:58:59 -0000
> > > "Nigel Kerley" <nigel.kerley@ johnhinde. com> napisa³(a):
> > >
> > > > I'm open to correction on this, but I believe that because the
> > BPM is
> > > > running on the server it can't display a MessageBox.
> > > >
> > > > As Mark suggests, the Message command writes to the
> > > > MfgSys803.server. log (in ..\epicor\mfgsys803 \Server\logs) .
> > This can
> > > > be very useful for code-checking.
> > > >
> > > > Nigel.
> > > >
> > > > --- In vantage@yahoogroups .com, "Mark Wonsil"
> <mark_wonsil@ ...>
> > wrote:
> > > > >
> > > > > > Sometimes when I am writing some 4GL code I would like to
> > check
> > > > values
> > > > > > of some variables on certain stages. Therefore I would like
> > to
> > > > have a
> > > > > > possibility to display some information during code
> execution
> > > > using for
> > > > > > it i.e a MessageBox.
> > > > > >
> > > > > > So far I am unable to do this, any help is welcome
> > > > >
> > > > >
> > > > > Hey, Grzegorz
> > > > >
> > > > > At Perspectives yesterday, they suggested using the Message
> > command
> > > > and the
> > > > > message doesn't popup but they do go to the AppServer log.
> > > > >
> > > > > Mark W.
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
>
>
I found aswer in Help system of Vantage. The topic is "4GL Action".
For my Vantage 8.03.3x the aswer is following:

{lib/PublishEx.i &ExMsg = "' My error message' " }
{&THROW_PRIVATE}.

Grzegorz Szczepañski

--- In vantage@yahoogroups.com, phoenix <phoenix_@...> wrote:
>
> Nigel,
> how you'll then explain this:
>
> I have wrote a 4GL code (BPM) for sending e-mails using;
> run SendEmail.i (don't remember right now syntax, but for sure it
runs
> some 4GL procedure) I did a mistake and did not specify a
recipient.
>
> What happend when action triger the procedure was a MessageBox with
> information that e-mail wasn't send because of missing recipient.
Based
> on this I am almost sure that there is possibility to popup a
> MessageBox from 4GL.
>
> Grzegorz Szczepański
>
> Dnia Tue, 21 Oct 2008 13:58:59 -0000
> "Nigel Kerley" <nigel.kerley@...> napisał(a):
>
> > I'm open to correction on this, but I believe that because the
BPM is
> > running on the server it can't display a MessageBox.
> >
> > As Mark suggests, the Message command writes to the
> > MfgSys803.server.log (in ..\epicor\mfgsys803\Server\logs). This
can
> > be very useful for code-checking.
> >
> > Nigel.
> >
> > --- In vantage@yahoogroups.com, "Mark Wonsil" <mark_wonsil@>
wrote:
> > >
> > > > Sometimes when I am writing some 4GL code I would like to
check
> > values
> > > > of some variables on certain stages. Therefore I would like
to
> > have a
> > > > possibility to display some information during code execution
> > using for
> > > > it i.e a MessageBox.
> > > >
> > > > So far I am unable to do this, any help is welcome
> > >
> > >
> > > Hey, Grzegorz
> > >
> > > At Perspectives yesterday, they suggested using the Message
command
> > and the
> > > message doesn't popup but they do go to the AppServer log.
> > >
> > > Mark W.
> > >
> >
> >
>
It seems that I was to fast...
the code I provided is working, but its functionality is different
than I expected to be.
This is purly an Exception. It means that it stops processing the
code that is after this exception.

So I am still looking for MessageBox for 8.03.3x without stoping the
execution of the rest of the code.

Grzegorz Szczepañski

--- In vantage@yahoogroups.com, "tomojmail" <phoenix_@...> wrote:
>
> I found aswer in Help system of Vantage. The topic is "4GL Action".
> For my Vantage 8.03.3x the aswer is following:
>
> {lib/PublishEx.i &ExMsg = "' My error message' " }
> {&THROW_PRIVATE}.
>
> Grzegorz Szczepañski
>
> --- In vantage@yahoogroups.com, phoenix <phoenix_@> wrote:
> >
> > Nigel,
> > how you'll then explain this:
> >
> > I have wrote a 4GL code (BPM) for sending e-mails using;
> > run SendEmail.i (don't remember right now syntax, but for sure it
> runs
> > some 4GL procedure) I did a mistake and did not specify a
> recipient.
> >
> > What happend when action triger the procedure was a MessageBox
with
> > information that e-mail wasn't send because of missing recipient.
> Based
> > on this I am almost sure that there is possibility to popup a
> > MessageBox from 4GL.
> >
> > Grzegorz Szczepański
> >
> > Dnia Tue, 21 Oct 2008 13:58:59 -0000
> > "Nigel Kerley" <nigel.kerley@> napisał(a):
> >
> > > I'm open to correction on this, but I believe that because the
> BPM is
> > > running on the server it can't display a MessageBox.
> > >
> > > As Mark suggests, the Message command writes to the
> > > MfgSys803.server.log (in ..\epicor\mfgsys803\Server\logs). This
> can
> > > be very useful for code-checking.
> > >
> > > Nigel.
> > >
> > > --- In vantage@yahoogroups.com, "Mark Wonsil" <mark_wonsil@>
> wrote:
> > > >
> > > > > Sometimes when I am writing some 4GL code I would like to
> check
> > > values
> > > > > of some variables on certain stages. Therefore I would like
> to
> > > have a
> > > > > possibility to display some information during code
execution
> > > using for
> > > > > it i.e a MessageBox.
> > > > >
> > > > > So far I am unable to do this, any help is welcome
> > > >
> > > >
> > > > Hey, Grzegorz
> > > >
> > > > At Perspectives yesterday, they suggested using the Message
> command
> > > and the
> > > > message doesn't popup but they do go to the AppServer log.
> > > >
> > > > Mark W.
> > > >
> > >
> > >
> >
>
Hi Grzegorz,

> What happend when action triger the procedure was a MessageBox with
> information that e-mail wasn't send because of missing recipient. Based
> on this I am almost sure that there is possibility to popup a
> MessageBox from 4GL.

Can you remind us what is the business problem that you're trying to solve?
BPMs have a way to raise a message window already.

Mark W.
Mark,
I did not notice that you post answer to my question. Sorry.

The reason why I prefer to use a MessageBox from 4GL over a 'Raise
exception' is that:
1. 'Raise exception' is stopping the execution of your code
2. In 4GL you can put message in any point of your code
3. The data that you can pass to message box from 4GL can be selected
from ANY table, not only ttTables that you are limited to in 'Raise
exception'

Grzegorz Szczepański

Dnia Fri, 24 Oct 2008 11:41:58 -0400
"Mark Wonsil" <mark_wonsil@...> napisał(a):

> Hi Grzegorz,
>
> > What happend when action triger the procedure was a MessageBox with
> > information that e-mail wasn't send because of missing recipient.
> > Based on this I am almost sure that there is possibility to popup a
> > MessageBox from 4GL.
>
> Can you remind us what is the business problem that you're trying to
> solve? BPMs have a way to raise a message window already.
>
> Mark W.
>
>