Notify Portal RMA Approved - Workflow Event Handler

Use this event handler to notify a portal user that an RMA request was approved. It is triggered when the RMA status is set to Opened. The notification is an external e-mail.

This is the text of the notification that is sent to the portal user:

To: portaluser
From: originator
Subject: Request for RMA Approved
Body: Your RMA request, entered on date, has been approved. Your RMA is number rmanum.
	

Variable Information

Variable Description
portaluser For notifications on the portal Inbox, no "To" field is displayed. If an external e-mail is sent to the portal user, this is the e-mail address associated with the SyteLine user name assigned to the portal user.
originator

Sending notifications: For notifications on the portal Inbox page, no "From" field is displayed. If an external e-mail is sent to the portal user, the "From" field usually contains either:

  • The e-mail address associated with the SyteLine user who performed the action that generated the message.
  • The e-mail address for the SMTP User Name associated with the intranet entered on the Sites/Entities form for the site.
date This is the date on which the portal user requested the RMA.
rmanum This is the new return material authorization that was added. It displays on the RMAs form with a status of Requested.

Modifying the Event Handler

To change the subject or body of the message, see Modifying Workflow Event Handlers.

Technical Details

Associated Event and IDO

The RMA request in SharePoint calls the shared procedure CreateRma invoked as a method on the SLRmas IDO. When the stored procedure is called, this event handler fires. The IdoOnItemUpdate event for the SLRmas IDO triggers these notifications.

 


Related Topics

About Workflow Event Handlers

Setting Up and Activating Workflow Event Handlers

Modifying Workflow Event Handlers