Dick,
I have done a couple of these.
They both will give you examples of adding meaningful information to the
email.
The first one is for parts were the active / inactive status changes.
/* Program to send a global alert on Active/Inactive Part changes
by Patrick Winter
10/15/2004 */
{ud/GlbAlert.i &TableName = "Part"}
DEFINE VARIABLE NewEmailBody AS CHARACTER NO-UNDO.
IF Part.Inactive = FALSE
THEN DO:
ASSIGN Email-Subject = Part.PartNum + " reopened or new part by " +
USERID.
ASSIGN Email-Text = "Part was reopened.".
END.
ELSE DO:
ASSIGN Email-Subject = Part.PartNum + " inactivated by " + USERID.
ASSIGN Email-Text = "Part was inactivated. sSc MPN: " +
Part.Searchword.
END.
/* the end */
This second one sends email when a specific job type is closed.
Jobs that begin with TL which is a tool kit job in our tool room
/* Program to send a global alert on a TL Job when closed
by Patrick Winter
10/15/2004 */
{ud/GlbAlert.i &TableName = "JobHead"}
DEFINE VARIABLE NewEmailBody AS CHARACTER NO-UNDO.
IF JobHead.JobClosed = TRUE
AND SUBSTRING(JobHead.JobNum,1,2) = 'TL'
THEN DO:
ASSIGN Email-Subject = JobHead.JobNum + "has been closed by " + USERID.
ASSIGN Email-Text = "The attached tool job has been closed, the tools
are ready!".
END.
ELSE DO:
RETURN ERROR.
END.
/* end */
Patrick Winter
sSc Specialty Screw Corporation
Vantage 6.10.514, Progress 9.1D08, Windows 2003 Server, Crystal 8.5.3.975
-----Original Message-----
From: PLAMAN DICK [mailto:
dick.plaman@...]
Sent: Friday, February 04, 2005 6:04 AM
To:
vantage@yahoogroups.com
Subject: [Vantage] V6.0 Business Activity Manager
Anyone who uses the BAM know that this global alert does not return
meaningful information on the body of an e-mail.
For instances, when someone changes an order quantity, the email tells the
recipient that an order quantity has been changed.
Which one???? Who knows. I spoke to Epicor yesterday, and they told me
that there would have to be a Progress routine incorporated to return the
desired values. They do not have an example tho.
Has anyone gone down this road? Do you have any examples?
regards,
[Non-text portions of this message have been removed]
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Yahoo! Groups Links