Download Issues

Source code:
https://gitlab.com/retailcloud-web/cas/blob/master/src/java/com/paynettrans/importexport/ImportExport.java (starting at line 206 and 389)
https://gitlab.com/retailcloud-windows/pos/blob/master/src/com/paynettrans/importexport/ImportExport.java (starting at line 173)


Present in postables
+---------+------------------+------+----------+-------------------+------------------------------+---------+--------------------+---------+
| TableID | TableName | Rule | Criteria | Insertion_Trigger | Insertion_Trigger_Parameters | Command | Command_Parameters | Publish |
+---------+------------------+------+----------+-------------------+------------------------------+---------+--------------------+---------+
| 95 | measurementunits | FULL | NULL | NULL | NULL | NULL | NULL | 1 |
+---------+------------------+------+----------+-------------------+------------------------------+---------+--------------------+---------+


The following situations may occur if a table is missing from the source code in the above files. In both cases it should be in the posables like above, but the parameters are different for each table.


When POS Tables are missing, but download is successful
If the table is present on CAS database but not in the download, it may be missing in CAS and POS source code. Check the above links and lines for the table name.


Error on Importing Setup File, download fails
If you get this error when downloading a POS, the table is probably missing in the CAS source code. Check the above lines to see if it is missing.