Notify Portal RMA Request Created - Workflow Event Handler

Use this event handler to notify an SyteLine customer service representative that an RMA request was made by a portal user. The notification can be an external email and/or a message sent to the Inbox form for SyteLine users. The event handler also sends an RMA request confirmation to the portal user.

Notification Text

This is the text of the notification that is sent to the SyteLine users:


To: receipient
From: portaluser
Subject: New RMA Request
Body: An RMA request has been received for Customer custnum, custname, entered by user portaluser. 

This is the text of the confirmation that is sent to the portal user who made the request:


To: portaluser
From: originator
Subject: Request for RMA Received
Body: Thank you for submitting your RMA Request.  It has been received for processing.

Variable Information

Variable Description
recipient For an SyteLine Inbox message, this is the SyteLine user name you specify in the Notify Users field on the Workflow Event Handler Activation form. You can specify multiple names separated by semicolons.

For an external email, this is the email address you specify in the Email Users field on the Workflow Event Handler Activation form. You can specify multiple names separated by semicolons.

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 on 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.
custnum This is the customer number associated with the portal user who requested the return.
custname This is the name of the customer associated with the portal user who requested the return.

Global Constants

These global constants are created by the event handler, based on the entries you make in the Workflow Event Handler Activation form:

Global Constant Contains
SharePointRMARequestCreatedManagerID Contents of the Notify Users field
SharePointRMARequestCreatedManagerEmail Contents of the Email Users field.

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 IdoOnInvoke event for the SLRmas IDO triggers these notifications.