Table of Contents

19.12. UNFPA LMA reports app

What is it?

Some UNFPA users are periodically required to produce Last Mile Assurance (LMA) reports. These can be time consuming and difficult to produce manually so we've created an app for that!

This app runs on the central server of your mSupply installation and will create a selection of UNFPA formatted LMA reports as spreadsheet files for you; all you have to do is make some selections to define what transactions and stock should be included in the reports.

The reports take data from the mSupply dashboard and generates excel reports in pre-defined templates. The mSupply server mSupply exports data to the mSupply dashboard periodically. The frequency with which data is exported from the mSupply server to the mSupply dashboard will impact on how closely the data in the LMA app matches the data in the mSupply desktop application.

So, for the app to reliably generate data, all three services need to be operating:

Setup

Store tags

For the purposes of the LMA reports, mSupply needs to know which of the stores in your datafile are the 'Central store' and which are 'Decentralised stores'. You do this by adding appropriate store tags to the stores:

For details of how to add tags to stores, please see the Store tags page.

User permission

Make sure that the user has right to “Use the Dashboard”. This check box control the login rights to the “UNFPA LMA reports app”, without this the user will not be able to login.

Using the app

  • Since this is a web application, it cannot generate reports larger than 6 MB in size. If the report exceeds 6 MB in size, the generation process could fail.
  • We recommend using the filters (date, master-list and donors) to reduce the size of reports. Leaving these filters blank would include all data, except for:
    • The store by tag filter which defaults to all UNFPA_Central and UNFPA_decentralised stores.
    • The date range filter which defaults to a single day, 'Today'. You will likely want to change this, especially since unless you run this at the very end of the day, your will not even get a full day's worth of data!
  • We recommend keeping the number of stores to a minimal number.
  • The report that generates the largest size file is the Item Ledger report, the above recommendations should specially be followed for it, however, sometimes other reports may also generate large reports.

In your browser, enter the URL of your server followed by the port the app is running on (if you don't know what this is, ask the mSupply Foundation support@msupply.foundation. It should be something like this:

https://example.com:4000

The login window will load which looks like this:

To login enter your mSupply username and password in the Username and Password fields and click on the Sign in button.

After successfully logging in, the report options window will be displayed:

On this window, make your selections to define what will go in your report:

The table shows a list of all the stores in your datafile.

Click on the SELECTED column checkbox to select a store to include in the report. You can click on the All on/off checkbox to toggle the SELECTED checkbox on and off for all stores on all pages at once. Only transactions and stock from the stores that have a check in the SELECTED checkbox will be included in the report.

When you are happy with your selections, click on the Create Report button to create the report. mSupply will tell you the report is being generated and will ask you where to save it or which application to open it with when it is finished. The files generated are .xlsx format spreadsheets.

Some of the reports do a huge amount of work and calculation so can take a long time to run, especially if you have chosen a lot of stores, a lot of items or a long period to be included in the report. So make yourself a good cup of coffee and go do something else for a while. Better that the computer does all the hard work instead of you, right? 8-)

Example report outputs

Quarterly review report

LMA IP SC Fact Sheet report

Stock on date report

Ledger report