Name of File Created While Exporting Journal to Microsoft Word
Name of File Created While Exporting Journal to Microsoft Word defines what the name of the file created by exporting journal to the MS Word will be. The setting can be used for unification of all your files - you will have a transparent overview of your files.
Double-clicking Name of File Created While Exporting Journal to Microsoft Word in the list will bring up the Global Setting card.
Field on the Global Setting Detail
You can enter a plain text to the field, but it means that all exported files will be named identically. So that the most common way of defining the file name is using the global system variables - you can use them for creating your own specific structure of a file name.
System Variable | Description |
CURRENT_USER | Current user |
CURRENT_ITEM | Current item |
CURRENT_ITEM_OWNER | Owner of the current item |
SUPERIORITEM | Superior item of journal |
CONTACTPERSON | Information about Customer |
CUSTOMER | Information about Contact Person |
If you are defining the file name, you can use different variables and their attributes in this order: $VARIABLE_NAME[NameOfTheColumnInDatabase], e.g. $CUSTOMER[FileAs] fills in the name of the company inserted in the journal window.
You fill in only those variables you really want to have in the file name. The usage of syntax can look like this (you can use different forms of syntax):
Example 1 - text entry
eWay-$CUSTOMER[FileAs]-$CURRENT_ITEM[FileAs]
It will create a file with the name contains "eWay-Customer name-journal name".
Example 2 - SQL entry
SQL#SELECT 'eWay-' + '$CURRENT_ITEM[FileAs]'
It will create a file with the name contains "eWay-journal name".
Clicking OK in the lower part of the Global Setting card will save changes and close the card. If you wish to close the Global Setting card without saving any changes, click Cancel.