Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
integration:nhlmis [2023/01/17 09:01] – Gary Willetts | integration:nhlmis [2023/01/17 09:43] – [23.06. NHLMIS integration] Gary Willetts | ||
---|---|---|---|
Line 18: | Line 18: | ||
* **Server URL:** The URL of the NHLMIS interface. Enter everything without the resource to be called and the final "/" | * **Server URL:** The URL of the NHLMIS interface. Enter everything without the resource to be called and the final "/" | ||
* **API key:** The authentication key for your organisation. This will be provided by the NHLMIS team. | * **API key:** The authentication key for your organisation. This will be provided by the NHLMIS team. | ||
- | * **Error email:** The email address for error emails to be sent to. | + | * **Error email:** The email address for error emails to be sent to. Separate multiple email addresses with a semicolon ('';'' |
* **Stores to send stock and receive requisitions for table:** This table contains a row for every store in the datafile. Check the checkbox in the //Send stock & Fetch requisitions// | * **Stores to send stock and receive requisitions for table:** This table contains a row for every store in the datafile. Check the checkbox in the //Send stock & Fetch requisitions// | ||
Line 51: | Line 51: | ||
If there are more than 50 outstanding orders then mSupply will automatically ask NHLMIS to send the next 50 until all outstanding orders have been retrieved. | If there are more than 50 outstanding orders then mSupply will automatically ask NHLMIS to send the next 50 until all outstanding orders have been retrieved. | ||
- | Each time orders are successfully retrieved, the " | + | Each time orders are successfully retrieved, the " |
+ | Each order received from NHLMIS is saved as a requisition in the appropriate store in mSupply. The NHLMIs order ID is stored in the **Their ref** field of each requisition. | ||
+ | Any orders that have already been received from NHLMIS and saved in mSupply are not saved again, they are ignored. | ||
===== Errors ===== | ===== Errors ===== | ||
+ | If errors are encountered during the sending of stock or fetching orders then information about the error is saved in the log (see the [[admin: | ||
\\ | \\ |