Vic,
One other thing on the exception message. Make sure to put a RETURN
statement following the exception, or the BPM will continue processing
through the code.
Kevin Simon
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Greg Payne
Sent: Thursday, August 02, 2012 9:37 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] 4GL Informational Message in BPM
Vic:
These are the message formats for 4GL. the message statement is putting an
entry in the server log, which can be great for debugging.
Need to be careful with the single quotes wrapped in double quotes.
Greg Payne
INFO MESSAGE BOX
{lib/PublishInfoMsg.i &InfoMsg = "' Quote material Update: after ttQuoteMtl
, quote = ' + STRING(ttquotemtl.QuoteNum)"}.
EXCEPTION
{lib/publishex.i &exmsg = '"Selected the ''Ship To'' before entering the
''Need By Date''"' }.
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Vic Drecchio
Sent: Thursday, August 02, 2012 9:31 AM
To: Vantage Yahoo
Subject: [Vantage] 4GL Informational Message in BPM
Part of a Post Processing directive which calls 4GL code, I simply want to
pop up a window with a message.
I should be able to use:
MESSAGE "HELLO WORLD" VIEW-AS ALERT-BOX INFORMATION BUTTONS OK.
Look good?
Are there any limitations with the MESSAGE statement? Other parts of the
4GL *are* executing, but not this statement.
TIA.
Vic
-----
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2012.0.2197 / Virus Database: 2437/5172 - Release Date: 08/02/12
[Non-text portions of this message have been removed]
________________________________
CONFIDENTIALITY NOTICE
The information contained in this communication, including attachments, is
privileged and confidential. It is intended only for the exclusive use of
the addressee. If the reader of this message is not the intended recipient,
or the employee or agent responsible for delivering it to the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have received
this communication in error, please notify us at (727) 578-6258 and
immediately delete the communication.
"This (document/presentation) may contain technical data as defined in the
International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of
this material is restricted by the Arms Export Control Act (22 U.S.C. 2751
et seq.) and may not be exported to foreign persons without prior approval
form the U.S. Department of State."
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
One other thing on the exception message. Make sure to put a RETURN
statement following the exception, or the BPM will continue processing
through the code.
Kevin Simon
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Greg Payne
Sent: Thursday, August 02, 2012 9:37 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] 4GL Informational Message in BPM
Vic:
These are the message formats for 4GL. the message statement is putting an
entry in the server log, which can be great for debugging.
Need to be careful with the single quotes wrapped in double quotes.
Greg Payne
INFO MESSAGE BOX
{lib/PublishInfoMsg.i &InfoMsg = "' Quote material Update: after ttQuoteMtl
, quote = ' + STRING(ttquotemtl.QuoteNum)"}.
EXCEPTION
{lib/publishex.i &exmsg = '"Selected the ''Ship To'' before entering the
''Need By Date''"' }.
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Vic Drecchio
Sent: Thursday, August 02, 2012 9:31 AM
To: Vantage Yahoo
Subject: [Vantage] 4GL Informational Message in BPM
Part of a Post Processing directive which calls 4GL code, I simply want to
pop up a window with a message.
I should be able to use:
MESSAGE "HELLO WORLD" VIEW-AS ALERT-BOX INFORMATION BUTTONS OK.
Look good?
Are there any limitations with the MESSAGE statement? Other parts of the
4GL *are* executing, but not this statement.
TIA.
Vic
-----
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2012.0.2197 / Virus Database: 2437/5172 - Release Date: 08/02/12
[Non-text portions of this message have been removed]
________________________________
CONFIDENTIALITY NOTICE
The information contained in this communication, including attachments, is
privileged and confidential. It is intended only for the exclusive use of
the addressee. If the reader of this message is not the intended recipient,
or the employee or agent responsible for delivering it to the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have received
this communication in error, please notify us at (727) 578-6258 and
immediately delete the communication.
"This (document/presentation) may contain technical data as defined in the
International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of
this material is restricted by the Arms Export Control Act (22 U.S.C. 2751
et seq.) and may not be exported to foreign persons without prior approval
form the U.S. Department of State."
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]