Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| integration:coms [2026/09/25 15:44] – [Setup] Gary Willetts | integration:coms [2026/09/30 10:19] (current) – [Pick lists] Gary Willetts | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| **COMS site Code/ | **COMS site Code/ | ||
| - | This table contains the mapping between the Site code used by COMS and the Store code used by mSupply. If a store has a secondary store (e.g. a main store and a secondary malaria store) that should be treated as a single store when sending inventory files and receiving shipments, the secondary store can also be selected. | + | This table contains the mapping between the Site code used by COMS and the Store code used by mSupply. If a store has a secondary store (e.g. a main store and a secondary malaria store) that should be treated as a single store when sending inventory files and receiving shipments, the secondary store can also be selected. For each mapping you can also choose which programs belong to the main and which belong to the secondary store so that shipments for different programs can be directed to their correct store. **NOTE:** A program in the context of the COMS interface is a //customer type transaction category// which //has a code// (customer transaction categories without a code are not considered as COMS programs). |
| To edit a mapping double click on it in the table, to add or remove mappings click on the //+// and //-// buttons respectively. | To edit a mapping double click on it in the table, to add or remove mappings click on the //+// and //-// buttons respectively. | ||
| Line 55: | Line 55: | ||
| These files are retrieved from the remote SFTP server according to the schedule. A single file can contain multiple shipments but the rows for a shipment will always be grouped together. Depending on the identity of the source and destination store, a single shipment will either be turned into a supplier invoice (to receive stock) or a stock transfer customer invoice (to send stock to another store). | These files are retrieved from the remote SFTP server according to the schedule. A single file can contain multiple shipments but the rows for a shipment will always be grouped together. Depending on the identity of the source and destination store, a single shipment will either be turned into a supplier invoice (to receive stock) or a stock transfer customer invoice (to send stock to another store). | ||
| - | If the program of a shipment | + | Shipments are created as customer invoices with placeholder lines. They are created in the correct store by matching the supplier code and program of a shipment in the shipment file to the entries made in the **COMS site Code/ |
| - | The shipment ID is stored in the **Their ref** field of each invoice created. | + | The shipment ID is stored in the **Their ref** field of each customer |
| Before being processed, the shipment number of each shipment file is checked against the shipment number stored in the Their ref field of all other customer invoices in all the stores defined in the **One site Code/ | Before being processed, the shipment number of each shipment file is checked against the shipment number stored in the Their ref field of all other customer invoices in all the stores defined in the **One site Code/ | ||
| Line 70: | Line 70: | ||
| ==== Pick lists ==== | ==== Pick lists ==== | ||
| - | On finalisation of a customer invoice | + | On finalisation of a customer invoice, a pick list file is created on the server |
| + | |||
| + | The pick list files generated by mSupply have the filename format: '' | ||
| + | |||
| + | where: | ||
| + | * ''// | ||
| + | * ''// | ||
| + | * ''// | ||
| + | |||
| + | An example is: '' | ||
| === Pick list detail === | === Pick list detail === | ||
| Line 78: | Line 87: | ||
| There are 4 types of files that are sent automatically once a day at the time set in the preferences. They are: | There are 4 types of files that are sent automatically once a day at the time set in the preferences. They are: | ||
| - | 1. Lot file (filename Axios.Lotddmmyyyy.csv.ready) | + | 1. **Lot file** (filename Axios.// |
| - | Contains a line for each unique batch in stock in the site (main store plus secondary store). | + | |
| - | + | ||
| - | 2. Inventory file (filename ) | + | |
| - | 3. Buffer | + | 2. **Inventory |
| + | 3. **Buffer file** (filename Axiois.// | ||
| - | 4. BOH file (filename ) | + | 4. **BOH file** (filename |
| + | A set of all 4 files is created for each row in the **COMS site Code/ | ||
| ===== Filenames ===== | ===== Filenames ===== | ||
| ==== Pick lists ==== | ==== Pick lists ==== | ||