1. General information
1.1. Program operates with help of CardSystem5, properly connected to RK7. Delivery system (RK7) cannot be used without R-Keeper CRM.
1.2. If you want to use Delivery7 in foreign language, you have to translate the following files: 2 executables (SDispather.exe; Operator.exe); 2 settings files (MSConfig.Ini; Operator.ini); find.xml and GCentre.xml (optionally, for maps).
1.3. Delivery 7 uses RK7 as cash system for order creation, payments, etc. You cannot use Delivery system without R-Keeper 7.
1.4. Delivery7 uses CardSystem5 as customer DB for saving and getting client information (minimal CS184.108.40.206., but it strongly recommended to use newest version).
1.5. Delivery7 has two separate modules which are using one database (Operator and Dispather).
1.6. Minimal Delivery modules version that work with RK7 is 220.127.116.11. We recommend you use newest versions of each software involved.
1.7. When you do settings for those applications installed in one OS, especially when you set them in one INI file, specify all IP addresses in one subnetwork. For that, use static IP assignment on each host. Avoid using localhost.
1.8. This manual is valid for versions below 18.104.22.168, for new versions
2. Before Delivery
2.1.1. RK7 is a first to install. Create corresponding xml interface for cash station (not cash server). Set some free port in xml interface driver properties [Options] section "Port" parameter (the same as "inRKPort=" parameter value in Delivery ini files). You may set CryptKey also (the same as "stRKPass=" parameter value in Delivery ini files).
2.1.2. CardSystem5 is a second one. You need all the CS5 references to be completed.
2.1.3. After RK7 interconnection with discount system have been configured, you have to complete all of the CardSystem5 references as follows.
2.2. CardSystem5 setup
2.2.1. Follow http://support.ucs.ru/en/node/5619 manual for CardSystem5 installation (paragraph 5.2. for RK7 connection).
2.2.2. Create new software classification for Delivery in Cards_Editor.exe. Put corresponding "Code" to Operator.ini and MSConfig.ini "stCSKey=" parameter value.
2.2.3. You have to create these software records and assign unique codes for each application which is going to connect to CRM (including separate for WebOrders).
2.3. RK7 maintaince
22.214.171.124. There are 4 document types which printing is initiated by Delivery: Invoice, Receipt, Bill, Service print.
126.96.36.199. Layout View from Printing scheme is chosen by default.
2.4. DB provider
2.4.1. You have to install Firebird DBMS server. Recommended version is 2.5 or newest.
2.4.2. You have to install 'DbExpressInstallation' windows provider (used by Delivery applications to connect to FDB).
3. Now Delivery
188.8.131.52. File format
in20 = Delivery
184.108.40.206. Settings description
220.127.116.11.1. [Servers] section "stDBServer=" parameter value is a Delivery database full pathway (the DB you should have created as in 3.3.).
18.104.22.168.2. "stDefCharSet=" parameter value is a Delivery DB codepage (that you set in a script when created DB).
22.214.171.124.3. "dbuname=" parameter value is the encoded Delivery DB username (that you set in a script when created DB).
126.96.36.199.4. "dbpass=" parameter value is the encoded Delivery DB password (that you set in a script when created DB).
188.8.131.52.5. "stRKServer=" parameter value is the RK7 cash station IP address (with that xml interface from 2.1.1. and that is used for order creation). Pay attention: it is not cashier server!
184.108.40.206.6. "inRKPort=" parameter value is the RK7 cash station xml interface port (that you set as in 2.1.1.). Pay attention: it is not cashier server!
220.127.116.11.7. "stRKPass=" parameter value is the RK7 cash station xml interface password (that you set as in 2.1.1.).
18.104.22.168.8. "strk7table=" parameter value is the legacy RK7 table code (to use for Delivery orders).
22.214.171.124.9. "inrestid=" parameter value is the RK7 restaurant ident (that one with cash station from 126.96.36.199.5.).
188.8.131.52.10. "inrk7category=" parameter value is the RK7order category code (to use for Delivery orders).
184.108.40.206.11. "inPersonalRole=" parameter value is the RK7 employee role ident (not employee, but group).
220.127.116.11.12. "stCSServer=" is CardSystem5 server IP address.
18.104.22.168.13. "inCSPort=" is CardSystem5 external port.
22.214.171.124.14. "stCSKey=" is software classification code for Delivery from CardSystem5.
126.96.36.199.15. "stCSGlobal=" is the CardSystem5 external applications license (get from UCS licensing, but not required for recent Delivery versions to AuthServer connection).
188.8.131.52.16. "inCSGroup=" is the CardSystem5 customer group ident.
184.108.40.206.17. "boDefInvoice=" to print invoice automatically set to "1"
220.127.116.11.18. "in20=" and "in21=" in [DLV_TYPES] section are OrderType Idents from RK7, their screen names for GUI are the same in [INI_Values_Name] section (are sent to RK7 as <OrderType id=""/>).
18.104.22.168.19 "inCSIdent" is FarCards facing interface in RK7 ident.
3.1.2. Device drivers
22.214.171.124. Central exchange connection to get client telephone number (depends on device model)
126.96.36.199.1. MailSlot connection
188.8.131.52.2. COM port connection
184.108.40.206.3. TCP port connection
220.127.116.11.4. sipModule, CallSoft (SIPModule.exe)
18.104.22.168. Set Operator.ini
/*ip address of exchange*/
/*exchange connection port*/
/*NAT address if use*/
/*username (virtual number account) for exchange*/
/*password (virtual number account) for exchange*/
/*real call centre number*/
/*IP address SIPModule.exe*/
/*License for SIPModule.exe*/
22.214.171.124.1. inCallPort - TCP port to listen for data from exchange
126.96.36.199. For TCP connection you have to set: boUseCallID=1; inCallPort=12323; boUseTCPSrv=1; stCMDNewCall=NewCall:; stCMDEndCall=EndCall: .
188.8.131.52.1. Incoming data format will be: 'NewCall:'+CHAR(2)+'[phonenumber]'+CHAR(10) or 'EndCall:'+CHAR(2)+'[phonenumber]'+CHAR(10).
184.108.40.206. For COM port (RS232) exchange connection you have to set: inCallBaud=115200; boDTR=1; boRTS=1 .
220.127.116.11.1. In order to get 'stDevName' for your exchange, use 'MonCom.exe' software (get device working data) and send result to UCS-Moscow (development required for new device models).
18.104.22.168.1. Protocols for COM device are saved to 'ascpars.dll'.
22.214.171.124. For MailSlot connection you have to set: 'stMailSlot' (mail slot Name to be created by Operator.exe).
126.96.36.199.1. This protocol was originaly made for IP exchange device made by UCS.
188.8.131.52.2. You may send data in 1 of 2 formats:
184.108.40.206.2.1. CALL:xxxxxxxxxxxx - incoming call; END:xxxxxxxxxxxx - end of incoming call.
220.127.116.11.2.2. (any symbols, except numeric) xxxxxxxxxxxx - incoming call; END:xxxxxxxxxxxx - end of incoming call.
18.104.22.168. File format
22.214.171.124. Settings description
126.96.36.199.1. Set connection to the DB and RK7 the same as in operator.ini. Some other common parameters also set the same.
188.8.131.52.2. "stRKMidServer" - RK7 cashier server XML interface IP address. Pay attention: it is not cashier station!
184.108.40.206.3. "inRKMidPort" - RK7 cashier server XML interface TCP port. Pay attention: it is not cashier station!
220.127.116.11.4. "stRKMidPass" - RK7 cashier server XML interface password (if any).
18.104.22.168.5. "boUseCallCenter" - define "=1" if you have CallCenter chain distributed configuration, "=0" is for standalone installation.
22.214.171.124.6. "boIsCenter" - define "=1" if you install this application in Center and "=0" if case of local restaurant.
126.96.36.199.7. "boDistributedDB" - define "=1" in case of CallCenter (and you will use CCTransport.exe to sync DBs). "=0" is for standalone installation (one Delivery DB).
188.8.131.52.8. stBoundIP= is the local network interface IP address on the same OS where you do start Dispather application, for this application to open connection to DLVserv
184.108.40.206.9. inBoundPort= is Dispather application own additional TCP port for connection to DLVserv
3.3.1. You have to create a new database using the script from the distributive. We recommend you IBexpert.exe tool.
3.3.2. You should check script header parameters:
|SET SQL DIALECT 3;|
SET NAMES WIN1252;
CREATE DATABASE 'C:\DB\DELIVERY7ENG.FDB'
USER 'SYSDBA' PASSWORD 'masterkey'
DEFAULT CHARACTER SET WIN1252;
3.3.3. Set proper charset for your language, database name, change credentials if necessary.
3.3.4. You should add 'CinemaUF' module and register that in your system.
3.4.1. You have to translate resources of both applications using Localizator software (Localize.exe utility). Follow manual.
3.4.2. You have to translate strings in MSConfig.Ini; find.xml; Operator.ini and GCentre.xml (optionally, for maps).
4. After Delivery
4.1.1. CardSystem5 link licensing
220.127.116.11. You have to get external applications license for CardSystem.
18.104.22.168. Put this license to Operator.ini and MSConfig.ini "stCSGlobal=" parameter value.
4.1.2. Delivery licensing
22.214.171.124. Delivery7 is protected with Guardant key and DLVServ.exe (AuthSrv folder) application.
126.96.36.199. DLVServ.exe application is connected by SDispather.exe and Operator.exe applications, it uses SrvParams.ini with settings:
188.8.131.52. Corresponding connection parameters for clients (set DLVServ.exe IP and port): "stAuthIP=" and "inAuthPort=".
184.108.40.206. Send "KEY UNQ" to UCS licensing and get "License" and press "Save".
220.127.116.11. Your license contains allowed client(s) quantity (see in 'modules' section). You will not be able to start and use more clients than included in your license.
18.104.22.168. This AuthSrv will authenticate other Delivery package applications on their start, check license saved to Guardant key and allow them to start and use.
22.214.171.124. Install service like
|DLVServ.exe /install /NAME:DEL_SRV_CENTER|
126.96.36.199. Coding - utility to encode password for DB, xml-interface.
188.8.131.52. You have to write passwords to ini files encoded.
4.2.1. Start Delivery applications only after RK7 and CardSystem5 are online.
4.2.2. Delivery will not start without RK7 cash station.
4.2.3. Delivery will not get and save client info without CS_Auth_Server.exe running.
4.3.1. Standalone restaurant
184.108.40.206. You have to start the following applications (as desktop or service) or make sure that all of them are running:
CS_Server.exe (should be started automatically with DCOM call)
Farcards.exe (if CS5 is used as RK7 discont system)
4.3.2. Chain of restaurants (Call centre)
220.127.116.11. You have to start both front office and call centre RK7 modules.
4.4.1. You are able to use google maps or other internet maps provider.
4.4.2. You are to have account in web map provider (google).
4.4.3. As for google, login to https://code.google.com/apis/console, set usage for maps to "On" in services (Google Maps API v3), copy API Key: ХХХХХХХХХХХ from 'API Access'.
4.4.4. Set API key in ini 'stGMapKey' parameter.
4.4.5. Follow provider licensing rules to get proper maps functionality from.
4.4.6. Each direction get several querries from maps.google.
5.1.1. The difference between standalone installation and distributed chain with CallCenter is in quantity of applications to be installed, in their interconnection scheme, in settings of those application.
5.1.2. There is CCTransport application made to sync data between Center and each restaurant location.
5.1.3. Orders are saved in both RK7 cashier server DB and Delivery DB.
5.1.4. There is DictionaryEditor application made to set correspondence between delivery zone and city/street.
5.2.1. There must be distributed DB mode set for applications.
5.2.2. In each location you have to install DBMS and separate DB file.
5.3.1. Operator application to be installed only in CallCenter location. No need to install this application in restaurant location unless you really need to accept orders locally.
5.3.2. Also, you can install as many application instances as you need (according to your license and workplaces).
5.4.1. You have to install SDispather both in CallCenter and Restaurant locations.
5.4.2. Central Dispather is required to make changes in orders and monitor their distribution by resaurants. Also, you can install as many application instances as you need (according to your license and workplaces).
5.4.3. Local Dispather is required to manage orders lifespan, delivery procedures, in each restaurant.
5.4.4. Settings in msconfig.ini (additional to standalone configuration or different from that):
18.104.22.168. For HeadOffice instance:
22.214.171.124. For local Reastaurant set the same, but boIsCenter=0
5.5.1. Description of module
126.96.36.199. You have to install this application in CallCenter only. No need to install several instances.
188.8.131.52. This application provides you ability to edit Delivery references (link to CRM). They are: streets, towns, delivery zones, restaurants.
184.108.40.206. DictionaryEditor.exe is application to run.
220.127.116.11. It has connections both to RK7 and CRM, also to Delivery own DB.
5.5.2. Set DictionaryEditor.ini
5.5.3. Run this application
18.104.22.168. Start RK7 station and CRM auth server before.
3.6.1. This application was made to control distribution of CallCenter orders by restaurants (front offices).
3.6.2. CCTRansport will send order from centre cashier server to that cashier server of chosen restaurant, which is set in its 'RestIP' property.
3.6.3. You install this CCTransport to Center only, only one instance.
3.6.4. In Delivery distributive this module is located in folder \CCTransport\.
3.6.5. For this module you must set file CCTransport.ini.
22.214.171.124. Example format.
126.96.36.199. Parameters description
188.8.131.52.1. DB connection and CRM parameters set the same way as for other modules (example, Operator.ini).
184.108.40.206.2. "inRestInThread" - maximum restaurants to sync at the same time.
220.127.116.11.3. "inVoidForCenterClose" - deletion reason ID (RK7).
18.104.22.168.4. "stRKServer" - Central (HeadOffice) cashier server IP address.
22.214.171.124.5. "inRKPort" - Central (HeadOffice) cashier server XML interface port.
126.96.36.199.6. "inDLVExtSource" - special identifier of order creation way. "21" is for Delivery Operator, "31" if for internet ordering. Do not change yourself.
3.6.6. In Delivery versions newer than 188.8.131.52 there is TranspGuard.exe module, contoller for CCTRansport.exe stable work.
184.108.40.206. You can start that as service with /install parameter (UCS_TRANSPORTGUARD).
220.127.116.11. Settings TranspGuard.ini example.
18.104.22.168.1. "ServiceName" - set windows service name.
22.214.171.124.2. "WorkTimeOut" - interval to check CCTransport live state.
126.96.36.199.3. "FileName" and section name - full path to CCTRansport.exe
5.7.1. You need as many license servers (and G.keys) as many locations you do have.
5.7.2. You set DLVServ in each location the same way as in standalone restaurant.
5.8. RK7 manager
5.8.1. You have to use extended property "RestIP" to fill in IP address and port of each restaurant location cashier server XML interface (external address/port, which will redirect data from internet or VPN gate). This property will be used by CCTransport in order to search for the location.
5.8.2. You have to install and use cashier server + station(s) in HeadOffice preset restaurant for Call center Operator(s).
5.8.3. You have to add XML interface to each cashier server, both in HeadOffice and Restaurant(s). These XML interfaces you have to set in "RestIP" and msconfig.ini (Dispather settings).
5.8.4. You have to set each "location" (restaurant) cashier server XML interface IP address and port in that extended property from 5.8.1.
188.8.131.52. It can be external (public) IP address in internet or VPN one.
5.8.5. You have to add XML interface for each cash station, which will be running locally in the same OS together with Delivery applications.
6.1.1. Follow general manual.
6.2. Frequently get errors (FGE)
6.2.1. No authorization connection. Means that cannot get proper licensing confirmation from DLVServ or CS5. Check corresponding licensing points.