XML protocol allows adding connectivity with POS-Intellect operation control system to POS software developers if data of POS operations is sending as XML packages. This format allows transferring of any number of significant parameters to a system and organizing their displaying on a video image and saving in transaction database.
XML package has the <TransactionBlock> basic tag. Separate xml package is sent to the Intellect for each POS operation. Each package should have the <TransactionBlock> start tag and the </TransactionBlock> end tag . So each POS operation has its presentation as XML package. Example of sent package is follows.
All parameters are presented in a text view. It's possible to use point or comma to separate fractional part of a number. Converting to the required type is performed automatically.
POS program should send data to TCP, UDP or RS232 port (is specified in settings). Separate port is in use for each POS.
It's required to foresee an automatic connection repairing in case of disconnecting when the TCP protocol is in use.
Required tags of xml-package:
Separate elements of XML package by line separators (consecutive 0xD, 0xA symbols). It's more convenient to do when system debugging (when using the xml_test.exe utility, see the Конфигурирование файла настроек xml_titles.txt section).
Total number of parameters is not limited. Parameter names are without spaces. Received data are displaying in the screen as captions and recording to a database for further analysis.
The Intellect\Modules\Pos\xml_titles.txt file is intended for settings (see the Format of xml_titles.xml settings file section).
All received data are recording to POS_LOG_MASTER and POS_LOG_DETAIL tables.
Default name of receipts database is pos, MS SQL Server 2008 is in use.