Technical Note: 20011004137
Scanabar Sales Transaction Export
(Maitre'D 2002, and later versions of Maitre'D)
Overview
The export format will use XML files for sale transaction.
Note: The Bevchek system also uses this XML interface.
These files are created in real time by the Back-Office when an order has
been processed on any POS.
Server Control / View / Options / Bar
Bar Interface:
XML Export (Scanabar)
Directory:
Select the path of the directory monitored by that Bar Interface communication
engine. Use the folder icon to browse to your preferred directory.
Export file
The Back-Office will generate file named MDST????.XML.
???? ranges from 0000 to 9999.
Each file may contain multiple transactions and there can be multiple file
export at the same time.
The import program is responsible to find these files and should provide
a way to enter a path to these files.
Once the import was completed, the import program must remove this file.
XML Format
<SaleTransaction RestoID="0103" AccountingDate="27 /01
/2001">
<SaleOrder>
<ID>1</ID>
<SystemDate>28 /01 /2001</SystemDate>
<SystemTime>12:58:01</SystemTime>
<Menu>Delivery</Menu>
<Mode>Lunch</Mode>
<POS>1</POS>
<Location>Delivery #1</Location>
<EmployeID>12</EmployeID>
<StockQuantity>1</StockQuantity>
<SaleQuantity>1</SaleQuantity>
<SalePrice>3.25</SalePrice>
<ItemPLU>AO00276</ItemPLU>
<ItemDesc>Cheese Burger</ItemDesc>
<ItemID>125</ItemID>
</SaleOrder>
</SaleTransaction>
ID:
Maitre'D transaction Identifier.
SystemDate:
Date the transaction was recorded (MM/DD/YYYY).
SystemTime:
Time the transaction was recorded (24:00).
Menu:
Text menu description (main revenue center).
Mode:
Text mode description (sub revenue center).
POS:
POS id (from 1 to 32), which issued the transaction.
Location:
Logical printer which printed this transaction.
EmployeID:
Numerical employee ID who took the order (from 1 to 200).
StockQuantity:
Quantity to remove from stock.
Can be different from the SaleQuantity, as in 2 for 1 mode for example.
SaleQuantity:
Quantity sold.
SalePrice:
Unit price. Transaction price = SalePrice * SaleQuantity
ItemPLU:
Text PLU code as setup in Maitre'D.
ItemDesc:
Text description of the item.
ItemID:
Numeric item ID (Maitre'D record number).