Email Default Messages for Reports

Document path Reference Contents > Manager Controls > Email Default Messages for Reports

Email Default Messages for Reports

The program Email system enables you to print any document or report to the Email destination. This sends the document as an attached HTML document to an email recipient. The operation of this is discussed in the Email Sending Details window.

This window provides you with the ability to set default message data for documents and reports sent by email. You can set these defaults up at two levels, determined by the Key Value:

Key Values

Normally these should be simply the report class name (e.g. wPtmValue for the Inventory Valuation Report). However for document type reports generic codes are used, as follows:

To specific customers use the following codes followed by a comma and the customer code (e.g. SO,ALW001). For customers not entered specifically simply use the key.

To specific suppliers use the following codes followed by a comma and the supplier code (e.g. PO,DEVON). For suppliers not entered specifically simply use the key.

To specific Marketing Companies use the following codes followed by a comma and the company ID number (e.g. Letter,6). For companies not entered specifically simply use the key.

Additionally, there is a key syntax which allows the message to apply to customers/suppliers depending on their index code(s). The following are Key alternatives in the order of their significance for documents:

  1. Report Type code and master record key, e.g. Quote,ALW001 or PO,ABC100
  2. Report Type code and both master index 1 and 2, e.g. Quote~IDX1~IDX2
  3. Report Type code and master index 1 only, e.g. Quote~IDX1
  4. Report Type code and master index 2 only, e.g. Quote~~IDX2
  5. Report Type Code only e.g. Quote

You can therefore set up a hierachy of message texts that apply to different groups of customers/suppliers.

Parameters

Inside the heading and message texts you can use parameters which substitute for system or customer/supplier/marketing contact values. These include: System:

Customers/Suppliers/Marketing Contact:

In addition, you can place interpreted data into the Subject or Message text. This is achieved by using square bracket notation. Anything inside square-brackets is evaluated as a calculation before the text is used. Such calculations can contain data globally available at the time. This varies with the report being printed and it is left to the user to experiment. For example, when printing a Sales Order, the header file SOHFILE will be available so you could use [SOHSONO]. But no guarentees here! You can get what you can, and that is it!

Field

Description

Default Messages List

List of keys which will be used to identify the report for which the messages apply.

Key

Email Report Messages. Email form key (special user report type | report class name [,key field value]. {EMAFILE.EMAKEY char 75}

Priority

Email Report Messages. Email priority (5 is high, 1 is low, 3 is normal). {EMAFILE.EMAPRIO integer shortint}

Subject

Email Report Messages. Email subject text (with optional parameters as #Business, #Contact, etc). {EMAFILE.EMASUBJ char 100}

CC

Email Report Messages. Carbon copy (cc) address list separated by commas. {EMAFILE.EMACC char 1000}

BCC

Email Report Messages. Blind carbon copy (bcc) address list separated by commas. {EMAFILE.EMABCC char 1000}

Message

Email Report Messages. Email body, excluding signature (with optional parameters as #Business, #Contact, etc). {EMAFILE.EMABODY char 10000000}

Button

Action

Help

To provide notes on special key configurations and optional parameters.

Edit

Allows you to Edit the record that is currently being displayed on the window. After making changes, confirm with an OK or revert with a Cancel.

Add

This will create a new (normally blank) record in the file. You will then be able to enter details for the record. Then confirm with an OK, or abandon the New record with a Cancel.

Delete

Execute this button to permanently remove the currently selected record from the file. If you are permitted to delete the item, you will be asked for confirmation, otherwise an explanation will be given.

Print

Will cause a report to be printed of the subject matter. Right-click to select report destination.

Cancel

Aborts the process currently in session. The keyboard equivalent is the Esc key for Windows computers and Command-.(full stop or period) for the Mac.

OK

The OK button updates the data you have entered, or confirms the selection and/or processes the function you have called.

See also: -

Compiled in Program Version 3.10. Help data last modified 6 JUL 2009 05:50. Class wEmailTexts last modified 12 DEC 2008 04:21:47.

Document path Reference Contents > Manager Controls > Email Default Messages for Reports