Notify Portal RMA Approved - Workflow Event Handler

Use this event handler to notify a portal user that an RMA request was approved. The notification is sent to the user's portal Inbox page. If the user has chosen to receive email messages for Confirmations, the notification is also sent as an external email.

Notification Text


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 page, no To field is displayed. If an external email is sent, this is the portal user's email address specified on the SyteLine Users form.
originator

For notifications sent to the portal Inbox page, no From field is displayed. If an external email is sent to the portal user, the From field usually contains either:

  • The email address associated with the SyteLine user who performed the action that generated the message.
  • The email 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.

Associated Event and IDO

The RMA request in the portal calls CreateRma, which is invoked as a method on the SLRmas IDO and triggers the event handler. The IdoOnItemUpdate event for the SLRmas IDO triggers this notification when the status is set to Opened.