Alert Users of New Vendor Document - Workflow Event Handler
Use this event handler to automatically notify SyteLine users and Vendor Portal users when a new vendor document is uploaded by an SyteLine user using the Attached Documents form.
To receive this notification, users must be subscribed to the VendorDocumentUploadAlert publication. The notification can be an external email and/or a message sent to the Inbox.
Notification Text
To: user
From: sluser2 Subject: Vendor Document Upload Body: My text Vendor Document: documentname Uploaded By SyteLine User for Vendor: vendorname Form: formname Record: recorddesc
Variable Information
Variable | Description |
---|---|
user | The SyteLine user or portal user who subscribes to this alert. The user's primary email address (from the Users form) is used. |
My textsluser2 | The SyteLine user who uploads the document. |
documentname | The name of the document that was uploaded. |
vendorname | The vendor name for whom the document has been uploaded. |
formname | The SyteLine form for which the document has been uploaded. |
recorddesc | The SyteLine record for which the document has been uploaded. Depending on the form, record information may include Item; Vendor Item and Item; Purchase Order; Purchase Order and Line; or Purchase Order, Line, and Release. |
Associated Event and IDO
The event IdoPostItemInsert for the SLDocumentObjectAndRefExtViews IDO triggers this notification.