Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
integration:nhlmis [2025/02/05 15:37] – [Fetching orders (requisitions)] Gary Willetts | integration:nhlmis [2025/02/06 16:21] (current) – [Customer invoices] Gary Willetts | ||
---|---|---|---|
Line 94: | Line 94: | ||
* These calls are all made using '' | * These calls are all made using '' | ||
* The quantities requested for each item in the order are multiplied by their default pack size to get the number of units for the requisition line. | * The quantities requested for each item in the order are multiplied by their default pack size to get the number of units for the requisition line. | ||
+ | |||
+ | |||
==== Sending shipments ==== | ==== Sending shipments ==== | ||
When a customer invoice, which comes from a requisition generated from an NHLMIS order, is finalised it is sent to NHLMIs by making a PATCH call to the ''/ | When a customer invoice, which comes from a requisition generated from an NHLMIS order, is finalised it is sent to NHLMIs by making a PATCH call to the ''/ | ||
Line 116: | Line 118: | ||
===== Errors ===== | ===== Errors ===== | ||
- | If errors are encountered during any of the processes then information about the error is saved in the log (see the [[admin: | + | If errors are encountered during any of the processes then information about the error is saved in the log (see the [[admin: |
+ | |||
+ | |||
+ | ===== Visible changes in mSupply ===== | ||
+ | ==== Requisitions ==== | ||
+ | When an NHLMIS order is received it is turned into a requisition in mSupply. The requisition has its donor set to the donor in mSupply that matches the value after '' | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | The drop down list is active so the user can edit it if required. | ||
+ | |||
+ | |||
+ | ==== Supplier invoices ==== | ||
+ | Supplier invoices have a new **Program** drop down list, displayed ony when the **Fetch requisitions from NHLMIS** checkbox is checked on the //File// > // | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | It is populated with the names of all the master lists with a tag of '' | ||
+ | |||
+ | |||
+ | ==== Customer invoices ==== | ||
+ | Read only **Program** and **Donor** fields are displayed on a customer invoice if the **Fetch requisitions from NHLMIS** checkbox is checked on the //File// > // | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | The **Program** field is populated with the name of the master list which matches the NHLMIS program. It will be empty if there isn't a requisition linked ot the customer invoice. | ||
+ | |||
+ | The **Donor** field is populated with the name of the donor matching the NHLMIS funder (mSupply donor) associated with the requisition the customer invoice came from. It will be empty if there isn't a linked requisition. | ||
+ | |||
+ | The action of the //Issue stock for all placeholder lines// option on the grinder icon below the table on the left hand is modified if the **Fetch requisitions from NHLMIS** checkbox is checked on the //File// > // | ||
+ | ==== Stock lines ==== | ||
+ | A **Program** drop down list is displayed on the stock line edit window (opened by choosing //Item// > //Show items with stock// from the menus and double-clicking a stock line on that window). The drop down list will be set to the NHLMIS program associated with the stock and looks like this: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | If the **Fetch requisitions from NHLMIS** checkbox is checked on the //File// > // | ||
+ | |||
+ | {{ : | ||
+ | |||
\\ | \\ |