Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| integration:ivedix [2024/12/04 15:53] – [Sending transactions] Gary Willetts | integration:ivedix [2026/01/29 13:09] (current) – [Store preferences] Gary Willetts | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| mSupply has an interface with the iVEDiX reporting API. The interface allows the automatic sending of batch and transaction information to the iVEDiX reporting platform. | mSupply has an interface with the iVEDiX reporting API. The interface allows the automatic sending of batch and transaction information to the iVEDiX reporting platform. | ||
| + | |||
| + | ===== Set up ===== | ||
| + | ==== Preferences ==== | ||
| The preferences that define how this interface works are managed on the //iVEDiX// tab of the //File > Preferences// | The preferences that define how this interface works are managed on the //iVEDiX// tab of the //File > Preferences// | ||
| Line 17: | Line 20: | ||
| * **Send errors to this email address:** All errors sending information to the iVEDiX platform are sent to this email address. You can enter multiple email addresses in here by entering them one after another separated with a semicolon ('';'' | * **Send errors to this email address:** All errors sending information to the iVEDiX platform are sent to this email address. You can enter multiple email addresses in here by entering them one after another separated with a semicolon ('';'' | ||
| + | ==== Store preferences ==== | ||
| + | You must also tell mSupply which stores to send information to iVEDiX for. This is done by adding a " | ||
| + | |||
| + | {{ .: | ||
| + | |||
| + | Details on how to set these custom fields ina store' | ||
| ===== What it does ===== | ===== What it does ===== | ||
| Line 37: | Line 46: | ||
| * transactionDate: | * transactionDate: | ||
| * warehouse: the store code; WH0004, 6 or 7 and the corresponding Malaria stores take the corresponding main store code. | * warehouse: the store code; WH0004, 6 or 7 and the corresponding Malaria stores take the corresponding main store code. | ||
| - | * donor: the transactino | + | * donor: the transaction |
| * productCode: | * productCode: | ||
| * batchNumber: | * batchNumber: | ||
| Line 46: | Line 55: | ||
| There are actually two schedulers running to control sending transactions to iVEDiX: one picks up all new transactions and sends them for the first time. The other picks up all the failed transactions and sends them again until they have reached the maximum number of retries before permanent failure. | There are actually two schedulers running to control sending transactions to iVEDiX: one picks up all new transactions and sends them for the first time. The other picks up all the failed transactions and sends them again until they have reached the maximum number of retries before permanent failure. | ||
| ===== Errors ===== | ===== Errors ===== | ||
| - | If errors are encountered during either of the sending processes then the information to be sent is entered into a queue. All pices of information (batches or transactions) in that queu are attempted to be resent after the number of minutes stored in the **Interval between retries** field. When a piece of informaiton is successfully sent it is removed from the queue. If a piece of information is not sent successfully after the number of retries in the **Number of times to retry sending** field then it is removed from the queue, the final failure is logged (see the [[admin: | + | If errors are encountered during either of the sending processes then the information to be sent is entered into a queue. All pices of information (batches or transactions) in that queu are attempted to be resent after the number of minutes stored in the **Interval between retries** field. When a piece of informaiton is successfully sent it is removed from the queue. If a piece of information is not sent successfully after the number of retries in the **Number of times to retry sending** field then it is removed from the queue, the final failure is logged (see the [[admin: |
| \\ | \\ | ||
| \\ | \\ | ||
| - | | // Previous: | + | | // Previous: |
| ---- struct data ---- | ---- struct data ---- | ||