6.10 - RMA Alert

Yes, you can. See the following sample code, if you're only looking for a
simple alert that the Stooges could receive. In your BAM setup, choose the
RMANum field.



Regards,
Scott Lepley
Systems Administrator
Mauell Corporation
Phone: 717-432-8686, ext. 14
Fax: 717-432-8688
Email: sal@...
Vantage version: 6.10.529





/* This email alert is sent when a new RMA is entered in Vantage */



{ud/GlbAlert.i &tablename = "RMAHead" }



FIND Customer WHERE Customer.Company = RMAHead.Company AND Customer.CustNum
= RMAHead.CustNum NO-LOCK.

IF NOT AVAILABLE Customer THEN RETURN "Cancel Send".



/* Set the To: recipient of the email */



ASSIGN Email-To = "moe@...".



/* Set the CC: recipients of the email */



ASSIGN Email-CC = "larry@...; curly@...".



/* Set the subject of the email */



ASSIGN Email-Subject = "New RMA (#" + string(RMAHead.RMANum) + ") for " +
(Customer.Name).



/* Set the email type to be HTML */



ASSIGN Email-Mime-Header = {&HTML-Mime}.



/* Set the body of the email */



ASSIGN Email-Text = "Please note that RMA #" + string(RMAHead.RMANum) + "
has just been entered in Vantage for " + (Customer.Name) + ".".





-----Original Message-----
From: Conrad, Jeff [mailto:jconrad@...]
Sent: Tuesday, August 23, 2005 10:10 AM
To: vantage@yahoogroups.com
Subject: [Vantage] 6.10 - RMA Alert



How can I, or can I, create a custom global alert on the event of creation
of an RMA using the BAM?
TIA,
Jeff

Jeff Conrad
IS Analyst
919.956.4303
Firstmark Aerospace
Durham, NC





[Non-text portions of this message have been removed]
How can I, or can I, create a custom global alert on the event of creation
of an RMA using the BAM?
TIA,
Jeff

Jeff Conrad
IS Analyst
919.956.4303
Firstmark Aerospace
Durham, NC




[Non-text portions of this message have been removed]