Use this event handler to notify a SyteLine customer service representative that an RMA request was made by a portal user. The notification can be an external e-mail 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.
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 | Description |
---|---|
recipient | For a 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 e-mail, this is the e-mail address you specify in the E-mail Users field on the Workflow Event Handler Activation form. You can specify multiple names separated by a semicolons. |
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 | 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:
|
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. |
To change the subject or body of the message, see Modifying Workflow Event Handlers.
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 E-Mail Users field. |
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 IdoOnInvoke event for the SLRmas IDO triggers these notifications.