Data Transmission between Servers
Transfer of Reference Data from Reference Server to Cash Server
To save references in the manager station rk7man.exe, go to Service > Synchronization > Save References.
In older versions, references are saved by clicking the Save Dictionaries button in the reference server window.
The references will be saved to the \BASE\FILESYNC\OUTGOING\DATABASE\ folder.
To update references on the cash server MIDSERV, copy the contents of the \BASE\FILESYNC\OUTGOING\DATABASE\ directory to the \MIDBASE\ directory of the cash server.
When copying, the server must be turned off. When enabled, the cash server will update the data. It is also possible to update the references without restarting the cash server. To do this, place the files from the \BASE\FILESYNC\OUTGOING\DATABASE\ folder into the \incoming\ folder in the directory with the cash server database (the folder should be created). For example, if the cash server database is located in the C:\UCS\RK7\MidBase folder, then the resulting files must be copied to C:\UCS\RK7\MidBase\incoming. References from this directory will be downloaded when clicking the Update References button in the main menu of the cash station (you must have the appropriate right).
Transfer of Sales Data from Cash Server to Reference or Report Server
The data from the cash server's \MIDBASE\FORSEND\ directory must be copied to the reference server's \BASE\FILESYNC\INCOMING\ directory.
The reference server will update the received data.
To upload data to the report server, copy the data from the cash server to the report server's directory: \BaseData\filesync\incoming\.
Manual Reload of Closed Shifts
The manual reload of closed shifts is described in a separate article. You can also read the information below.
Sometimes, for different reasons, the shift data fails to reach the SQL. In this case, it can be compulsorily loaded.
Reloading Shift Data
- Go to Service > Common Shifts Information
- Select one or several shifts for which the data failed to load by clicking on them while pressing Ctrl.
- Right click the selected shifts and go to Actions > Allow Shift Reload
- Go to the [RK7]\MIDBASE\Archive, where the shift data is stored
- Select and copy the required shift files — udb
Insert the copied files to the %Server Database%\filesync\incoming folder
If you do not know where the server database is located, you can find it out in the [REFSERVER] field of rk7srv.ini — the cash register server configuration file.
[REFSERVER] Server = RK7IVAN UBDFILE = ..\..\base\bazadannihCODE
In this case, the database folder is ..\..\base.
Wait until the server processes the received data. After a while, the shift files will disappear from the Incoming folder. If after five minutes the files are still there, press Refresh or the F5 key.
You check if the shift files have been loaded correctly in the reference server's log file — usually the stk file. There should be records of the following type:
20.09 14:55:32.195 26:SQL Export (shift2SQL) -> ------------------------------------- 20.09 14:55:35.144 26:SQL Export (shift2SQL): okay <-CODE
If there are such records in the log and there are no errors, then the shift data is loaded correctly.