|
The MTIMP program is used to import reports into ChartNet.
The following is a screen shot of the MTIMP program.

Configuring the Import Profile
To create a new import profile or edit an existing profile, click on "File > Configuration". Select "MTIMP" from the list of INI files, then add or edit the profile. The following is a description of each field in the profile.
| Profile Option | Description |
| Path | Enter the path where the import files will be obtained |
| File mask | Enter the file mask for the import files |
| Distribute | N=Do not distribute the report; Y=Distribute the report after importing |
| Validate against MPI file | Validate the Account Number against MPI file. Reports with invalid account numbers will not be imported. |
| MPI lookup field | Specifies which index to use when doing the MPI lookup on the account number. A=Acctno, M=Mrun |
| Reject path | Path where rejected import files should be placed. Default is the same folder as the import files. |
| Default site code | Site code to use if no /SITE in header |
| ACCTNO is MRUN | Use the MRUN for the Account Number. |
| Default user code | User code to use if no /SCRIBE code in header |
| Auto-indent tabs | Reports being imported use auto-indent tabs. Set to "Y" if import files were created by Microsoft Word. |
| Auto-print log | Automatically print the log after importing |
| Reformat | Reformat the report using the form's defaults |
| Backup files after import | Backup files to \backup folder (under the import path). |
| Do not insert report footer | Do not insert the form's report footer at end of body |
Check name against MPI Check name against MPI name if using MPI file
| Check for missing data | Check for required fields missing |
| Review sites list | List of site codes (separated by commas) whose imported reports should always go into the Review file. |
| Use WordPort | Use WordPort instead of MS Word to convert to RTF |
| Default tab size | Default tab size (in inches) if no default tab size is found in the import file. |
| Error log file | Override path and filename for the error log. Default is Errors.log in the input path. |
| Check for duplicates | Check for duplicates by checking to see if a file with the same name exists in the \backup folder. |
Command-line Parameters:
| /Profile=[name] | Specifies the profile to use in the MTIMP.INI file. Must be used to run the MTIMP program in automatic mode (i.e. unattended). If this parameter is not found, the program will default to interactive mode. |
Errors File
When the program runs, if any errors occur that keep a report from importing, the program will create an error file called "ERROR.LOG", located in the same folder that the imported report files come from. Each time the program runs, it will erase this file before starting the import process. It is the user's responsibility to review this file (using NotePad or other word processor) to see which files had errors.
|