<?xml version="1.0" encoding="utf-8" ?>
<Script>
	<StepGroup ID="0">
		<Step ID="1" Name="SettingsMenu" Type="TerminalCommand" Value="98" Ok="JumpToReference" NotOk="1" Failed="" />
		<Step ID="2"  Name="AdminMenu" Type="TerminalCommand" Value="99" Ok="JumpToReference" NotOk="TableServiceStart" Failed="" />
	</StepGroup>
	<StepGroup ID="1">
	<Step ID="1"  Type="ProcessStepName" Value="CheckLogin" Ok="30" NotOk="GotoStart" Failed="" />
	<Step ID="2"  Type="ProcessStepName" Value="CheckLogin" Ok="40" NotOk="GotoStart" Failed="" />
        <Step ID="3"  Type="ProcessStepName" Value="CheckLogin" Ok="20" NotOk="GotoStart" Failed="" />
        <Step ID="4" Type="ProcessStepName" Value="CheckLogin" Ok="22" NotOk="GotoStart" Failed="" />
        <Step ID="5"  Type="ProcessStepName" Value="CheckLogin" Ok="23" NotOk="GotoStart" Failed="" />
        <Step ID="20"  Type="TerminalCommand" Value="3" Ok="21" NotOk="GotoCashierMenu" Failed="" />
        <Step ID="21"  Type="InternalCommand2" Value="GetChecksWithTable" Ok="50" NotOk="CashierMenuAfterDisplayMessage" Failed="" />
        <Step ID="22" Type="InternalCommand2" Value="GetChecksWithCheckID" Ok="50" NotOk="CashierMenuAfterDisplayMessage" Failed="" />
        <Step ID="23"  Type="TerminalCommand" Value="5" Ok="24" NotOk="GotoCashierMenu" Failed="" />
        <Step ID="24"  Type="InternalCommand2" Value="GetChecksWithCheckIDNbr" Ok="50" NotOk="CashierMenuAfterDisplayMessage" Failed="" />
    	<Step ID="30"  Type="InternalCommand2" Value="GetChecksByTable" Ok="50" NotOk="CashierMenuAfterDisplayMessage" Failed="" />
    	<Step ID="40"  Type="InternalCommand2" Value="GetChecksByInfo" Ok="50" NotOk="CashierMenuAfterDisplayMessage" Failed="" />
    	<Step ID="50"  Type="TerminalCommand" Value="4" Ok="60" NotOk="GotoCashierMenu" Failed="" />
 	<Step ID="60"  Type="WriteSetting" Value="5" Ok="61" NotOk="0" Failed="0" />
    	<Step ID="61"  Type="ProcessStepName" Value="AmountMenuProcessing" Ok="" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
        </StepGroup>
	<StepGroup ID="3">
		<Step ID="1"  Name="CheckLogin" Type="ReadSetting" Value="1" Ok="ReturnOk" NotOk="2" Failed="" />
		<Step ID="2"  Name="LoginDialog" Type="TerminalCommand" Value="2" Ok="10" NotOk="2" Failed="" />
		<Step ID="3"  Type="CheckUser" Value="000000" Ok="AdminMenu" NotOk="1" Failed="" />
    	<Step ID="10"  Type="InternalCommand2" Value="13" Ok="20" NotOk="ReturnNotOk" Failed="" />
        <Step ID="20"  Type="WriteSetting" Value="1" Ok="3" NotOk="" Failed="" />
	</StepGroup>
	<!--
<StepGroup ID="4" Descr="Updates from TMS">
        <Step ID="1" Type="TerminalCommand" Value="99" Ok="2" NotOk="40" Failed="" />
        <Step ID="2" Type="StepRef" Value="PrevStep" Ok="0" NotOk="" Failed="0" />
        <Step ID="3" Type="InternalCommand" Value="14" Ok="20" NotOk="" Failed="30" />
        <Step ID="4" Type="InternalCommand" Value="15" Ok="20" NotOk="" Failed="30" />
        <Step ID="5" Type="InternalCommand" Value="16" Ok="20" NotOk="" Failed="30" />
        <Step ID="20" Type="ReturnOk" Value="Parameters updated" Ok="0" NotOk="" Failed="" />
        <Step ID="30" Type="ReturnNotOk" Value="Parameter update failed" Ok="0" NotOk="" Failed="" />
        <Step ID="40" Type="StepRef" Value="00050001" Ok="0" NotOk="" Failed="" />
  </StepGroup>         -->
  

	<StepGroup ID="5">
		<Step ID="2" Name="TableServiceStart" Type="ProcessStepName" Value="LoginDialog" Ok="3" NotOk="99" Failed="" />
		<Step ID="3" Type="ReadValueStr" Value="TableService" Ok="4" NotOk="" Failed="" />
		<Step ID="4" Type="writeSetting" Value="7" Ok="GotoCashierMenu" NotOk="" Failed="" />
        <Step ID="20" Name="CashierMenu" Type="TerminalCommandRVC" Value="1" Ok="JumpToReference" NotOk="2" Failed="0" />
		<Step ID="99"  Type="TerminalCommand" Value="6" Ok="2" NotOk="2" Failed="2" />
	</StepGroup>

	<StepGroup ID="7">
		<Step ID="2" Name="SelfServiceStart" Type="ProcessStepName" Value="LoginDialog" Ok="3" NotOk="99" Failed="" />
		<Step ID="3" Type="ReadValueStr" Value="SelfService" Ok="4" NotOk="" Failed="" />
		<Step ID="4" Type="writeSetting" Value="7" Ok="GotoCashierMenu" NotOk="" Failed="" />
        <Step ID="99"  Type="TerminalCommand" Value="6" Ok="2" NotOk="2" Failed="2" />
	</StepGroup>
	<StepGroup ID="8">
		<Step ID="1"  Name="KassaMenu" Type="TerminalCommand" Value="20" Ok="JumpToReference" NotOk="95" Failed="0" />				
		<Step ID="21"  Type="ReadSetting" Value="1" Ok="30" NotOk="GotoStart" Failed="" />
		<Step ID="22"  Type="ReadSetting" Value="1" Ok="33" NotOk="GotoStart" Failed="" />
		<Step ID="30"  Type="InternalCommand2" Value="GetChecksForPed" Ok="40" NotOk="22" Failed="" />
		<Step ID="33"  Type="InternalCommand2" Value="GetChecksByTable" Ok="34" NotOk="CashierMenuAfterDisplayMessage" Failed="" />
                <Step ID="34"  Type="TerminalCommand" Value="4" Ok="40" NotOk="95" Failed="" />
   	        <Step ID="40"  Type="WriteSetting" Value="5" Ok="41" NotOk="0" Failed="0" />
    	        <Step ID="41"  Type="ProcessStepName" Value="AmountProcessing" Ok="" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
                <Step ID="94"  Type="TerminalCommand" Value="20" Ok="JumpToReference" NotOk="SelfServiceStart" Failed="0" />
		<Step ID="95"  Type="TerminalCommand" Value="20" Ok="JumpToReference" NotOk="94" Failed="0" />

	</StepGroup>
 	<StepGroup ID="9" Descr="RVC dialog">
		<Step ID="1"  Type="TerminalCommand" Value="13" Ok="20" NotOk="SettingsMenu" Failed="0" />
		<Step ID="20"  Type="CInt" Value="String" Ok="21" NotOk="96" Failed="0" />
		<Step ID="21"  Type="WriteSetting" Value="3" Ok="SettingsMenu" NotOk="0" Failed="96" />
                <Step ID="96"  Type="MakeDisplayMessage" Value="#42#" Ok="97" NotOk="" Failed="" />
		<Step ID="97"  Type="TerminalCommand" Value="6" Ok="SettingsMenu" NotOk="" Failed="" />
	</StepGroup>


	<StepGroup ID="10" Descr="Product receipt confirmation">
           <Step ID="1"  Name="ReceiptConfirmationProcessing" Type="CheckAskReceipt" Value="True" Ok="5" NotOk="ReturnOk" Failed="0" />
		   <!--<Step ID="4"  Type="WriteSetting" Value="5" Ok="5" NotOk="0" Failed="0" />-->
		   <Step ID="5"  Type="TerminalCommand" Value="14" Ok="JumpToReference" NotOk="ReturnNotOk" Failed="" />
	</StepGroup>
	<StepGroup ID="11" Descr="Bonus registrations">
		<Step ID="1"  Name="BonusMenus" Type="TerminalCommand" Value="22" Ok="JumpToReference" NotOk="98" Failed="0" />
        <Step ID="5"  Type="TerminalCommand" Value="15" Ok="10" NotOk="1" Failed="0" />
        <Step ID="6"  Type="TerminalCommand" Value="15" Ok="11" NotOk="1" Failed="0" />
		<Step ID="10"  Type="CreateBonusData" Value="0" Ok="17" NotOk="0" Failed="0" />
		<Step ID="11"  Type="CreateBonusData" Value="4" Ok="17" NotOk="0" Failed="0" />
		<Step ID="17"  Type="CreateTransaction_NO" Value="" Ok="20" NotOk="0" Failed="0" />
		<Step ID="20"  Type="TerminalCommand" Value="11" Ok="30" NotOk="40" Failed="0" />
		<Step ID="30"  Type="CheckPaymentData" Value="" Ok="41" NotOk="40" Failed="0" />
		<Step ID="40"  Type="MakeDisplayMessage" Value="#43#" Ok="45" NotOk="ReturnOk" Failed="" />
		<Step ID="41"  Type="MakeDisplayMessage" Value="#44#" Ok="45" NotOk="ReturnOk" Failed="" />
		<Step ID="45"  Type="TerminalCommand" Value="6" Ok="ReturnOk" NotOk="ReturnOk" Failed="" />
	</StepGroup>
	<StepGroup ID="12" Descr="Last receipt">
		<Step ID="1"  Type="TerminalCommand" Value="23" Ok="GotoCashierMenu" NotOk="GotoCashierMenu" Failed="0" />
		<Step ID="2"  Type="TerminalCommand" Value="23" Ok="GotoCashierMenu" NotOk="GotoCashierMenu" Failed="0" />
	</StepGroup>
	<StepGroup ID="13" Descr="Process printing">
		<Step ID="1"  Name="ProcessPrinting" Type="CanPrint" Value="" Ok="11" NotOk="4" Failed="" />
		<Step ID="4"  Type="StorePrintBuffer" Value="" Ok="5" NotOk="" Failed="" />
		<Step ID="5"  Type="ReadPrintBuffer" Value="" Ok="10" NotOk="ReturnOkAfterReadingSetting_5" Failed="" />
		<Step ID="10"  Type="TerminalCommand" Value="9" Ok="5" NotOk="ReturnOkAfterReadingSetting_5" Failed="" />
		<Step ID="11"  Type="TerminalCommand" Value="9" Ok="ReturnOkAfterReadingSetting_5" NotOk="ReturnOkAfterReadingSetting_5" Failed="" />
	</StepGroup>

	<StepGroup ID="14" Descr="Payment to POS">
        <Step ID="1"  Name="PaymentToPOS" Type="InternalCommand2" Value="PaymentToPOS" Ok="5" NotOk="ReturnNotOk" Failed="" />
     	<Step ID="5"  Type="WriteSetting" Value="5" Ok="ReturnOk" NotOk="ReturnNotOk" Failed="0" Param1="KeepInMemory" />
	</StepGroup>

 	<StepGroup ID="15" Descr="Set AskReceipt value">
		<Step ID="1"  Type="TerminalCommand" Value="25" Ok="20" NotOk="SettingsMenu" Failed="0" />
		<Step ID="20"  Type="CInt" Value="String" Ok="21" NotOk="96" Failed="0" />
		<Step ID="21"  Type="WriteSetting" Value="6" Ok="SettingsMenu" NotOk="0" Failed="96" />
                <Step ID="96"  Type="MakeDisplayMessage" Value="#45#" Ok="97" NotOk="" Failed="" />
		<Step ID="97"  Type="TerminalCommand" Value="6" Ok="SettingsMenu" NotOk="" Failed="" />
	</StepGroup>

	<StepGroup ID="151" Descr="Set permanent value">
		<Step ID="1"  Type="TerminalCommand" Value="251" Ok="20" NotOk="SettingsMenu" Failed="0" />
		<Step ID="20"  Type="CInt" Value="String" Ok="21" NotOk="96" Failed="0" />
		<Step ID="21"  Type="WriteSetting" Value="9" Ok="SettingsMenu" NotOk="0" Failed="96" />
        <Step ID="96"  Type="MakeDisplayMessage" Value="#75#" Ok="97" NotOk="" Failed="" />
		<Step ID="97"  Type="TerminalCommand" Value="6" Ok="SettingsMenu" NotOk="" Failed="" />
	</StepGroup>

       <StepGroup ID="16" Descr="Table service amount menu processing" >
      	          <Step ID="1"  Name="AmountMenuProcessing" Type="ReadSetting" Value="5" Ok="2" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
       	          <Step ID="2" Type="InternalCommand2" Value="GetCheckTotalForPed" Ok="10" NotOk="ReturnNotOkAfterDisplayMessage" Failed="0" />
    	          <Step ID="10"  Type="InternalCommand2" Value="CreatePaymentData" Ok="20" NotOk="ReturnNotOkAfterDisplayMessage" Failed="" />
    	          <Step ID="20"  Type="StoreTransaction" Value="" Ok="22" NotOk="ReturnNotOk" Failed="" />
    	           <!--  <Step ID="22" Name="PaymentMenu" Type="CheckForRefund" Value="" Ok="31" NotOk="29" Failed="" />  -->
    	          <Step ID="22" Name="PaymentMenu" Type="CheckForRefund" Value="" Ok="31" NotOk="32" Failed="" />
	          <Step ID="29"  Type="TransactionData.ReadTAGEqual" Value="81;Integer;0" Ok="PostZeroPayment" NotOk="32" Failed="" />
		  <Step ID="31"   Type="TerminalCommandAmount" Value="26" Ok="JumpToReference" NotOk="GotoCashierMenu" Failed="" />
		  <Step ID="32"   Type="TerminalCommandAmount" Value="24" Ok="JumpToReference" NotOk="GotoCashierMenu" Failed="" />
	</StepGroup>


        <StepGroup ID="162" Descr="Self service amount processing" >
   	         <Step ID="1"  Name="AmountProcessing" Type="ReadSetting" Value="5" Ok="2" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
       	         <Step ID="2" Type="InternalCommand2" Value="GetCheckTotalForPed" Ok="10" NotOk="ReturnNotOkAfterDisplayMessage" Failed="0" />
    	         <Step ID="10"  Type="InternalCommand2" Value="CreatePaymentData" Ok="20" NotOk="ReturnNotOkAfterDisplayMessage" Failed="" />
    	         <Step ID="20"  Type="StoreTransaction" Value="" Ok="22" NotOk="ReturnNotOk" Failed="" />
                    <!--    	 <Step ID="22"  Type="CheckForRefund" Value="" Ok="CardPayment" NotOk="29" Failed="" />    -->
        	 <Step ID="22"  Type="CheckForRefund" Value="" Ok="AmountChangeCard" NotOk="AmountChangeCard" Failed="" />
                 <Step ID="29"  Type="TransactionData.ReadTAGEqual" Value="81;Integer;0" Ok="PostZeroPayment" NotOk="CardPayment" Failed="" />
        </StepGroup>

        <StepGroup ID="17" Descr="Process change amount from amount menu" >
                <Step ID="1"  Name="AmountChangeCard" Type="TerminalCommandEnterAmount" Value="27" Ok="2" NotOk="GotoPaymentMenu" Failed="GotoPaymentMenu" Param1="#49#" Param2="#Amount#"  Param3="" Param4="#Amount#"/>
		<Step ID="2"  Type="TransactionData.WriteTAG" Value="DF01;#StepData#" Ok="CardPayment" NotOk="GotoPaymentMenu" Failed="GotoPaymentMenu" />
	 </StepGroup>
        <StepGroup ID="18" Descr="Process bonus menu" >
                <Step ID="1"  Type="ProcessStepName" Value="BonusMenus" Ok="GotoCashierMenu" NotOk="GotoCashierMenu" Failed="0" />
                <Step ID="2"  Type="ProcessStepName" Value="BonusMenus" Ok="GotoCashierMenu" NotOk="GotoCashierMenu" Failed="0" />
	</StepGroup>
        <StepGroup ID="19" Descr="Print settings" >
             <Step ID="1"  Type="CreateSettingData" Value="" Ok="10" NotOk="0" Failed="0" />
             <Step ID="10"  Type="TerminalCommand" Value="9" Ok="SettingsMenu" NotOk="" Failed="" />
	</StepGroup>
     <StepGroup ID="20" Descr="Pre-receipt from existing transcation data" >
	        <Step ID="1"  Type="TransactionData.ReadTAG" Value="9F997F" Ok="2" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
   		<Step ID="2"  Type="GeneralConvert.BCD2Long" Value="" Ok="3" NotOk="" Failed="" />
		<Step ID="3"  Type="InternalCommand2" Value="24" Ok="10" NotOk="98" Failed="" />
                <Step ID="10"  Type="ProcessStepName" Value="ProcessPrinting" Ok="11" NotOk="" Failed="" />
	        <Step ID="11"  Type="TransactionData.ReadTAG" Value="9F997F" Ok="12" NotOk="" Failed="" />
   		<Step ID="12"  Type="GeneralConvert.BCD2Long" Value="" Ok="32" NotOk="" Failed="" />
      	        <Step ID="32"  Type="StepRef" Value="0001003C" Ok="" NotOk="" Failed="" />
	        <Step ID="50" Type="TerminalCommandAmount" Value="24" Ok="JumpToReference" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
	        <Step ID="98"  Type="TerminalCommand" Value="6" Ok="50" NotOk="" Failed="" />
	</StepGroup>

	<StepGroup ID="22" Descr="CheckclosedProcessing">
                <Step ID="10" Name="CheckClosedProcessing" Type="InternalCommand2" Value="CheckIfCheckIsClosed" Ok="102" NotOk="ReturnNotOkAfterReadingSetting_5" Failed="" />
		<Step ID="102"  Type="IsNextStepData" Value="0" Ok="103" NotOk="ReturnOkAfterReadingSetting_5" Failed="" />
		<!--Even if BonusProcessing fails Ok is returned, because this is used to determine the Closed status of the check.-->
		<Step ID="103"  Type="ProcessStepName" Value="BonusProcessing" Ok="ReturnOkAfterReadingSetting_5" NotOk="ReturnOkAfterReadingSetting_5" Failed="" />
        <Step ID="200" Name="CloseCheck" Type="InternalCommand2" Value="CheckIfCheckIsClosedAndRemove" Ok="201" NotOk="ReturnNotOk" Failed="" />
		<Step ID="201"  Type="IsNextStepData" Value="0" Ok="202" NotOk="ReturnOk" Failed="" />
		<Step ID="202"  Type="MakeDisplayMessage" Value="#46#" Ok="203" NotOk="ReturnNotOk" Failed="ReturnNotOk" Param1="StepData" />
		<Step ID="203"  Type="TerminalCommand" Value="6" Ok="ReturnOk" NotOk="ReturnNotOk" Failed="ReturnNotOk" />
        </StepGroup>
	<StepGroup ID="23" Descr="BonusTransactionProcessing">
                <Step ID="13"  Name="BonusProcessing" Type="StoreTransaction" Value="" Ok="14" NotOk="" Failed="" />
    	        <Step ID="14"  Type="CreateTransaction_NO" Value="" Ok="15" NotOk="" Failed="" />
		<Step ID="15"  Type="TerminalCommand" Value="11" Ok="16" NotOk="" Failed="" />
		<Step ID="16"  Type="CheckPaymentData" Value="" Ok="45" NotOk="40" Failed="0" Param1="False" /> <!-- Bonus transactionstatus is schecked here so that unlock request is never sent -->
		<Step ID="40"  Type="MakeDisplayMessage" Value="#47#" Ok="41" NotOk="" Failed="" />
		<Step ID="41"  Type="TerminalCommand" Value="6" Ok="ReturnNotOk" NotOk="" Failed="" />
 	        <Step ID="45"  Type="ProcessStepName" Value="PaymentToPOS" Ok="ReturnOkAfterReadingSetting_5" NotOk="ReturnNotOkAfterDisplayMessage" Failed="" />
	</StepGroup>
	<StepGroup ID="24" Descr="Receipt Processing">
		<Step ID="1"  Name="ClosedReceiptProcessing" Type="ProcessStepName" Value="ReceiptConfirmationProcessing" Ok="110" NotOk="ReturnOkAfterReadingSetting_5" Failed="" />
    	        <Step ID="110"  Type="InternalCommand2" Value="GetPOSReceipt" Ok="120" NotOk="ReturnNotOkAfterReadingSetting_5" Failed="" />
    	        <Step ID="120"  Type="ProcessStepName" Value="ProcessPrinting" Ok="ReturnOkAfterReadingSetting_5" NotOk="" Failed="" />
                <Step ID="2"  Name="OpenReceiptProcessing" Type="ProcessStepName" Value="ReceiptConfirmationProcessing" Ok="210" NotOk="ReturnOkAfterReadingSetting_5" Failed="" />
    	        <Step ID="210"  Type="InternalCommand2" Value="GetPOSReceipt" Ok="220" NotOk="ReturnNotOkAfterReadingSetting_5" Failed="" />
    	        <!--<Step ID="220"  Type="ProcessStepName" Value="ProcessPrinting" Ok="ReturnOkAfterReadingSetting_5" NotOk="" Failed="" />	-->
		<Step ID="220"  Type="ProcessStepName" Value="ProcessPrinting" Ok="222" NotOk="" Failed="" />
		<!-- Bacward compatibility - if amount due is not received from POS cashier is logged out.-->
    	        <Step ID="222"  Type="InternalCommand2" Value="CheckAmountDueReceived" Ok="ReturnOkAfterReadingSetting_5" NotOk="StartAfterDisplayMessage" Failed="" />
	</StepGroup>
	<StepGroup ID="25" Descr="PaymentProcessing">
    	<Step ID="100"  Name="PaymentProcessing" Type="ProcessStepName" Value="PaymentToPOS" Ok="101" NotOk="AmountProcessingAfterDisplayMessage" Failed="" />
		<Step ID="101"  Type="ProcessStepName" Value="CheckClosedProcessing" Ok="102" NotOk="105" Failed="" />
    	<Step ID="102"  Type="ProcessStepName" Value="ClosedReceiptProcessing" Ok="130" NotOk="PaymentMenuAfterDisplayMessage" Failed="" />
    	<Step ID="105"  Type="ProcessStepName" Value="OpenReceiptProcessing" Ok="GotoAmountProcessing" NotOk="PaymentMenuAfterDisplayMessage" Failed="" />
		<Step ID="130"  Type="ProcessStepName" Value="CloseCheck" Ok="GotoStart" NotOk="GotoStart" Failed="GotoStart" />
	</StepGroup>
	
        <StepGroup ID="26" Descr="Print Quick Items" >
                   <Step ID="1"  Type="PrintQuickItems" Value="LunchCouponItems" Ok="10" NotOk="0" Failed="0" />
                   <Step ID="10"  Type="TerminalCommand" Value="9" Ok="SettingsMenu" NotOk="" Failed="" />
	</StepGroup>

       <StepGroup ID="30" Descr="Cash payment" >
		<Step ID="1"  Name="CashPayment" Type="ReadSetting" Value="5" Ok="2" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
		<Step ID="2"  Type="InternalCommand2" Value="GetLock" Ok="3" NotOk="PaymentMenuAfterDisplayMessage" Failed="" />
       	        <Step ID="3"  Type="TerminalCommandEnterAmount" Value="27" Ok="5" NotOk="6" Failed="0" Param1="#50#" Param2="#MaxCashAmount#" Param3="" Param4="#RoundedAmount#" />
       	        <Step ID="5"  Type="MakePaymentData" Value="201" Ok="PaymentProcessing" NotOk="" Failed="0" Param1="0" Param2="1"/>
       	        <Step ID="6"  Type="MakePaymentData" Value="201" Ok="PaymentProcessing" NotOk="" Failed="0" Param1="1" Param2="1" />
       </StepGroup>
       <StepGroup ID="31" Descr="LunchCouponPayment" >
		<Step ID="1"  Name="LunchCouponPayment" Type="ReadSetting" Value="5" Ok="2" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
		<Step ID="2"  Type="InternalCommand2" Value="GetLock" Ok="3" NotOk="PaymentMenuAfterDisplayMessage" Failed="" />
       	        <Step ID="3"  Type="TerminalCommandEnterAmount" Value="30" Ok="5" NotOk="6" Failed="0" Param1="#51#" Param2="#Amount#" Param3="#55#" />
       	        <Step ID="5"  Type="MakePaymentData" Value="202" Ok="PaymentProcessing" NotOk="" Failed="0" Param1="0" Param2="1"/>
       	        <Step ID="6"  Type="MakePaymentData" Value="202" Ok="PaymentProcessing" NotOk="" Failed="0" Param1="1" Param2="1"/>
	</StepGroup>

       <StepGroup ID="32" Descr="CardPayment" >
		<Step ID="1"  Name="CardPayment" Type="ReadSetting" Value="5" Ok="2" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
    	        <Step ID="2"  Type="CheckForRefund" Value="" Ok="200" NotOk="82" Failed="" />
		<Step ID="82"  Type="InternalCommand2" Value="GetLock" Ok="83" NotOk="PaymentMenuAfterDisplayMessage" Failed="" />
                <Step ID="83"  Type="CreateTransaction_NO" Value="" Ok="90" NotOk="" Failed="" Param1="False"/>
    	        <Step ID="90"  Type="TerminalCommand" Value="11" Ok="PaymentProcessing" NotOk="GotoCashierMenu" Failed="" />
    	        <Step ID="200"  Type="TerminalCommand" Value="12" Ok="201" NotOk="GotoPaymentMenu" Failed="" />
    	        <Step ID="201"  Type="WriteSetting" Value="2" Ok="202" NotOk="" Failed="" />
		<Step ID="202"  Type="ReadSetting" Value="5" Ok="82" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
	</StepGroup>

        <StepGroup ID="33" Descr="Read bonus" >
		<Step ID="1"  Name="ReadBonus" Type="ReadSetting" Value="5" Ok="2" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
		<Step ID="2"   Type="CreateECRInterfaceData" Value="21" Ok="20" NotOk="" Failed="" Param1="ReadBonus" Param="850"/>
		<Step ID="20"  Type="TerminalCommand" Value="11" Ok="GotoAmountProcessing" NotOk="GotoPaymentMenu" Failed="0" />
	</StepGroup>

        <StepGroup ID="34" Descr="PostZeroPayment - required for situations where bonus registration set the check amount to zero" >
       	           <Step ID="1"  Name="PostZeroPayment" Type="MakePaymentData" Value="0" Ok="PaymentProcessing" NotOk="" Failed="0" Param1="0" Param2="1" Param3="0" />
	</StepGroup>

          <StepGroup ID="40" Descr="Language selection">
                 <Step ID="1" Type="TerminalCommandLanguage" Value="17" Ok="20" NotOk="SettingsMenu" Failed="0" />
                 <Step ID="20"  Type="CInt" Value="Integer" Ok="21" NotOk="0" Failed="0" />
      	         <Step ID="21"  Type="WriteSetting" Value="8" Ok="SettingsMenu" NotOk="0" Failed="0" />
      	</StepGroup>

       <StepGroup ID="41" Descr="Country specific settings">
                 <Step ID="1" Type="TerminalCommand" Value="18" Ok="JumpToReference" NotOk="SettingsMenu" Failed="0" />
      	         <Step ID="2"  Type="TerminalCommand" Value="40" Ok="20" NotOk="SettingsMenu" Failed="0" />
    	         <Step ID="3"  Type="TerminalCommand" Value="41" Ok="21" NotOk="SettingsMenu" Failed="0" />
    	         <Step ID="4"  Type="TerminalCommand" Value="42" Ok="22" NotOk="SettingsMenu" Failed="0" />
    	         <Step ID="20"  Type="UpdateCustom" Value="String" Ok="30" NotOk="0" Failed="0" Param1="CurrencyLabel"/>
    	         <Step ID="21"  Type="UpdateCustom" Value="String" Ok="30" NotOk="0" Failed="0" Param1="CurrencyExponent"/>
    	         <Step ID="22"  Type="UpdateCustom" Value="String" Ok="30" NotOk="0" Failed="0" Param1="EnterDecimals"/>
    		 <Step ID="30"  Type="InternalCommand2" Value="29" Ok="31" NotOk="SettingsMenu" Failed="" />
    	 <Step ID="31"  Type="LoadScript" Value="" Ok="SettingsMenu" NotOk="SettingsMenu" Failed="" />
        	<!--       <Step ID="31"  Type="UpdateFile" Value="LunchCouponItems" Ok="SettingsMenu" NotOk="SettingsMenu" Failed="" Param1="Update" Param2="#55#" Param3="" Param4="6" Param5="#54#"/>    -->
      	</StepGroup>

       <StepGroup ID="42" Descr="Terminal Settings">
                 <Step ID="1"  Name="TerminalSettings"  Type="TerminalCommand" Value="33" Ok="JumpToReference" NotOk="SettingsMenu" Failed="0" />
      	</StepGroup>
      	
      	<StepGroup ID="43" Descr="Position Settings">
                 <Step ID="1"  Name="PositionSettings"  Type="TerminalCommand" Value="18" Ok="JumpToReference" NotOk="SettingsMenu" Failed="0" />
      	</StepGroup>

	<StepGroup ID="44" Descr="Terminal Info">
 		<Step ID="1" Name="TerminalInfo" Type="TerminalCommand" Value="43" Ok="SettingsMenu" NotOk="SettingsMenu" Failed="SettingsMenu" />
	</StepGroup>

        <StepGroup ID="99" Descr="LunchCoupon maintanance" >
       	           <Step ID="1"  Name="AddLunchCoupon" Type="TerminalCommandEnterAmount" Value="27" Ok="2" NotOk="SettingsMenu" Failed="0" Param1="#52#" Param2="2000"  />
		   <Step ID="2"  Type="UpdateFile" Value="LunchCouponItems" Ok="SettingsMenu" NotOk="SettingsMenu" Failed="" Param1="Add" Param2="#55#" Param3="" Param4="6" Param5="#54#"/>
       	           <Step ID="3"  Name="DeleteLunchCoupon" Type="TerminalCommandEnterAmount" Value="27" Ok="4" NotOk="SettingsMenu" Failed="" Param1="#53#" Param2="2000"  />
		   		   <Step ID="4"  Type="UpdateFile" Value="LunchCouponItems" Ok="SettingsMenu" NotOk="7" Failed="" Param1="Delete" Param2="#55#" Param3="" Param4="5" Param5="#54#" />
                   <Step ID="5"  Name="DeleteAllLunchCoupons" Type="TerminalCommand" Value="44" Ok="6" NotOk="SettingsMenu" Failed="0" />
                   <Step ID="6"  Type="UpdateFile" Value="LunchCouponItems" Ok="SettingsMenu" NotOk="SettingsMenu" Failed="" Param1="DeleteAll" Param2="#55#" Param3="" Param4="5" Param5="#54#" />
    	           <Step ID="7"  Type="MakeDisplayMessage" Value="#69#" Ok="97" NotOk="SettingsMenu" Failed="SettingsMenu" />
    	           <Step ID="97"  Type="TerminalCommand" Value="6" Ok="3" NotOk="SettingsMenu" Failed="SettingsMenu" />
	</StepGroup>

 	<StepGroup ID="100" Descr="Miscelanious steps that can be used from everywhere">
           <Step ID="1"  Name="ReturnOk" Type="ReturnOk" Value="PrevStep" Ok="0" NotOk="" Failed="" />
		   <Step ID="2"  Name="ReturnNotOk" Type="ReturnNotOk" Value="PrevStep" Ok="0" NotOk="" Failed="" />
		   <Step ID="3"  Name="CashierMenuAfterDisplayMessage" Type="TerminalCommand" Value="6" Ok="GotoCashierMenu" NotOk="GotoCashierMenu" Failed="GotoCashierMenu" />
		   <Step ID="5"  Name="JumpToReference" Type="StepRef" Value="PrevStep" Ok="SettingsMenu" NotOk="SettingsMenu" Failed="SettingsMenu" />
           <Step ID="6"  Name="ReturnNotOkAfterDisplayMessage" Type="TerminalCommand" Value="6" Ok="ReturnNotOk" NotOk="" Failed="" />
		   <Step ID="7"  Name="ReturnOkAfterReadingSetting_5" Type="ReadSetting" Value="5" Ok="ReturnOk" NotOk="ReturnNotOk" Failed="ReturnNotOk" />
		   <Step ID="8"  Name="ReturnNotOkAfterReadingSetting_5" Type="ReadSetting" Value="5" Ok="ReturnNotOk" NotOk="ReturnNotOk" Failed="ReturnNotOk" />
		   <Step ID="9"  Name="PaymentMenuAfterDisplayMessage" Type="TerminalCommand" Value="6" Ok="GotoPaymentMenu" NotOk="GotoPaymentMenu" Failed="GotoPaymentMenu" />
		   <Step ID="10"  Name="AmountProcessingAfterDisplayMessage" Type="TerminalCommand" Value="6" Ok="GotoAmountProcessing" NotOk="GotoAmountProcessing" Failed="GotoAmountProcessing" />
		   <Step ID="11"  Name="StartAfterDisplayMessage" Type="TerminalCommand" Value="6" Ok="GotoStart" NotOk="GotoStart" Failed="GotoStart" />
    	</StepGroup>
	<StepGroup ID="101" Descr="Goto commands">
           <Step ID="1"  Name="GotoStart" Type="ResetCallStack" Value="" Ok="2" NotOk="" Failed="" />
		   <Step ID="2"  Type="ReadSetting" Value="7" Ok="3" NotOk="" Failed="" />
		   <Step ID="3"  Type="IsNextStepDataEqual" Value="String" Ok="13" NotOk="KassaMenu" Failed="" Param1="TableService"/>
           <Step ID="5"  Name="GotoCashierMenu" Type="ReadSetting" Value="7" Ok="6" NotOk="" Failed="" />
		   <Step ID="6"  Type="IsNextStepDataEqual" Value="String" Ok="CashierMenu" NotOk="KassaMenu" Failed="" Param1="TableService"/>
           <Step ID="8"  Name="GotoPaymentMenu" Type="ReadSetting" Value="7" Ok="9" NotOk="" Failed="" />
		   <Step ID="9"  Type="IsNextStepDataEqual" Value="String" Ok="PaymentMenu" NotOk="KassaMenu" Failed="" Param1="TableService"/>
		   <Step ID="11"  Name="GotoAmountProcessing" Type="ReadSetting" Value="7" Ok="12" NotOk="" Failed="" />
		   <Step ID="12"  Type="IsNextStepDataEqual" Value="String" Ok="AmountMenuProcessing" NotOk="KassaMenu" Failed="" Param1="TableService"/>
           <Step ID="13"  Type="ReadSetting" Value="9" Ok="14" NotOk="" Failed="" />
		   <Step ID="14"  Type="IsNextStepDataEqual" Value="Integer" Ok="TableServiceStart" NotOk="CashierMenu" Failed="" Param1="0"/>

 </StepGroup>
	<StepGroup ID="102" Descr="AdminMode">
    	          <Step ID="1"  Name="AdminMode" Type="MakeDisplayMessage" Value="#48#" Ok="2" NotOk="" Failed="" />
    	          <Step ID="2"  Type="CreateIdle" Value="" Ok="3" NotOk="" Failed="" />
    	          <Step ID="3"  Type="TerminalCommand" Value="11" Ok="" NotOk="" Failed="" />
	</StepGroup>
	<Files>
 <!--  	<File Name="LunchCouponItems" Type="EnterAmountQuickItems"  DisplayText="#54#" InitData="BFA10982018CBFA10A209FA10C04000003A29FA10B144C6F756E6173736574656C692020392E3330207FBFA10A209FA10C04000003849FA10B144C6F756E6173736574656C692020392E3030207FBFA10A209FA10C04000003709FA10B144C6F756E6173736574656C692020382E3830207FBFA10A209FA10C04000003669FA10B144C6F756E6173736574656C692020382E3730207FBFA10A209FA10C04000003489FA10B144C6F756E6173736574656C692020382E3430207FBFA10A209FA10C04000003349FA10B144C6F756E6173736574656C692020382E3230207FBFA10A209FA10C04000003209FA10B144C6F756E6173736574656C692020382E3030207FBFA10A209FA10C04000003029FA10B144C6F756E6173736574656C692020372E3730207FBFA10A209FA10C04000002EE9FA10B144C6F756E6173736574656C692020372E3530207FBFA10A209FA10C04000002C69FA10B144C6F756E6173736574656C692020372E3130207FBFA10A209FA10C04000002A89FA10B144C6F756E6173736574656C692020362E3830207F"/>        -->

   	<File Name="LunchCouponItems" Type="EnterAmountQuickItems"  DisplayText="#54#" InitData="BFA10924BFA10A209FA10C04000000009FA10B142020202020202020202020202020302C3030207F"/>



</Files>
 	<InternalCommands>
		<Command Name="GetChecksByTable" ID="1" AppID="20701" Command="210" Descr="Checks by table"/>
		<Command Name="GetChecksByInfo" ID="2" AppID="20701" Command="211" Descr="Checks by info"/>
		<Command Name="GetCheckTotalBySequence" ID="3" AppID="20701" Command="20" Descr="Check total by sequence" />
		<Command Name="GetChecksWithTable" ID="4" AppID="20701" Command="222" Descr="Check with table" />
	        <Command Name="GetChecksWithCheckID" ID="6" AppID="20701" Command="223" Descr="Check with CheckID" />
        	<Command Name="GetChecksWithCheckIDNbr" ID="7" AppID="20701" Command="224" Descr="Check with table" />
                <Command Name="GetPOSReceipt" ID="5"  AppID="20701" Command="40" Descr="Receipt" />
                <Command Name="CreatePaymentData" ID="10" AppID="20701" Command="50" Descr="Create payment data"/>
		<Command Name="PaymentToPOS" ID="12" AppID="20701" Command="60" Descr="Paymentdata to POS" />
		<Command ID="13" AppID="20701" Command="70" Descr="Check user login" />
		<Command Name="GetChecksForPed" ID="20" AppID="20701" Command="212" Descr="Checks for ped" />
		<Command Name="GetCheckTotalForPed" ID="21" AppID="20701" Command="22" Descr="Total for ped" />
		<Command Name="CheckIfCheckIsClosedAndRemove" ID="22" AppID="20701" Command="80" Descr="Check closed and remove check" />
		<Command Name="GetLock" ID="23" AppID="20701" Command="300" Descr="Lock check" />
		<Command ID="24" AppID="20701" Command="301" Descr="PreReceipt" />
		<Command Name="BonusRequest" ID="25" AppID="20701" Command="302" Descr="BonusRequest" />
		<Command Name="CheckIfCheckIsClosed" ID="26" AppID="20701" Command="81" Descr="Check closed" />
		<Command Name="ChangeAmount" ID="27" AppID="20701" Command="303" Descr="Change Amount" />
		<Command Name="CheckAmountDueReceived" ID="28" AppID="20701" Command="82" Descr="Checks if amount due is received from POS (backward compatibility)" />
		<Command ID="29" AppID="13" Command="10" Descr="Update CustomSettings.xml" />


           <!--     <Command ID="14" AppID="20701" Command="100" Descr="Get params from TMS (AppMicros/AppPosServer)" />
                    <Command ID="15" AppID="20700" Command="100" Descr="Get params from TMS (AppTerminalManager)" />
                    <Command ID="16" AppID="2" Command="13" Descr="AppMaintanance Program update" />         -->
  </InternalCommands>

	<TerminalCommands>
		<Command ID="1"  AppID="302" Command="1002" Descr="Main menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="#12#" >
					<Selection IDHex="00010001" Msg="#13#"/>
					<Selection IDHex="00010003" Msg="#14#"/>
					<Selection IDHex="00010002" Msg="#15#"/>
                                     <!-- <Selection IDHex="00010004" Msg="#83#" />    Trivec -->
		                     <!--   <Selection IDHex="00010005" Msg="#84#" />  Trivec -->
                                   	<!--<Selection IDHex="00120001" Msg="Plussa menu"/>-->
					<Selection IDHex="000C0001" Msg="#16#"/>

				</ListSelect>
			</Data>
		</Command>
		<Command ID="2"  AppID="302" Command="1005"  Descr="Login dialog">
			<Data Type="InputBox">
			<InputBox MaxLen="10" Mode="18" Msg="#11#" />
			</Data>
		</Command>
		<Command ID="3"  AppID="302" Command="1001"  Descr="Table nr dialog">
			<Data Type="InputBox">
				<InputBox MaxLen="5" Mode="18" Msg="#22#" />
			</Data>
		</Command>
		<Command ID="4" AppID="302" Command="1002"  Descr="List select"/>
		<Command ID="5"  AppID="302" Command="1001"  Descr="Check ID dialog">
			<Data Type="InputBox">
				<InputBox MaxLen="5" Mode="18" Msg="#85#" />
			</Data>
		</Command>
		<Command ID="6"  AppID="302" Command="1004"  Descr="Display text"/>
		<Command ID="9"  AppID="300" Command="268"  Descr="Print"/>
		<Command ID="11"  AppID="302" Command="1100"  Descr="Pay / Idle tila"/>
		<Command ID="12"  AppID="302" Command="1001"  Descr="Get receipt for transaction">
			<Data Type="InputBox">
				<InputBox MaxLen="9" Mode="18" Msg="#23#" />
			</Data>
		</Command>
   		<Command ID="13"  AppID="302" Command="1001"  Descr="RVC dialog">
			<Data Type="InputBox">
				<InputBox MaxLen="4" Mode="18" Msg="#24#" />
			</Data>
		</Command>

		<Command ID="14"  AppID="302" Command="1002" Descr="Receipt menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="#25#" >
					<Selection IDName="ReturnOkAfterReadingSetting_5" Msg="#26#"/>
					<Selection IDName="ReturnOkAfterReadingSetting_5" Msg="#27#"/>
					<Selection IDName="ReturnOkAfterReadingSetting_5" Msg="#28#"/>
				</ListSelect>
			</Data>
		</Command>

   		<Command ID="15"  AppID="302" Command="1001"  Descr="Bonus amount dialog">
			<Data Type="InputBox">
				<InputBox MaxLen="9" Mode="18" Msg="#29#" />
			</Data>
		</Command>


		  <Command ID="17"  AppID="302" Command="1002" Descr="Language menu" >
			<Data Type="ListSelectDynamic">
				<ListSelectDynamic Mode="0" Title="#38#" >

				</ListSelectDynamic>
			</Data>
		</Command>
               <Command ID="18"  AppID="302" Command="1002" Descr="Country specific menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="#60#" >
                    <Selection IDName="AddLunchCoupon" Msg="#5#" />
					<Selection IDName="DeleteLunchCoupon" Msg="#6#" />
					<Selection IDName="DeleteAllLunchCoupons" Msg="#77#" />
					<Selection IDHex="001A0001" Msg="#78#" />
                    <Selection IDHex="00290002" Msg="#61#" />
					<Selection IDHex="00290003" Msg="#62#"/>
					<Selection IDHex="00290004" Msg="#63#"/>
                  </ListSelect>
			</Data>
	</Command>
		<Command ID="20"  AppID="302" Command="1002" Descr="Self Service menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="#3#" >
					<Selection IDHex="00080015" Msg="#32#"/>
					<!--<Selection IDHex="000B0001" Msg="Plussa menu"/>-->
					<Selection IDHex="000C0002" Msg="#16#"/>
                </ListSelect>
			</Data>
		</Command>
       	<Command ID="22"  AppID="302" Command="1002" Descr="Bonus menu" >
			<Data Type="ListSelect">
			<ListSelect Mode="0" Title="#34#" >
				<Selection IDHex="000B0005" Msg="#35#"/>
					<Selection IDHex="000B0006" Msg="#36#"/>
				</ListSelect>
			</Data>
		</Command>
		<Command ID="23" AppID="850" Command="239"  Descr="Print last receipt"/>
		<Command ID="24"  AppID="302" Command="1002" Descr="Payment menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="               " >
					<!-- <Selection IDName="CardPayment" Msg="#17#" /> -->
  					<Selection IDName="AmountChangeCard" Msg="#17#" />
					<!--<Selection IDName="ReadBonus" Msg="Lue Bonus" /> -->
  					<Selection IDName="CashPayment" Msg="#19#" />
  					<Selection IDName="LunchCouponPayment" Msg="#20#" />  	  					 					
  				        <Selection IDHex="00140001" Msg="#21#" />
				</ListSelect>
			</Data>
		</Command>

   		<Command ID="25"  AppID="302" Command="1001"  Descr="Receipt confirm setting dialog">
			<Data Type="InputBox">
				<InputBox MaxLen="1" Mode="18" Msg="#37#" />
			</Data>
		</Command>
		
		<Command ID="251"  AppID="302" Command="1001"  Descr="Permanent Login setting dialog">
			<Data Type="InputBox">
				<InputBox MaxLen="1" Mode="18" Msg="#75#" />
			</Data>
		</Command>

		<Command ID="26"  AppID="302" Command="1002" Descr="Refund menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="               " >
					<Selection IDName="CardPayment" Msg="#17#" />
				<!--	<Selection IDName="AmountChangeCard" Msg="#18#" /> -->
  				</ListSelect>
			</Data>
		</Command>
		<Command ID="27"  AppID="302" Command="1006" Descr="Enter amount menu" >
			<Data Type="EnterAmount">
				<EnterAmount CurrencyExponent="" CurrencyLabel="" EnterDecimals="" MinAmount="1" Timeout="1800000" StartScreen="0" ErrorMsg="#59#"/>
			</Data>
		</Command>
		<Command ID="28"  AppID="302" Command="1006" Descr="Enter amount menu Lunch vouchers QuickItems" >
			<Data Type="EnterAmount">
				<EnterAmount InitialAmount="0" CurrencyExponent="" CurrencyLabel="" EnterDecimals="" MinAmount="1" Timeout="1800000" FooterText="#56#" QuickItemHeader="#57#" QuickItemFooter="#58#"  ChangeDisplayKey="32" StartScreen="1" ErrorMsg="#59#" MaxAmount="1000000" />
			</Data>
		</Command>

		<Command ID="29"  AppID="850" Command="232"  Descr="Bonus payment"/>
        <Command ID="30"  AppID="302" Command="1006" Descr="Enter amount menu" >
		<Data Type="EnterAmount">
				<EnterAmount InitialAmount="0" CurrencyExponent="" CurrencyLabel="" EnterDecimals="" MinAmount="1" Timeout="1800000" FooterText="#56#" QuickItemHeader="#57#" QuickItemFooter="#58#"  ChangeDisplayKey="32" ErrorMsg="#59#"/>
			</Data>

		</Command>

           	<Command ID="33"  AppID="302" Command="1002" Descr="Terminal settings menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="#64#" >
  					<Selection IDHex="00090001" Msg="#8#" />
					<Selection IDHex="000F0001" Msg="#9#" />
					<Selection IDHex="00280001" Msg="#10#" />
					<Selection IDHex="002C0001" Msg="#74#" />
					<Selection IDHex="00970001" Msg="#76#" />
                                  </ListSelect>
			</Data>
		</Command>

		<Command ID="40"  AppID="302" Command="1001"  Descr="CurrencyLabel">
			<Data Type="InputBox">
				<InputBox MaxLen="3" Mode="4146" Msg="#61#" />
			</Data>
		</Command>

               <Command ID="41"  AppID="302" Command="1001"  Descr="CurrencyExponent">
			<Data Type="InputBox">
				<InputBox MaxLen="1" Mode="18" Msg="#62#" />
			</Data>
		</Command>
		 <Command ID="42"  AppID="302" Command="1001"  Descr="DescimalEntry">
			<Data Type="InputBox">
				<InputBox MaxLen="1" Mode="18" Msg="#63#" />
			</Data>
		</Command>


		<Command ID="43" AppID="304" Command="304001" Descr="Terminal Info"/>
   

          <Command ID="44"  AppID="302" Command="1002" Descr="Receipt menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="#79#" >
					<Selection IDName="ReturnOkAfterReadingSetting_5" Msg="#80#"/>
					<Selection IDName="ReturnOkAfterReadingSetting_5" Msg="#81#"/>
					<Selection IDName="ReturnOkAfterReadingSetting_5" Msg="#82#"/>
				</ListSelect>
			</Data>
		</Command>

		<Command ID="98"  AppID="302" Command="1002" Descr="Settings menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="#4#" >
					<Selection IDName="TableServiceStart" Msg="#2#" />
  					<Selection IDName="SelfServiceStart" Msg="#3#" />
				<!-- 	<Selection IDName="AddLunchCoupon" Msg="#5#" />
					<Selection IDName="DeleteLunchCoupon" Msg="#6#" />     -->
					<Selection IDName="TerminalSettings" Msg="#64#" />
  					<Selection IDName="PositionSettings" Msg="#65#" />
				        <Selection IDHex="00130001" Msg="#7#" />
      	                    <!--        <Selection IDHex="00130001" Msg="#7#" />
  					<Selection IDHex="00090001" Msg="#8#" />
					<Selection IDHex="000F0001" Msg="#9#" />
					<Selection IDHex="00280001" Msg="#10#" />
					<Selection IDHex="00290001" Msg="#60#" />      -->
                                </ListSelect>
			</Data>
		</Command>
		<Command ID="99"  AppID="302" Command="1002" Descr="Admin menu" >
			<Data Type="ListSelect">
				<ListSelect Mode="0" Title="#39#" >
					<Selection IDName="SettingsMenu" Msg="#4#" />
					<Selection IDName="AdminMode" Msg="#41#" />
				<!-- 	<Selection IDHex="00040003" Msg="P{ivit{ kielet" />
  					<Selection IDHex="00040004" Msg="P{ivit{ scripti" />
  					<Selection IDHex="00040005" Msg="P{ivit{ alusta" />  -->
				</ListSelect>
			</Data>
		</Command>


	</TerminalCommands>

	<TerminalSettings>
		<Setting ID="1" Name="CashierID" Type="String" Serialize="True"/>
		<Setting ID="2" Name="ReceiptNro" Type="String"/>
		<Setting ID="3" Name="RVC" Type="Integer" Serialize="True"/>
		<Setting ID="4" Name="CashierIDLen" Type="Integer" Value="4"/>
		<Setting ID="5" Name="TempBytes" Type="Bytes"/>
		<Setting ID="6" Name="AskReceipt" Type="Boolean" Serialize="True"/>
		<Setting ID="7" Name="Mode" Type="String" Serialize="True" />
 	    <Setting ID="8" Name="Language"  Type="Integer" Serialize="True" />
 	    <Setting ID="9" Name="PermanentLogin" Type="Integer" Serialize="True"/>
 	</TerminalSettings>



</Script>
