This is an old revision of the document!


15.01. General preferences

  • The preferences described here (accessed through File > Preferences…) apply to all stores in an mSupply datafile.
  • In a synced system there will be multiple 'sync satellites' and these settings can be different on each sync satellite (because they are not synchronised from the primary server)).
  • There are some settings that are 'per store' i.e. they affect only a single store in a datafile. Please see the Store preferences section for details on those.

Preferences are used to configure some of mSupply's functionality to more closely match your needs. mSupply is very flexible and highly configurable so there are lots of preferences! To access them, choose File > Preferences… from the menus. There is a scrolling side bar on the left containing a list of tabs; click on the one you want to see the preferences on that tab.

Organisation name: What is filled in here is quite important. Not only will it print on the top of invoices and various reports, but it is also tied to your registration code. Please think carefully about what it should be before entering it. If you need to change your organisation name, please do so and then re-contact info@msupply.org.nz for a new registration code.

Address lines (1, 2…): Enter the address information about your organisation that you wish to appear on invoices.

This button is used for registering mSupply. (It will be dimmed if you have already registered). If you have not registered, clicking this button will display the registration details window:

  • Here you are provided with the information needed to register. Two of these, if changed, will invalidate your mSupply registration:
    • Your organisation name
    • Your hardware ID
  • Clicking the Copy details button will copy this information to the clipboard, which you can paste into an email and send to info@msupply.org.nz.
  • Once we have received this registration information we will generate a registration code and send it back to you.
  • The code is entered by clicking the Enter code button in the window shown above. You will then be shown another window where you can enter the registration details you have been supplied: Your registration instructions supplied with the registration code will describe what information to put in each field.
  • mSupply registration codes are specific to the Hardware ID, organisation name, Number of users and Expiry date of your licence (if it is time-limited - nearly all mSupply licenses are NOT time limited).
  • If you change either your organisation name or the computer on which you are running mSupply, you will need to contact Sustainable Solutions for a new code.
  • From version 3.85, the registration code depends on the machine UUID which is unique to every single computer and consists of 36. If your machine UUID is blank, please make sure that windows program CMD is allowed to run (it may be blocked by anti-virus or anti-malware software). Please make sure you keep mSupply as a trusted application and unblocked by any anti-virus or anti-malware software you are using.
  • For versions before 385, the registration code is dependent on the MAC address of the computer. If you have a 3G USB dongle (modem) plugged into the computer at the time you click on the registration button, Hardware ID will likely be based on the MAC address of the 3G USB dongle rather than that of the computer's Ethernet card. This can cause problems because if the 3G USB dongle is removed or changed at a later date, mSupply can become unregistered. To avoid this, make sure mSupply uses the MAC address of its inbuilt Ethernet card rather than the 3G USB dongle:
    • Disconnect any 3G USB dongles from the computer and restart mSupply.
    • Proceed with retrieving the registration details as described above and send them to us to create the unlocking code for you.
  • If the Hardware ID field is empty, for pre-3.85 versions this indicates that you do not have an Ethernet card or 3G USB dongle installed on your computer and for version 3.85 and above that mSupply or the Windows CMD programme is being blocked by anti-virus or anti-malware software. If you need help, please consult Sustainable Solutions.
  • If you move your data file to a new computer you will need to obtain a new registration code from us and enter it within 3 months to prevent mSupply not working.

After entering your registration details and clicking on the OK button in the screenshot above, if the datafile is set to use synchronisation then the following window will appear:

This is a very important window and you must be careful to make the right choice! When a datafile is unregistered, synchronisation is prevented from running for data security reasons. Your datafile is just about to be registered so you are being asked whether you want synchronisation to continue working or whether it should be stopped.

If you select “Stop Synchronisation”, then the synchronisation settings will be cleared and synchronisaiton will not work. You would select this option if you were using a copy of live data for training, for example.

If you select “Keep Synchronisation working”, then synchronisation will keep working (surprise!). You would use this option if you were using this datafile in a live synchronisation system, either for the first time or if you've moved it to a new computer.

When you have made your choice, type “I understand” in the textbox as confirmation (the consequences of turning on synchronisation to the live system for a duplicate datafile intended to be used in a training environment can be dire!) and click on the OK button. Whichever choice you have made, mSupply will now quit and you will need to restart it.

Hooray, the registration process is now copmplete!

Default customer

Leave this field blank for normal operation. If you usually (or always) only issue to one customer, enter that customer's code here. You must set the value to the name code of an existing customer. Doing so will mean that this customer's details are automatically filled in when you create a new customer invoice.

Default margin for suppliers

The percentage margin that will be filled in when you enter a new supplier. This value can be edited for each supplier at any time. Enter “0” if you do not apply a mark-up to items you sell (for example, if you are issuing stock to hospital wards at cost).

Default tax rate

The rate entered here will automatically be applied to customer and supplier invoices. Note that this amount can be edited when you are entering an invoice by clicking on the tax rate at the bottom of the invoice entry window.

Period closing

There are two fields allowing the entry of dates:

  • The Closed date is the date prior to which no transactions can be entered. Setting the closed date means that all transactions up to that date are finalised and mSupply will not allow the entry of any transactions with an earlier date. The closed date can not be moved backwards- only forwards.
  • The Locked date is the earliest date that can be entered for a transaction. The lock date can be moved forwards as far as the oldest non-finalised transaction, and backwards as far as the closed date

If you try to set an invalid locked or closed date you will be warned.

Be very careful setting the closed date. Changes to the closed date can not be undone.

Inactive user logout

This setting is only visible if you are using an mSupply client in a multi-user setup, not if you're using the single user version of mSupply (because it's not applicable to the single user version). This is where you set the time in minutes before the mSupply client is closed and the user is automatically logged out. To disable the function, set the time to 0 minutes (the default setting). This is really useful for preventing inactive users holding onto a user license when they've forgotten to logout of mSupply. But BEWARE: any unsaved work will be lost when mSupply is closed so remember to save your work regularly. The good news is that most of the things you do in mSupply are automatically saved as you do them (adding and removing lines to customer and supplier invoices, inventory adjustments, stocktakes etc.) so the chances of losing work is actually very small!

Own code for electronic invoices The code that customers must have for your organisation in their copy of mSupply. This code is added to invoices you export, and allows customers to import the invoice into their system automatically.

This is an old copy: warn me at startup. You may want to save an old copy of your data (for example the data as it stood on the last day of the financial year). If you check this box, you will be warned at startup if the database is an old copy, to reduce the risk of accidentally entering current transactions into an old file rather than your current file.

Use a lock file to warn if data already open If this box is checked, mSupply will maintain a record of when it is open outside of the database. This option only applies to the single-user version of mSupply. This means that if a second user attempts to open your data file while the data file is already in use, the user will be alerted, and no damage to the data will occur. Note that this option only applies to the single user version of mSupply. The client-server version of mSupply allows multiple users to access mSupply at the same time.

What if your machine crashes? If, for example, you have a power failure and your computer shuts down suddenly, mSupply will not be able to delete the lock file, and you will get a message when you attempt to restart mSupply that another user is already using the data file. If you are sure this is not the case, use Windows Explorer or the Mac Finder to locate the folder that contains your mSupply data. Delete the file that has the same name as your data file but ends in “_locked.txt”. You will now be able to start mSupply.

We recommend you do not turn this option on unless you understand the above paragraph or have a system administrator who authorises your use of this option.

An example of where turning on this option might be useful is when you store your mSupply data on a file server, and allow multiple single-user copies of mSupply to access the same data file. In such a situation to have 2 users attempt to access the data simultaneously would be disastrous.

Item codes must be unique When this box is checked, mSupply will ensure that each new item entered has a unique code.

Include catalogue code for item search When checked, a report can be produced where the item's catalogue code is one of the search parameters.

Currency formats This option specifies the format in which currencies will be displayed in mSupply. We provide two preset formats for currencies with 2 decimal places and currencies with none. If you want to enter a custom format you can change the field below the drop-down list. For example you may want to use a different separator than a comma. Note that if you type illogical values into the field the numbers may not display at all, or display erroneous data. Contact Sustianable Solutions if you need more information.

Service items Service items are items that do not have any stock associated with them. For example, a fee for special handling of goods, or for reprinting an old invoice, or a consulting charge.

These Preferences determine whether new items are allowed to be service items or not. Note that changing this preference will not affect existing items.

Names

  • Customer code and charge code must match - If checked, when entering or editing a Customer, you will have to enter the same code for both the “code” and the “charge code” fields. (It is a good idea to leave this checked unless you have several customers that are invoiced separately, but whose invoices are collated onto a single statement at the end of the month)
  • Supplier code and charge code must match - If checked, when entering or edit a Supplier, you will have to enter the same code for both the “code” and the “charge code” fields. (It is a good idea to leave this checked unless you have several suppliers that are invoiced separately, but whose invoices are collated onto a single statement at the end of the month)
  • Name code for all codes to be unique (both 'store' and 'dispensary' mode) - If checked, when entering or editing a customer or supplier mSupply will not allow the creation of a second name with the same name code.

Labels for custom item fields

mSupply provides you with seven custom fields that you can use to record your own data for each item.

  • the first three fields hold text or numbers,
  • the fourth field is yes/no (or true/false)
  • the fifth field is a numeric field
  • the sixth field holds text or numbers
  • the seventh field is yes/no (or true/false)

Here you can specify the label(or name) for each field. Note that field one is also displayed when you list items. Note also that when using the search editor to search for items (for example when producing a custom report), the fields are labeled “user field 1” etc.., and not with the labels you might have assigned.

Label for field on cash payment or receipt

The label of the Their ref field on Customer Receipts or Payments to suppliers can be changed to whatever you enter in this field. It is set to Cheque # by default. If you leave the field blank then the field label will be Their ref.

For an explanation of the sections on Purchase order defaults see the 16.02. Purchase order preferences section of this user guide.

For an explanation of the sections on Purchase order 2 go to Purchase Order Preferences

For an explanation of these sections see Invoices Preferences

Default account code for new items
  • There are 3 spaces for you to select the accounts to use. Choose one account for expenses when buying, one account for income when selling and an asset account for stock.
  • The accounts you enter here will become the default accounts for newly created items.
Item list (master and local)

If you check this box, then the visibility of items in stores will be set to match the items on master list(s) selected to be used by that store. For details on how this works and how to set it up, see Controlling item visibility - the Master lists tab.

This preference can drastically affect item visibility. For instance, if a store has no master lists assigned, all items will be made invisible in that store. Could lead to a scary moment!
If some items that are currently visible in a store need to be made invisible when this preference is turned on but they can't (because they have stock, for example) then a temporary master list is created for each store containing the problem items. mSupply will inform you but you should use that list to deal with those items.
Do not turn it on unless you know what you are doing! It affects ALL stores in the system.

If the box is unchecked then the visibility of items in a store is not affected by master lists.

Assigning item codes automatically

If you want item codes to be assigned automatically, check this checkbox.

On checking the box for “Use customer price categories”, mSupply will activate the price categories.

Price categories

By default all customers are assigned a price category of “A”

To assign a different category to a customer, choose Customers > Show customers… and find the customer entry. Then set the price category field to a different value

Here in the Preferences, you specify what percentage change to the default price will be made for each category.

For example, you might have a group of customers to whom you charge commercial prices, which are 20% above your normal price. Enter “20” in the “B” category field, then assign your private customers a price category of “B”

Ignore price categories for items supplied by these suppliers

Suppliers in this list will have no price category assigned to the items they supply. To add a supplier in this list, click the Add supplier button. A window will appear with a space to write the supplier's name. You can write the first character or two and press enter/return to bring up a list of suppliers that start with those letters. You can then select your chosen supplier from the list. To delete a supplier from the list, highlight it by clicking on it and then press the Delete Supplier button.

Require entry of quote validity date

Check this box if you want a validity date for a quote to be compulsory.

Automatically turn off preferred status after validity date

If you check this box then the preferred status will not appear when the validity date has passed.

Check this box if you want negative stock values to be ignored on stock history reports (negative values can be legitimate but concerning for some users so negative values are left as zeroes if this preference is turned on).

Default field name/Custom field name table: In this list you can change the labels for name categories and custom fields - not the categories themselves (see Name categories for instructions on how to do that) but the labels for the categories. To change one of the labels click on it in the Custom name column to select it and click on it once again to begin editing it. Type the new name and then click outside the label to finish editing it. Now, wherever you would have seen that label in mSupply you will now see the name you have given it. The defaults are shown in the screenshot above.

Example: If category 1 was to be called 'Ownership' and category 2 was to be called 'Classification' then you could change their labels like this:

Now, wherever you would have seen the label 'Category 1' or 'Category 2' in mSupply, you will now see the label 'Ownership' or 'Classification' e.g. in report filters or, as in this screenshot, the General tab of the name details form:

Labels for custom fields on name category: Here you can enter labels for the custom fields used when creating or editing name categories. The labels you enter here will appear on the New/Edit category window instead of the Category_user_field_1 and Category_user_field_2 labels. These labels are used in some reports.

Tender letter section

  • Title: The title for the printed tender letter. If nothing is entered in here mSupply will use 'Invitation to tender'.
  • Tender reference: The reference for the tender so that, when you communicate with others you both know which tender you are referring to. If nothing is entered in here mSupply will use 'Tender reference'.

User details for Tender module section

We run a remote tender module

Click this to indicate that you operate an mSupply remote tender service where suppliers and you will log into a common web page to submit and download tender information. You will need to contact Sustainable Solutions for the account information required below before using this option. If this box is unticked you will need to enter bids manually. If it is ticked, you will see an extra Synchronise tab when you view the details of any tender.

Client ID This is the ID that you use to login to the remote tender web page and is unique to you. This will be supplied to you by Sustainable Solutions.

Password This is the password you use to login to the remote tender web page. Like the ID, this will be supplied to you by Sustainable Solutions.

Tender Module Address The internet address of the remote tender web page in the format IP address:port number. Once again, this will be supplied to you by the indefatigable Sustainable Solutions.

Reminders provide a simple to-do list built into mSupply.

If the Show reminders on startup box is checked, any reminders that are not completed and whose due date has been reached will be displayed in a window when a user logs on.

See Reminders

Here you can add a header and a footer that will appear on patient medication records.

When operating in dispensary mode, you can choose to have mSupply alert you to drug interactions. Dispensary mode is covered fully in this section

The number of days of patient history …. field determines how far back from the current date mSupply should look for drugs that have a known interaction with the drug you have just entered.

When drug interactions are activated, you will be shown a warning message when you enter a drug on a patient invoice that interacts with other medicines dispensed to that patient during the history period specified.

If you have a license for the Registration Module (see 26.12. Product (drug) registration), you will need to check this tick-box, and click OK in order to activate it.

You can specify the number of months before a drug registration expires. So when you register a drug, the expiry date of your registration will be calculated automatically by adding the number of months you have specified to that day`s date. For example, if you specify 24 months until a drug registration expires and you register a drug on 24/07/2016, the expiration date will be set automatically to 24/07/2018. If you leave the number of months at 0, you will have to set the drug registration expiry date manually.

For an explanation of this tab please refer to the 16.04. Printing preferences section of this user guide.

For an explanation of this section please refer to the ok_and_print section of this user guide.

Here you can paste in a logo you have copied to the clipboard - you must copy the contents of a file to the clipboard, not the file itself. The file can be in .jpg, .png, .bmp, .gif, or .tiff format. This logo will be displayed at the bottom right of the navigator.

Make sure the image you use is twice as wide as it is high. If it is not, mSupply will convert it to this ratio which will make it look squashed or stretched, sometimes with interesting results!
For more information on this see the 16.06. Entering a new logo section of this user guide.

If you want the logo to be printed on invoices, check the display logo on invoice checkbox.

Please note that not all printing forms include the logo. If you would like customisation or assistance, Sustainable Solutions can quickly customize forms for you to meet your requirements.

If you have set a separate store logo (see the 26.07. Virtual stores > logo_tab) for the store you are logged into this will be displayed on the Navigator and invoices instead of the one saved here.

See Dispensary mode preferences for more details about how these preferences are used in practice.

Message on labels The text you type here will be displayed on medicine labels on the last line.

Custom identification code If you wish to identify the origin of the dispensed item, e.g. In-Patient Dispensary or Out- Patient Dispensary, create an identification code, and enter it in this field. It will then appear as the last item printed on the the right of the third line of each label.

Printing options for units These are the units applied to items. Three options are available from the drop down menu. You can choose to always print the units on labels, you can choose for each item whether or not to print the unit or you can choose to never print the units.

Turn off cell padding in between direction and patient name mSupply will automatically pad the cell (leave some space in the cell) between Direction and Patient name. If you do not want this to happen then check this box.

Print full prescriber name on label To have the prescriber's full name printed on labels, check the box in Print prescriber full name. Otherwise, the initials will be printed.

Print organisation address 1 as separate line By checking the box Print organisation address 1 as separate line , you can print organisation address 1 as separate line . You have to set the text in Preferences: General »address 1 field. The text which you type here will be displayed on medicine labels on its own line.

Print patient category on label If checked, when a prescription label is printed the patient's category will be printed alongside the patient's name in the following format; Patient name (category). Note that if the Print Patient code on label option is also checked then the patient's code and category will be printed alongside their name in the format Patient name (code/category).

Print Expiry date of Item on label When checked, the stock line's expiry date will be printed on the label.

Print Sales value of item on label When checked, the stock line's sales value (based on its sell price) will be printed on the label.

Print Patient code on label If checked, when a prescription label is printed the patient's code will be printed alongside the patient's name in the following format; Patient name (code). Note that if the Print Patient category on label option is also checked then the patient's code and category will be printed alongside their name in the format Patient name (code/category).

Print Batch on label When checked, the stock line's batch number will be printed on the label.

Don't print placeholder lines If this box is checked, placeholder lines will not be printed.

Print a receipt on labels by default mSupply allows you to print a patient payment receipt on a label. If you check this checkbox it means that the Print receipt checkbox on the Payment tab of a prescription will be checked by default for all prescriptions.

For more information on printing receipts, see 10.02. Prescription entry

Default Patient category The text you enter into this field will be assigned to the category field for new patients.

Default Prescriber name With the cursor in this field, enter the first letter or first few letters of the prescriber's name and press Tab. A window appears displaying prescribers who meet the criteria typed; note that both first and last names appear, and you should select the desired prescriber and click OK to make that prescriber the default one.

Auto-generate patient code If this box is checked each new patient created will have a serial number assigned to them. The assigned code can be overriden by the user.

Prefix codes with The text you enter in this field will be used as a prefix for automatically generated patient codes. e.g. if you enter “t” codes will be assigned “t1”, “t2” etc.

Capitalise patient names Does what it says. The shift key will still override this option.

Prescriber must be entered If this checkbox is checked, then the user will be warned if a prescriber has not been entered when they click the OK button for accept and print a prescription.

Expand abbreviations in patient address fields In the patient address fields, any abbreviations will be written out in full instead of the abbreviation if you check this box.

Share patient prescription over stores If this box is checked, viewing a patient history in one store will show transactions entered in other stores.

Default prescription status to finalised: If this is checked the Finalise checkbox on a prescription will be checked when it is first created so that it will be finalised by default when the prescription is first saved. Payments can only be received against finalised prescriptions so if you're going to receive payments from the prescription window on the Payment tab it would be wise to check this preference too.

Receive payments from prescription window: If checked then a Payment tab is added to the prescription entry window and the patient's payment can be entered there. You can still enter a patient's payment separately in the Customer receipts module if required. Whichever of the 2 places you enter the payment, they create an identical transaction. Please note that to activate this preference requires the Activate customer receipts module preference to also be turned on (see General preferences, Invoices 2 tab). If it isn't turned on already you will be asked to confirm that turning it on is OK.

This section gives you the ability to apply stock to placeholder lines on prescriptions. We know that in a fast moving dispensary it's sometimes hard to keep up with the stock coming into the dispensary so, sometimes you can get into the position where you physically have stock on the shelves to dispense to patients but you haven't been able to enter it into mSupply yet. mSupply allows you to keep dispensing by automatically adding placeholder lines to the prescriptions instead of normal stock lines. When you eventually enter the stock that you physically dispensed to the patients into mSupply, you need to allocate it to the prescriptions to keep your mSupply stock levels correct. This is the function to enable you to do that.

Simply select the dates between which you want mSupply to look for placeholder lines on prescriptions by manually entering them in the From and To fields or selecting one of the preset selections in the drop down list. Then click on the Apply stock button. mSupply will then search for placeholder lines on prescriptions between the dates you chose. If it finds one it will attempt to replace the placeholder line with real stock from your store on a FEFO basis. If there is enough stock then mSupply will replace the placeholder with a real stock line. If there is only enough to replace part of the placeholder line then it will allocate what stock there is and will leave a reduced quantity placeholder line to represent the stock that still couldn't be allocated.

The significant events which mSupply automatically logs are listed here. Additional events may be logged by checking the appropriate check boxes on this tab.

Item What is recorded (Date, time, the user name are always recorded)
Invoice creation The log will record each new invoice (customer or supplier) created
Invoice editing An invoice (customer or supplier) is considered to have been edited if its total value has changed. Both values, old and new, are logged
Creating a new customer or supplier Whenever a new customer or supplier is created, their name and code will be recorded in the log.
Modifying an item's supplier field The supplier field for each item can be used to determine to whom orders for goods are placed (depending on the type of order you generate). If you use this method, you may want to know if mSupply users change the preferred supplier for an item.
User Login and Logout The log will record every occasion on which users login and logout.
A batch is taken off hold The log will record every batch that is taken off hold (and so becomes usable)
A customer invoice is confirmed When the confirm button is clicked, or an invoice is set to auto-confirm: the invoice number is recorded.
A Stocktake line is added manually If a user manually adds a Stocktake line, this will be recorded in the log

Please contact us if you need more logging than is provided here. It is a simple matter to incorporate into a future version - the trade-off is that it leaves the potential open to create very large log files, which may be a problem for some users.

This tab is used to configure 'primary' backups to be performed automatically according to a schedule.

  • These Preferences are applicable only in single user mode (including single-user sync).
  • In client-server mode, these 'primary' backup details are set on the server.
  • Supplementary backups need to be configured on the Backups 2 tab, regardless of whether you have a single-user or client / server machine.
  • You can perform a manual backup (File > Backup) at any time, independently of this automatic backup schedule.
  • Manual backups will be performed according the the configuration in the lower half of this tab, which can only be changed after automatic backups are enabled.
  • It is not necessary to quit the database before performing backups, manual or automatic.

Automatic Backup
  • To enable automatic backups, the Automatic Backup checkbox needs to be checked. This will then allow you to configure the backups.
Choose backup folder
  • Click the “Choose” button to specify the destination of the backup files.
  • The default location is the same folder as the database itself.
  • If possible, select a different physical volume from the one where your mSupply data is stored.
  • In any case, it is better to locate this in a folder which is available to any user, e.g. D:\mSupply backups
Compression rate
  • This option selects the compression of the backup.
  • Unless you have a very large database and a big bandwidth secondary backup solution, choose Compact. This will give the smallest backup size, but it will take longer to run.

The duplication and block-level comparsisons that services such as Spideroak use mean that it may be better for you to use fast (uncompressed) mSupply backups, as then only the changed portion of your data file will be backed up.

Verify data file after backup
  • This option causes the backup to be verified after each backup is made. This is extra insurance against hardware failures and other factors that can lead to data corruption.
  • We recommend selecting this option.
Restore last backup if database is damaged
  • This option will cause mSupply to attempt to restore from the last backup if the database is found to be damaged.
  • We recommend selecting this option.
Use log file
  • This option causes a log file of mSupply activity to be created. This is like a running an interim backup in that it can be used with the next option to recover any lost activity since the last backup.
  • We recommend selecting this option.
Integrate last log if database is incomplete
  • If your database becomes damaged and this option is checked, then mSupply will automatically restore the data from a backup and use the log file to restore all transactions between the last backup and the end of the log.
  • We recommend selecting this option.

The Backup 2 tab allows configuration of supplementary backups. This is useful for making copies of just some of your backups that you can then send off-site, e.g. using Dropbox or Google Drive, etc.

Automatic backup to secondary folder:
  • Checking this option results in mSupply trying to copy completed backups to another folder which you specify with the Choose button below. Fill in the Backup every …..th file… field with number of backups out of which one copy will be kept. That is, entering 7 will result in one backup per week being copied.
  • You will need to configure your online backup software to use the folder chosen as the secondary backup location as the source folder for backups. Note that if you have plenty of upstream bandwidth, you might choose to ignore this Backups 2 tab and simply set your main mSupply backup folder as the source folder.
Secondary backup options 1, 2, 3

mSupply allows you to make up to 3 secondary backups to separate locations if you would like to. You can use 1, 2 or all 3 if you would like to. At least one is recommended for security purposes.

You can choose to send orders, reports, invoices and notifications to recipients using e-mail in mSupply. However, before mSupply can send anything by e-mail you must tell mSupply about the server you wish to use and details of the e-mail described below:

Provide me with a mail server to send emails

If this is checked you will use mSupply's own internal email server to send emails. If it is unchecked you will use your own email server, the details of which you must enter in the Mail server name, Username, Password, Port and Use SSL fields.

Mail server name

The name of your mail (SMTP) server. eg “mail.mac.com”. You can only enter this if you are not using mSupply's inbuilt e-mail server (i.e. Provide me with a mail server to send emails is unchecked).

User name

The username mSupply will use to authenticate itself to the mail server. Only needed if you are not using mSupply's inbuilt e-mail server (i.e. Provide me with a mail server is unchecked).

Password

The password which goes with the username. (Only when not using mSupply's e-mail server)

Use SSL

If this is checked mSupply will use the Secure Socket Layer protocol to send e-mail. A more secure way of sending e-mails but only check this if your mail server can support SSL.

Port

The port on the mail server which mSupply will send e-mail to (must be the same port the mail server is listening on!). (Only when not using mSupply's e-mail server)

Return email address

Enter an email address you would like any response to come to. mSupply cannot send email unless it also has a return address for email.

Signature

The text you enter here will be added to the end of all e-mails you send. You might want to put your organisation contact details here. It is generally poor etiquette to make your signature too long.

By default use a mono-spaced font to view text

A mono-space font such as “Courier” or “Monaco” is better for viewing text in columns, such as is produced by the automatic order generation in mSupply . However, visually it has less 'eye appeal'.

Default subject line when creating orders

When mSupply automatically turns an order for a supplier into an email, the text entered here will be put in the subject line. For example you might want to put “Acme Hospital order” to advise the supplier of its contents. Note that you can edit the subject line of automatically generated emails before you send them.

Sort order lines for email and HTML export by item name

This option allows emails generated automatically to be sorted alphabetically by item name before the email is created. If this option is left unchecked, emails will use the creation order of the order lines to create the email.

These settings are all for mSupply's built-in webserver, which is used for things such as the Dashboard, mSupply mobile, online catalogue and the Customer interface. Note: To use this feature an additional license is required. Please contact Sustainable Solutions for further information.

Starting the web server

The web server can be set to start automatically when mSupply starts by checking the box, or manually as and when you use the service by clicking the button.

Run Webserver on the following port

The default port is 8080.

Disable the customer order web module and display the following message:

Check this if you want to take the customer ordering module off line and enter the message you want to display to customers who access the module.

Time out

For clients connected via a web browser, this is the maximum period of inactivity, after which the client must log in again.

Default store for web interface

Choose which store you want to be the default for the web interface (only applicable if you have more than one store). Be careful when changing this option because it will change the default store that all the web interfaces will use to get information from mSupply, not just one of them.

User can create XX uncompleted orders at a time

This limits erroneous submission of too many orders. Choose the maximum number of orders that a customer can make. If they have reached the maximum amount, they will be able to create more when other ones are completed.

Maximum allowable time a mobile interface request can take

This sets how long mSupply will keep trying to supply report data before it gives up and displays an error message.

For an explanation of this section please go to Synchronisation.

Should a client wish to have customised features which are specific to their version of mSupply, we are happy, whenever possible, to incorporate such features.

If you are running such a customised version of mSupply, you will have received from us a Customisation code . To activate the customised features, that code must be entered in this field.

If you use the superb Moneyworks accounting software, you can have mSupply directly input invoices into Moneyworks.

Contact info@msupply.org.nz for more information on these options.

Visit http://www.moneyworks.sussol.net for more information on Moneyworks, including a free demonstration version.

The Moneyworks application must be installed on your machine, and this option establishes a link between mSupply and Moneyworks. Don't turn it on if you don't know what you're doing, or if you haven't set up Moneyworks as described below.

Three options are presented in the drop down menu:

  • Gold - select this option if the Moneyworks application you are using is the one installed on your computer.
  • Gold Client - select this option if you are connecting to the Moneyworks application installed on another machine on your network.
  • Data Centre Client - select this option if you are connecting to a Moneyworks Data Centre
Export to Moneyworks when finalising individual invoices

This allows for production of individual invoices, e.g. for non credit customers, who make cash purchases; if you have such customers, check this box , but if all your customers are credit customers, receiving monthly statements, it may be left unchecked.

Location of the Moneyworks application

mSupply needs to know the location on your computer of Moneyworks , and by clicking on the Choose button, a window appears, and you should navigate to the location of the Moneyworks .exe file

Document log on

Enter your logon details to access the Moneyworks document that you want to access.

Data center log on

If you are using a partitioned data center, enter your logon details to gain access to the partition where your document resides. If you are not using a partitioned data center then leave this section blank.

Location of the Moneyworks document (datafile)

You need to identify the Moneyworks document (datafile) you are using

If your link is to Gold, this is done by clicking on Choose , and navigating to the file's location. If access to the file is restricted, you need to complete your user name and password in the fields under Document Logon

If your link is to the Client option, when you click on Choose , a window appears and you need to enter the name of the Moneyworks datafile to which you are connecting; the file's restrictions will require you to enter your user name and password in the fields under Data Centre Logon

Type of customer invoice export

The drop down menu allows you to choose from several options:

  • Single income account
  • Separate income accounts by item account
  • Choose for store
I.P. address of machine using Moneyworks

You only need to fill in the I.P. address here if:

  • You are on Macintosh and
  • You are connecting to a remote machine across a network.

If you are on Windows or a Mac connecting to a local installation of Moneyworks, make sure this field is empty.

Notes on setting up Moneyworks
  • The import into Moneyworks relies on using an import map. The map for supplier invoices must be named “si_import.impo” and the map for customer invoices “ci_import.impo”. These map files must be stored in the “Import Maps” folder inside the “Moneyworks Customer Plug-Ins” which is next to your data file.
  • The advantage of using import maps is that it gives you flexibility in deciding which accounts will be designated for sales and purchases, and the way the fields exported from mSupply are used inside Moneyworks.
  • If you would like sample import maps from Sustainable Solutions, please email us at info@ss.org.np.
  • Once you have set up the import maps and turned on the “Link to Moneyworks accounting software” checkbox, mSupply will attempt to send invoices to Moneyworks that are finalised using the “finalise customer invoices” and “finalise supplier invoices” commands.
  • Note that the “Export invoices when finalising” option must also be checked. (See Preferences> Invoices)
  • If you get an error when exporting, usually you will get a message telling you what the problem is. Things to check include
  • Is Moneyworks running …… it must be!
  • Make sure the correct I.P address is specified if connecting to a remote machine on Macintosh.
  • Make sure any charge codes used are actually present in the Moneyworks data file you are using. We can supply a version of mSupply that automatically adds names to the Moneyworks data file if they aren't found when exporting, but this costs extra!
  • Make sure that Moneyworks has open periods for the dates of the invoices that are about to be imported.
  • If you still have no success, turn off the Link to Moneyworks. .. checkbox, and produce a file. Then manually import the records into Moneyworks using the File > Import > Transactions command (making sure you load the correct import map using the “Load” button). The file has errors, Moneyworks will give a more complete error report.
  • Note that if export to Moneyworks is not successful, the transactions will not be finalised in mSupply, so you will not get invoices that are missed in Moneyworks.

We are also able to provide a similar option to link with Quickbooks accounting software. Please contact info@ss.org.np if this is of interest to you.

If you use FrontlineSMS for sending information to mSupply via SMS messages (using mobile phones), this is the tab where you enter all the settings.

For an explanation of this tab please go to FrontlineSMS preferences.

This tab contains 2 different interfaces to OpenLMIS variants. The first is for an earlier variant and uses a common internet based folder to process incoming orders and create outgoing shipment files in csv format (for more information on this interface please see the 23.03. mSupply eLMIS interface section). Countries such as Zanzibar and Tanzania use this variant.

The second is for a slightly newer variant of OpenLMIS used by countries like Côte d'Ivoire and sends requisition information from mSupply directly to the OpenLMIS database.

The eLMIS Preference fields:
Fields updated in mSupply v4.03

  • eLMIS Interface
    • Use the eLMIS interface: Check this box to enable the interface.
    • Interface Folder: Click on the Choose… button to select the main folder that eLMIS and mSupply will use to share data. For information on creating this folder please see the 23.03. mSupply eLMIS interface > setup section in this user guide. DO NOT click on the Choose… button unless you're using an mSupply client that is running on the mSupply server computer. Otherwise, you'll set a local folder on your local computer which the server will not be able to reach and the interface will not work.
    • Time between scans for new information from eLMIS: Enter the number of hours mSupply will wait between checking for new files to process.
      When the Use the eLMIS interface checkbox is checked this setting tells mSupply to check the Interface folder > Orders > Incoming folder every X hours for any new order files to process.
    • Scan now button: Click this to make mSupply check the /Interface folder > Orders > Incoming for new files to process immediately. Useful if you have manually added a file to the folder and want mSupply to process it immediately instead of waiting for the Time between scans for new information from eLMIS interval set above to elapse.
    • Send errors to this email address: The email address mSupply will send any error information to. This would normally be the address of your eLMIS helpdesk.
  • eLMIS Requisition Integration
    • Use eLMIS requisition integration: Check this box to enable the interface.
    • URL: The URL for the eLMIS server. This must be in the form http://xxx or https://xxx
    • Username: Your eLMIS database username
    • Password: Your eLMIS database password
    • Test connection button: Click this to test the account credentials you have entered. You must have the Use eLMIS requisition integration: check box ticked to use this. An alert will tell you whether the test connection was successful or not.

This section is where you define the details of the LDAP (Lightweight Directory Access Protocol) server you are using to provide user authentication for logging into mSupply. There is no need to fill in these fields if you are not using an LDAP server to check user logins:

Server URL or IP: enter the URL or IP address for your LDAP server.

Port no.: enter the port number your LDAP database is being served on.

See the 16.05. Mobile Dashboard set up (before v4.0) section of this user guide for a detailed description of the process.

Note, from mSupply v4.0 and later, this dashboard tab has been removed and a new and improved dashboard has been introduced. The new dashboard has a different setup process, see the 19.06. Mobile Dashboard set up (after v4.0) section for details.

See the 23.01. DHIS2 integration section of this user guide for a detailed description.

This section is where you tell mSupply which custom stock fields a user can fill in when receiving stock on a supplier invoice. There are 8 fields available. Fields 1 to 4 are free text but fields 5-8 contain values which are selected from a list you define:

Each of the fields you tick the “Show” checkbox for will appear on the bottom of the supplier invoice line detail form when receiving stock. They will appear with the label you give them in the “Display name” column (click once in the column to make the cell editable then type the name).

The values you enter in these fields (or select for the fields if it's one of fields 5-8) will be attached to the stock and follow it through the system. See the 7.05. Custom stock fields section of this user guide for details.

You can create custom fields that appear in different areas in mSupply. These allow you to record additional information and customise mSupply for your needs. See the 16.11. Custom fields section of this user guide for details.

This contains the settings for your barcode scanner. See the 16.09. Barcode scanning preferences section of this user guide for details.

You can create a list of options (or reasons) for the user to select from when they use perform certain transactions in mSupply. See the 16.10. Options (standard reasons) section of this user guide for details.

The Supplier Hub is an intermediary service for requesting, sending and receiving stock between discrete mSupply instances. For information on this please see the 12. Supplier Hub section.



  • Last modified: 2020/09/15 07:30
  • by Mark Glover