Document Design Manager - E-Mail Settings - Stock Control


Datafile Software

Document Design Manager - E-Mail Settings - Stock Control

The E-Mail Settings option allows you to configure default message details if the document is printed to E-Mail.

Data item containing e-mail address – select the data item from the main file in the application that contains the email address to be used.The main files for each application are:

Sales Issues / Sales Reservations – Sales Accounts File

Purchase Orders / Orders Received / Goods Received – Purchase Accounts File

Location Transfer – Location File (To-Location Record)

NB: For Stock Adjustments, Stock Transfers and Cost/Price Changes this option is suppressed.

Send Automatically– controls whether the message is to be displayed for confirmation/amendment before sending. See notes on Microsoft Outlook / Outlook Express below.

Filename to Save As– the document is saved as an attachment to the email with a filename of the document title. You may want to save with a more relevant name. You only enter the filename not the path or suffix and you can use ‘!nnn’ to pick up a value from the main file record (where nnn is a three-digit data item number – 002 etc.). Data Items available can be viewed by clicking the LIST button at the foot of the parameter screen.

Address – this option asks for a ‘hard-coded’ email address to which to send the email to as an alternative to picking up the address from a main file record. You may use this on Stock Documents to send the document to the warehouse.

Subject – enter the subject of the email. Again you can use !nnn to pick up a value from the main file record and in addition to the standard 160 fields available from the database you can use special items to pick up:

161 – Document Date

162 – User Name

163 – Document Reference

164 – Document Balance

Message – enter the message detail as required. Again you can use !nnn to pick up items from the main file or include the extra 161+ items above.

Wordwrap – when you send a message the text is output as entered above but the use of !nnn items may cause one line entered in the message to overflow into two lines on the email. Setting the option to word wrap outputs the message text as paragraphs, a new paragraph starting after a blank line. You can also force a new paragraph by entering ‘%%’ at the start of the line.

Automatic Emails and Outlook Express / Microsoft Outlook

Security developments in later versions of Outlook Express and Microsoft Outlook mean that, by default, you cannot send emails automatically – a message is displayed warning that a program (i.e. Datafile) is trying to send an email message and asks whether you wish to proceed with the send (and you can’t respond Yes for a number of seconds). This feature was introduced to prevent viruses spreading themselves to everyone in your address book. This feature cannot be disabled by Datafile.

Outlook Express can be set to disable this warning via the Tools / Options menu and the Security tab.Disabling ‘Warn me when other applications try to send mail as me’ will prevent the warning message. If you do this you must ensure that your virus checker and firewalls are currently up-to-date and are kept up-to-date.

Microsoft Outlook does not have an equivalent option to this. Microsoft Support does notify that if using Outlook on top of Exchange Server then you can set via ‘Administer Outlook Security’ tools trusted programs that are allowed to send emails automatically.

Finally, Outlook Express can be set to send mail immediately on creation. Whilst not an issue as much in Stock Control, as only one document is produced at a time in other applications when this is set the email message is sent after each, for example, sales statement is produced in Datafile and Datafile cannot continue to the next statement until Outlook Express has sent the message. As you might imagine even on a broadband connection this can take some time.Within Outlook Express selecting Tools / Options and the ‘Send’ tab allows you to disable the option to send mail immediately.

Automatic Email and Anti-Virus Software

As with the security checking introduced by Microsoft, anti-virus checkers can also look for several e-mail messages being sent in a short period of time. Anti-virus checkers generally warn when more than one message is sent with the same subject (which could be avoided by using the !nnn function to pick up a value from the main data item record), and also warn if a number of messages are sent within a number of seconds (these details depend on the virus software). Generally the Anti-virus software will pause the sending of the email message(s) and ask you to confirm it is OK to send.

Fax Printing

Selected fax software, such as Tobit David and Zetafax, allow programs to pass information to them with regards to fax and contact details. This option allows you to enter those commands and pick up fax and contact details from the customer / supplier account / location record (the databases available dependent on the document and matching that of email settings above).

You have the ability to enter up to ten lines of control text that will be passed to the fax printer (note if you print this to a standard printer directly – i.e. not print to the fax printer – these commands will appear on the printout) which will allow you to pass detail such as fax numbers and contacts.

To pass information from the database, such as a fax number, you enter the command (@@NUMBER for Tobit), followed by a space and then a ‘!’ and a three-digit number, finishing with any closing command (@@ for Tobit). Data items available are shown on the LIST button including special options for document date and user name.

Include commands when sending to the spooler – If left blank then the commands will not be included if you send the document to the print spooler. Note that if sending document runs to the spooler containing multiple commands for different contacts then Tobit for one cannot interpret the print job correctly.


Custom Fields

Article ID: 500
Created On: Tue, Jun 19, 2012 at 10:22 AM
Last Updated On: Thu, Jun 22, 2023 at 10:57 PM

Online URL: https://kb.datafile.co.uk/article/document-design-manager-e-mail-settings-stock-control-500.html