Email / Messages - Formatting

Formatting of automated email messages.

Dan Waterfield avatar
Written by Dan Waterfield
Updated over a week ago

This document describes the formatting for all email types used in Auto AP Invoice scheduled processing.

Most email messages are associated with a UD104 (Auto AP Invoice Review) row. The data for the email is taken from that UD104 row.


Email Types


AP Default

Recipient Email Address Source:

Company-specific user code configuration.

(CodeTypeID: APInv CodeID: EmailAlert).

Subject:

Auto AP Invoice ({Session.CompanyID}): Required action for the attached invoice

Body:

TranID: {UD104.TranID}

Tran Type: {UD104.TranType}

Supplier ID: {UD104.VendorID}

Supplier Reference: {UD104.VendorRef}

Invoice Number: {UD104.InvoiceRef}

Invoice Reference: {UD104.FULLInvoiceRef}

MESSAGE:

{UD104.message}


Supplier

Recipient Email Address Source:

Email address associated with the supplier.

(Vendor.EMailAddress).

Subject:

Invoice ({UD104.InvoiceRef}) missing PO Number

Body:

The email body is populated by concatenating all of the LongDesc fields in the APEmailSup user codes.


Buyer

Recipient Email Address Source:

If the UD104 row contains a valid PONum, the email address associated with the

buyer is used.

(Buyer.EMailAddress).

If the UD104 row does not contain a valid PONum, the requestor email address from the Supplier is used.

(Vendor.Requestor_c).

Subject:

Please resolve error with PO {UD104.PONum}

Body:

The email body is populated by concatenating all of the LongDesc fields in the APEmailBuy user codes with the UD104 message attached to the end.


SharePoint Error

Recipient Email Address Source:

Company-specific user code configuration.

(CodeTypeID: APInv CodeID: EmailAlert).

Subject:

AUTO AP INVOICE: Error creating SharePoint folders

Body:

Error creating SharePoint folders, please forward to IT staff: {ex.Message}


Email Ingest Error

Recipient Email Address Source:

Company-specific user code configuration.

(CodeTypeID: APInv CodeID: EmailAlert).

Subject:

Error processing email message

Body:

{Error}


UD104 Error

Recipient Email Address Source:

Company-specific user code configuration.

(CodeTypeID: APInv CodeID: EmailAlert).

Subject:

AUTO AP INVOICE: Error updating ud104

Body:

Error updating ud104, please contact IT staff: {objectPrint(ex)}


Supplier Reminder Error

Recipient Email Address Source:

Company-specific user code configuration.

(CodeTypeID: APInv CodeID: EmailAlert).

Subject:

AUTO AP INVOICE: Error checking records for No PO follow ups

Body:

Error checking records for No PO follow ups, please forward to IT staff: {ex.Message}


Automatic Completion Error

Recipient Email Address Source:

Company-specific user code configuration.

(CodeTypeID: APInv CodeID: EmailAlert).

Subject:

AUTO AP INVOICE: Error checking records for automatic completion

Body:

Error checking records for automatic completion, please forward to IT staff: {ex.Message}


Manually Complete Date Error

Recipient Email Address Source:

Company-specific user code configuration.

(CodeTypeID: APInv CodeID: EmailAlert).

Subject:

AUTO AP INVOICE: Error adding dates to records manually marked as complete

Body:

Error adding dates to records manually marked as complete, please forward to IT staff: {ex.Message}


Reassigning Incomplete Error

Recipient Email Address Source:

Company-specific user code configuration.

(CodeTypeID: APInv CodeID: EmailAlert).

Subject:

AUTO AP INVOICE: Error reassigning open buyer errors

Body:

Error reassigning open buyer errors, please forward to IT staff: {ex.Message}


Buyer Reminder Error

Recipient Email Address Source:

Company-specific user code configuration.

(CodeTypeID: APInv CodeID: EmailAlert).

Subject:

AUTO AP INVOICE: Error checking records for buyer follow ups

Body:

Error checking records for buyer follow ups, please forward to IT staff: {ex.Message}

Did this answer your question?