SHARE
TWEET

Untitled

a guest Aug 19th, 2019 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <statefile>
  2.  
  3.   <event name="Keyboard.F61" ppi="HelpPPI"/>
  4.   <event name="Keyboard.help" ppi="HelpPPI"/>
  5.  
  6.   <event name="Keyboard.web" callSubstate="Web.state" substateNext="0"/>
  7.   <event name="Keyboard.F2" ppi="PriceEnquirePPI" next=",@priceEnquire"/>
  8.   <event name="Keyboard.priceEnquire" ppi="PriceEnquirePPI" next=",@priceEnquire"/>
  9.   <event name="@priceEnquire" callSubstate="priceEnquire.state" substateNext="0,@priceEnquireCancel,@priceEnquireSold"/>
  10.   <event name="@priceEnquireCancel"/>
  11.   <event name="@priceEnquireSold"/>
  12.   <event name="Keyboard.F40" callSubstate="DisplayPage.state" substateNext="0"/>
  13.  
  14.   <event name="Mail.UpdateClient" ppi="TillUpdateClientPPI" next=",@updateAppData"/>
  15.   <event name="@updateAppData" ppi="PosAppInit" next="@updateAppData2,@updateAppData2"/>
  16.   <event name="@updateAppData2" ppi="EvaluateSCOTenderOptions"/>
  17.  
  18.   <event name="remoteInterventionLogon" next="logon"/>
  19.   <event name="remoteInterventionLogonInit" next="logonInit"/>
  20.   <event name="remoteInterventionLogonCDO" next="logonCDO"/>
  21.  
  22.   <event name="Keyboard.NTEP" ppi="showNTEP"/>
  23.  
  24.   <!-- Web browser toggle control -->
  25.   <event name="Keyboard.browserToggle" ppi="SetDialogDisposed" next=",@callBrowser"/>
  26.   <event name="@callBrowser" callSubstate="browser.state" next="@setDialogNotDisposedExternalOrder"/>
  27.   <event name="Keyboard.popupKeyboardLogin" ppi="ToggleKeyboardLogin"/>
  28.   <event name="Keyboard.popupKeyboard" ppi="ToggleKeyboard"/>
  29.   <event name="Keyboard.popupNumberPad" ppi="ToggleNumericKeyboard"/>
  30.  
  31.   <event name="Keyboard.popupKeyboardLogin" ppi="ToggleKeyboardLogin"/>
  32.   <event name="Keyboard.popupKeyboard" ppi="ToggleKeyboard"/>
  33.   <event name="Keyboard.popupNumberPad" ppi="ToggleNumericKeyboard"/>
  34.  
  35.   <event name="Keyboard.popupKeyboardLogin" ppi="ToggleKeyboardLogin"/>
  36.   <event name="Keyboard.popupKeyboard" ppi="ToggleKeyboard"/>
  37.   <event name="Keyboard.popupNumberPad" ppi="ToggleNumericKeyboard"/>
  38.  
  39.   <event name="Keyboard.externalOrderButton" permission="CheckOperatorLoggedOn" permissionFail="@callExternalOrderPickBrowser" ppi="SetDialogDisposed" next=",@callExternalOrderPickBrowser"/>
  40.   <event name="@callExternalOrderPickBrowser" callSubstate="externalOrderPickBrowser.state" next="@setDialogNotDisposedExternalOrder,@setDialogNotDisposedExternalOrder"/>
  41.   <event name="@setDialogNotDisposedExternalOrder" ppi="SetDialogNotDisposed"/>
  42.  
  43.   <state name="startSaleEx">
  44.     <event name="Init" ppi="CheckPersonalityTypeSelfCheckout" next="startSaleExRetail,startSaleExSelfCheckout,startSaleExRetail"/>
  45.     <event name="@resetSLEJ" ppi="ResetSLEJ" next="@checkCashDrawerClosed,@checkCashDrawerClosed"/>
  46.     <event name="@checkCashDrawerClosed" ppi="CheckCashDrawerClosed" next="@preloadAccessPoints,@preloadAccessPoints"/>
  47.     <event name="@preloadAccessPoints" ppi="PreloadAccessPoints" next="logonInitialisations,logonInitialisations"/>
  48.   </state>
  49.  
  50.   <state name="startSaleExRetail" page="screenLayout.phtm,customerDisplayLoggedOn.phtm" frame="centreFrame,vgacd" like="startSaleEx">
  51.     <event name="Init" next="@resetSLEJ"/>
  52.   </state>
  53.  
  54.   <state name="startSaleExSelfCheckout" page="startScreenLayout.phtm,customerDisplayLoggedOn.phtm" frame="centreFrame,vgacd" like="startSaleEx">
  55.     <event name="Init" next="@resetSLEJ"/>
  56.   </state>
  57.  
  58.   <include file="change.state"/>
  59.  
  60.   <state name="baseChange" prompt="GiveChange" picture="%0s">
  61.     <!-- NOTE: ProcessEpasTenders and ClearFuelTransactions are mutually exclusive, you should not do paypal refunds on Fuel transactions-->
  62.     <event name="Init" ppi="CloseKeyboard" next=",@sendTransLineExternalCallBeforeEOT"/>
  63.     <event name="@sendTransLineExternalCallBeforeEOT" permission="AutoVoidTransactionPPI" permissionFail="@processEpasTenders" callSubstate="sendTransLineExternal.substate" substateNext="@tenderNameAddress,@autoVoidTendersLines"/>
  64.     <event name="@autoVoidTendersLines" ppi="AutoVoidTenderLines" next="@autoVoidTransactionWithReasonCode,@autoVoidTransactionWithReasonCode"/>
  65.     <event name="@autoVoidTransactionWithReasonCode" ppi="AutoVoidTransactionWithReasonCode" next="@clearRefundAppData,@clearRefundAppData,@clearRefundAppData"/>
  66.     <event name="@clearRefundAppData" ppi="ClearRefundAppData" next="startSale,startSale"/>
  67.  
  68.     <event name="@processEpasTenders" permission="ProcessEpasTenders" permissionFail="@clearFuelTransactions" ppi="ProcessEpasTenders" next="@processFailedEpasTenders,@clearFuelTransactions"/>
  69.     <event name="@processFailedEpasTenders" ppi="FailedEpasTenders" next="tender,tender"/>
  70.     <event name="@clearFuelTransactions" permission="ClearFuelTransactions" permissionFail="@eftConfirm" ppi="ClearFuelTransactions" next="voidAllTenders,@eftConfirm"/>
  71.     <event name="@eftConfirm" callSubstate="eftconfirm.state" substateNext="@validateMoneyLaunderingIfEnabled"/>
  72.     <event name="@validateMoneyLaunderingIfEnabled" ppi="ValidateMoneyLaundering" next="@sendGiftCardAuthorisation,@sendGiftCardAuthorisation" />
  73.     <!-- if CHM is not enabled just pass to our 3rd party handlers; otherwise flow through CHM then do 3rd party handlers. -->
  74.     <event name="@sendGiftCardAuthorisation" next="@sendTransLineExternal" />
  75.     <event name="@tenderNameAddress" ppi="TenderNameAddress" next="@cashDrawerEarly,@nameAddressMessage"/>
  76.     <event name="@cashDrawerEarly" ppi="CashDrawerOpen" next="@etopupEOTCDO,@etopupEOTCDO,@etopupEOT,@showCashDrawerItemMessages"/>
  77.  
  78.     <event name="@showCashDrawerItemMessages" ppi="ShowCashDrawerItemMessages" next="@etopupEOTCDO,@etopupEOTCDO"/>
  79.     <event name="@etopupEOTCDO" ppi="ETopUpAuthorise" next="@displayPurchaseFailuresCDO,@displayPurchaseFailuresCDO"/>
  80.     <event name="@displayPurchaseFailuresCDO" ppi="ShowPurchaseFailures" next="@customerPrintPromptCDO,@customerPrintPromptCDO"/>
  81.     <event name="@customerPrintPromptCDO" ppi="CustomerPrintPrompt" next="@EOTCDO,@EOTCDO"/>
  82.     <event name="@EOTCDO" ppi="EOT" next="@promptCashbackCDO,@promptCashbackCDO"/>
  83.     <event name="@promptCashbackCDO" permission="PromptCashback" permissionFail="@storeCopyReceiptCDO" ppi="PromptCashback" next="@storeCopyReceiptCDO,@storeCopyReceiptCDO"/>
  84.     <event name="@storeCopyReceiptCDO" ppi="StoreCopyReceipt" next="@oldTransCDO,@oldTransCDO"/>
  85.     <event name="@oldTransCDO" ppi="OldTrans" next="@checkForCombinedEftPrintFailuresCDO,@checkForCombinedEftPrintFailuresCDO"/>
  86.     <event name="@checkForCombinedEftPrintFailuresCDO" ppi="CheckForCombinedEftPrintFailures" next="@sendCustomerAccountPaymentConfirmationMessageCDO,@sendCustomerAccountPaymentConfirmationMessageCDO"/>
  87.     <event name ="@sendCustomerAccountPaymentConfirmationMessageCDO" ppi="SendPaymentConfirmationMessage" next="@cashdrawer,@paymentConfirmationOfflineCDO,@cashdrawer,@paymentConfirmationNotRequiredCDO" />
  88.     <event name ="@paymentConfirmationNotRequiredCDO" ppi="CheckDefaultCustomerAccountSelection" next="@cashdrawer,@cashdrawer" />
  89.     <event name ="@paymentConfirmationOfflineCDO" ppi="PaymentConfirmationOfflineMessage" next="@cashdrawer,@cashdrawer" />
  90.     <event name="@cashdrawer" next="cashdrawer"/>
  91.  
  92.     <event name="@etopupEOT" ppi="ETopUpAuthorise" next="@displayPurchaseFailures,@displayPurchaseFailures"/>
  93.     <event name="@displayPurchaseFailures" ppi="ShowPurchaseFailures" next="@customerPrintPrompt,@customerPrintPrompt"/>
  94.     <event name="@customerPrintPrompt" ppi="CustomerPrintPrompt" next="@selfCheckoutEOT,@selfCheckoutEOT"/>
  95.     <event name="@selfCheckoutEOT" ppi="CheckPersonalityTypeSelfCheckout" next="@EOT,@transactionCompleteAudioClip,@EOT"/>
  96.     <event name="@transactionCompleteAudioClip" ppi="transactionCompleteAudioClip" next="@EOT,@EOT"/>
  97.     <event name="@EOT" ppi="EOT" next="@promptCashback,@promptCashback"/>
  98.     <event name="@promptCashback" permission="PromptCashback" permissionFail="@storeCopyReceipt" ppi="PromptCashback" next="@storeCopyReceipt,@storeCopyReceipt"/>
  99.     <event name="@storeCopyReceipt" ppi="StoreCopyReceipt" next="@oldTrans,@oldTrans"/>
  100.     <event name="@oldTrans" ppi="OldTrans" next="@checkForCombinedEftPrintFailures,@checkForCombinedEftPrintFailures"/>
  101.     <event name="@checkForCombinedEftPrintFailures" ppi="CheckForCombinedEftPrintFailures" next="@checkTillPickup,@checkTillPickup"/>
  102.     <event name="@checkTillPickup" permission="CheckTillPickup" permissionFail="@sendCustomerAccountPaymentConfirmationMessage" ppi="CheckTillPickup" next="@sendCustomerAccountPaymentConfirmationMessage,@sendCustomerAccountPaymentConfirmationMessage"/>
  103.     <event name ="@sendCustomerAccountPaymentConfirmationMessage" ppi="SendPaymentConfirmationMessage" next="eot,@paymentConfirmationOffline,eot,@paymentConfirmationNotRequired" />
  104.     <event name ="@paymentConfirmationNotRequired" ppi="CheckDefaultCustomerAccountSelection" next="eot,eot" />
  105.     <event name ="@paymentConfirmationOffline" ppi="PaymentConfirmationOfflineMessage" next="eot,eot" />
  106.  
  107.     <event name="EJ"/>
  108.     <event name="CustEJ"/>
  109.     <event name="SIPSEJ"/>
  110.     <event name="Exit" ppi="CashDrawerDelayTimer"/>
  111.     <event name="@sendTransLineExternal" callSubstate="sendTransLineExternal.substate" substateNext="@eftSessionEnd,@eftSessionEnd"/>
  112.     <event name="@eftSessionEnd" callSubstate="eftSessionEnd.state" substateNext="@tenderNameAddress,@tenderNameAddress" />
  113.  
  114.     <event name="@nameAddressMessage" permission="NameAddressMessage" permissionFail="@captureNameAddressAutoLogoffStop" next="@cashDrawerEarly"/>
  115.     <event name="@captureNameAddressAutoLogoffStop" ppi="DeactivateAutoLogoff" next="@cashDrawerEarly,@captureNameAddress"/>
  116.     <event name="@captureNameAddress" callSubstate="CustomerCaptureChoice.state" substateNext="0,@autoLogoffStart,@autoLogoffStart"/>
  117.     <event name="@autoLogoffStart" ppi="ActivateAutoLogoff" next="@cashDrawerEarly,@cashDrawerEarly"/>
  118.  
  119.     <data name="priceEnquire" value="10"/>
  120.     <data name="escKey" value="0"/>
  121.     <data name="manager" value="0"/>
  122.     <data name="total" calculate="Total"/>
  123.     <data name="help" value="10"/>
  124.     <data name="web" value="10"/>
  125.     <data name="EJ" value="10"/>
  126.     <data name="CustEJ" value="10"/>
  127.     <data name="SIPSEJ" value="10"/>
  128.     <data name="Enter" value="10"/>
  129.   </state>
  130.  
  131.   <state name="voidAllTenders">
  132.     <event name="Init" ppi="DisplayInitialCard"/>
  133.     <event name="Keyboard.voidSelectedTender" permission="VoidSelectedTender" ppi="VoidSelectedTender" next=",@checkBalance"/>
  134.     <event name="@checkBalance" ppi="CheckTenders" next=",sale"/>
  135.  
  136.     <data name="voidSelectedTender" calculate="VoidSelectedTender"/>
  137.     <data name="voidTender" calculate="VoidSelectedTender"/>
  138.   </state>
  139.  
  140.   <state name="changeTODO" prompt="GiveChange" picture="%0s">
  141.     <event name="Init" next="@init"/>
  142.     <event name="@init" ppi="CashDrawerOpen" next="@EOT,@EOT,@EOTStartSale"/>
  143.     <event name="@EOT" ppi="EOT" next="@OldTrans,@OldTrans"/>
  144.     <event name="@OldTrans" ppi="OldTrans" next="cashdrawer,cashdrawer"/>
  145.     <event name="@EOTStartSale" ppi="EOT" next="@OldTransStartSale,@OldTransStartSale"/>
  146.     <event name="@OldTransStartSale" ppi="OldTrans" next="startSale,startSale"/>
  147.  
  148.     <event name="EJ"/>
  149.     <event name="SIPSEJ"/>
  150.     <event name="CustEJ"/>
  151.     <data name="priceEnquire" calculate="PriceEnquire"/>
  152.     <data name="escKey" value="0"/>
  153.     <data name="logoff" calculate="CheckNoTrans"/>
  154.     <data name="manager" calculate="CheckNoTrans"/>
  155.     <data name="total" calculate="Total"/>
  156.     <data name="help" value="10"/>
  157.     <data name="web" value="10"/>
  158.     <data name="EJ" value="10"/>
  159.     <data name="SIPSEJ" value="10"/>
  160.     <data name="CustEJ" value="10"/>
  161.  
  162.     <event name="@continue" next="@init"/>
  163.   </state>
  164.  
  165.   <include file="managerMenu.state"/>
  166.  
  167.   <state name="baseManagerMenu" prompt="ManagerMenu" picture="%0s" page="manager.phtm" frame="rightFrame">
  168.     <event name="Init" ppi="ManagerInit" next="startSale,@initCashOffice"/>
  169.     <event name="@initCashOffice" callSubstate="InitCashOffice.state" subStateNext="0,"/>
  170.     <event name="Network" ppi="NetworkError"/>
  171.     <event name="Keyboard.Esc" ppi="RemoveAuthority" next=",startSale"/>
  172.     <event name="Keyboard.F1" ppi="RemoveAuthority" next=",startSale"/>
  173.     <event name="Keyboard.removeAuthority" ppi="RemoveAuthority" next=",startSale"/>
  174.     <event name="Keyboard.F3" permission="ManagerAuthNoSale,NoSale" next="noSale,noSale"/>
  175.     <event name="Keyboard.noSale" permission="ManagerAuthNoSale,NoSale" next="noSale,noSale"/>
  176.  
  177.    
  178.     <event name="Keyboard.F6" ppi="GoToCTMManager" next=",@printCTMReport"/>
  179.     <event name="Keyboard.gotoCTMManager" ppi="GoToCTMManager" next=",@printCTMReport"/>
  180.     <event name="@printCTMReport" ppi="PrintCTMReport"/>
  181.     <data name="gotoCTMManager" calculate="SelfCheckoutCTMExistsChecker"/>
  182.  
  183.     <event name="Keyboard.F5" next="mediaexchange"/>
  184.     <!--event name="Keyboard.F6" next="pettycashin"-->
  185.     <!--event name="Keyboard.F7" next="pettycashout"-->
  186.     <event name="Keyboard.F8" callSubstate="displayREMMessages.state" substatenext=",@logoffTraining"/>
  187.     <event name="@logoffTraining" ppi="TrainingMode" permission="ManagerAuthTrainingMode,TrainingMode" next=",@logoff"/>
  188.  
  189.     <event name="Keyboard.trainingMode" callSubstate="displayREMMessages.state" substatenext=",@logoffRemoveAuthTraining"/>
  190.     <event name="@logoffRemoveAuthTraining" ppi="TrainingMode" permission="ManagerAuthTrainingMode,TrainingMode" next=",@logoffRemoveAuth"/>
  191.    
  192.     <event name="Keyboard.F10" permission="ManagerAuthXRead" ppi="DeactivateAutoLogoff" next=",@chooseXRead"/>
  193.     <event name="Keyboard.Xread" permission="ManagerAuthXRead" ppi="DeactivateAutoLogoff" next=",@chooseXRead"/>
  194.     <event name="@chooseXRead" callSubstate="chooseXRead.state" substateNext="0,@autoLogoffStart,@autoLogoffStart"/>
  195.     <event name="Keyboard.F12" ppi="RemoveAuthority" next=",@rekey"/>
  196.     <event name="@rekey" ppi="RekeyMode" permission="RekeyMode" next="startSale,startSale"/>
  197.     <event name="Keyboard.F30" permission="ManagerAuthZRead" ppi="DeactivateAutoLogoff" next=",@chooseZRead"/>
  198.    
  199.     <event name="Keyboard.Zread" callSubstate="displayREMMessages.state" substatenext=",@authZRead"/>  
  200.     <event name="@authZRead" permission="ManagerAuthZRead" ppi="DeactivateAutoLogoff" next=",@chooseZRead"/>
  201.    
  202.     <event name="@chooseZRead" callSubstate="chooseZRead.state" substateNext="0,@logoffRemoveAuth,@logoffRemoveAuth"/>
  203.     <event name="Keyboard.endSession" callSubstate="displayREMMessages.state" substatenext=",@endSessionTransaction"/>
  204.     <event name="@endSessionTransaction" ppi="InitiateNewTransaction" next=",@endSession"/>
  205.    
  206.     <event name="@endSession" permission="ManagerAuthEndSession" ppi="EndSession" next=",@clearFloatInAppData,@clearFloatInAppData"/>
  207.     <event name="@clearFloatInAppData" ppi="ClearFloatInAppData" next="@clearSpotCheckData,@clearSpotCheckData"/>
  208.     <event name="@clearSpotCheckData" ppi="ClearSpotCheckData" next="@CashDrawerForceOpen,@CashDrawerForceOpen"/>
  209.     <event name="@CashDrawerForceOpen" ppi="CashDrawerForceOpen" next="@logoffRemoveAuth,@logoffRemoveAuth,@logoffRemoveAuth"/>
  210.     <event name="Keyboard.pettyCashIn" permission="PettyCashIn" callSubstate="pettyCashIn.state" substateNext="0"/>
  211.     <event name="Keyboard.pettyCashOut" permission="PettyCashOut" callSubstate="pettyCashOut.state" substateNext="0"/>
  212.     <!--event name="Keyboard.mediaExchange" next="mediaexchange"-->
  213.     <event name="Keyboard.postVoid" ppi="PostVoid" permission="ManagerAuthPostVoid,PostVoid" next="startSale,startSale,startSale"/>
  214.     <event name="Keyboard.unknownItem" permission="ManagerAuthUnknownItem" next="addItemUnknown" />
  215.     <event name="Keyboard.showItemUnknown" ppi="ShowItemUnknown"/>
  216.     <!-- No Password Logon -->
  217.     <event name="Keyboard.noPasswordLogon" permission="ManagerAuthNoPasswordLogon" callSubstate="noPasswordLogon.state" substateNext="0,,,@logoffRemoveAuth"/>
  218.     <!-- logoff cascade switches the autologoff timer off -->
  219.     <event name="@logoffRemoveAuth" ppi="RemoveAuthority" next="@logoff,@logoff"/>
  220.     <event name="@logoff" callSubstate="operatorLogoff.state" substateNext="@eftSessionEnd,@eftSessionEnd"/>
  221.     <event name="@eftSessionEnd" callSubstate="eftSessionEnd.state" substateNext="logon,logon"/>
  222.     <event name="Keyboard.forceChangePassword" permission="ManagerAuthForcePwdChange" next="@pwdChangeRemoveAuth"/>
  223.     <event name="@pwdChangeRemoveAuth" ppi="RemoveAuthority" next="@keyboardForceChangePassword,@keyboardForceChangePassword"/>
  224.     <event name="@keyboardForceChangePassword" permission="IsServerAliveNoMessage" permissionFail="@forceChangePasswordOfflineMessage" next="@logoffOff"/>
  225.     <event name="@forceChangePasswordOfflineMessage" ppi="ForceChangePasswordOfflineMessage" next="startSale"/>
  226.     <event name="@logoffOff" ppi="DeactivateAutoLogoff" next="@OperatorCheckValid,@OperatorCheckValid"/>
  227.     <event name="Keyboard.seqrPosRegistration" callSubstate="seqrPosRegister.state" substatenext="0"/>
  228.     <event name="Keyboard.seqrPosDeRegistration" ppi="SeqrUnregisterTerminal"/>
  229.     <event name="@OperatorCheckValid" ppi="OperatorCheckValid" next="@quitForceChange,@forceChangePasswordForm"/>
  230.     <event name="@quitForceChange" ppi="ActivateAutoLogoff"/>
  231.     <event name="@forceChangePasswordForm" callSubstate="forceChangePassword.state" substateNext="0,@forceChangePassword,@changePassword,@logoffOn"/>
  232.     <event name="@forceChangePassword" ppi="OperatorForceChangePassword" next="@forceChangePasswordFailureFinalise,@forceChangePasswordSuccessFinalise"/>
  233.     <event name="@changePassword" ppi="NoPasswordRequiredPPI" next="@quitForceChange,@changePasswordState"/>
  234.     <event name="@changePasswordState" callSubState="changePassword.state" substateNext="0,,@changePasswordFailure,@forceChangePassword,@logoffOn"/>
  235.     <event name="@changePasswordFailure" ppi="forceChangePasswordFailureMessage" next="@logoffOn"/>
  236.     <!--event name="@forceChangePasswordSuccessFinalise" ppi="ChangePasswordFinalise" next="@quitForceChange,@forceChangePasswordSuccess"-->
  237.     <event name="@forceChangePasswordSuccessFinalise" ppi="ChangePasswordFinalise" next="@quitForceChange,@auditForceChangePassword"/>
  238.     <event name="@auditForceChangePassword" ppi="AuditForceChangePassword" next="@quitForceChange,@forceChangePasswordSuccess"/>
  239.     <event name="@forceChangePasswordSuccess" ppi="forceChangePasswordSuccessMessage" next="@logoffOn,@logoffOn"/>
  240.     <event name="@forceChangePasswordFailureFinalise" ppi="ChangePasswordFinalise" next="@quitForceChange,@forceChangePasswordFailure"/>
  241.     <event name="@forceChangePasswordFailure" ppi="forceChangePasswordFailureMessage" next="@logoffOn,@logoffOn"/>
  242.     <event name="@logoffOn" ppi="ActivateAutoLogoff" next="startSale,startSale"/>
  243.     <event name="@resetSaleState" permission="CheckNoTransNoWarning"  next="startSale"/>
  244.     <!-- Restart and shutdown commands -->
  245.     <event name="@restartLogoff" ppi="OperatorLogoff" next="601,601"/>
  246.     <event name="Keyboard.restart" permission="OperatorLogoff,RestartPOSPermission" ppi="RemoveAuthority" next="@restartLogoff,@restartLogoff"/>
  247.     <event name="@shutdownLogoff" ppi="OperatorLogoff" next="701,701"/>
  248.     <event name="Keyboard.shutdown" permission="CheckNoTrans,OperatorLogoff" ppi="RemoveAuthority" next="@shutdownLogoff,@shutdownLogoff"/>
  249.     <!--event name="Keyboard.addFloat" callSubstate="floatEntry.state"/-->
  250.     <event name="Keyboard.addFloat" permission="ManagerAuthFloat" ppi="DeactivateAutoLogoff" next=",@addFloat"/>
  251.     <event name="@addFloat" callSubstate="addFloat.state" substateNext="@autoLogoffStart,@autoLogoffStart"/>
  252.     <event name="Keyboard.pickup" permission="ManagerAuthPickup" ppi="DeactivateAutoLogoff" next=",@pickup"/>
  253.     <event name="@pickup" callSubstate="pickup.state" substateNext="@autoLogoffStart,@autoLogoffStart"/>
  254.     <event name="@autoLogoffStart" ppi="ActivateAutoLogoff"/>
  255.     <event name="Keyboard.blindSpotCheck" permission="ManagerAuthBlindSpotCheck" ppi="DeactivateAutoLogoff" next=",@tillSpotCheck"/>
  256.     <!--event name="@tillSpotCheck" callSubstate="tillSpotCheck.state" substateNext="@autoLogoffStart,@autoLogoffStart"/-->
  257.     <event name="@tillSpotCheck" ppi="DeactivateAutoLogoff" next="@tillSpotCheckNext,@tillSpotCheckNext"/>
  258.     <event name="@tillSpotCheckNext" callSubstate="tillSpotCheck.state" substateNext="@reactivateAutoLogoff,@reactivateAutoLogoff"/>
  259.     <event name="@reactivateAutoLogoff" ppi="ReactivateAutoLogoff" next="@autoLogoffStart,@autoLogoffStart"/>
  260.     <event name="Keyboard.cashSummary" ppi="CashSummarySetSession" next=",@cashSummary"/>
  261.     <event name="@cashSummary" ppi="CashSummaryReportPPI" next=",@print"/>
  262.     <event name="@print" ppi="Print"/>
  263.     <event name="Keyboard.spotCheck" permission="ManagerAuthSpotCheck" callSubstate="spotCheck.state" substateNext=","/>
  264.     <!--event name="Keyboard.payingAccount" callSubstate="payingAccount.state"/>
  265.     <event name="Keyboard.F42" callSubstate="payingAccount.state"/-->
  266.     <event name="Keyboard.F42" next="accountPayIn"/>
  267.  
  268.     <event name="Keyboard.goodwillCash" permission="GoodwillPopup" ppi="GoodwillCash" next="sale,@total,sale"/>
  269.     <event name="@total" ppi="Total" next="@cancelGoodwill,@cashTender,change,@cashTender,@noLinesToTender"/>
  270.     <event name="@noLinesToTender" ppi="DisplayMessageBoxNoLinesToTender"/>
  271.     <event name="@cashTender" permission="CashTender" ppi="CashTender" next="@cancelGoodwill,@cancelGoodwill,change"/>
  272.     <event name="@cancelGoodwill" ppi="VoidTransactionNoPrompt" next="startSale,startSale"/>NoSaleInteraction
  273.     <event name="Keyboard.giftCardBalanceAdjustment" next="baseGiftCardBalanceAdjustment"/>
  274.     <event name="Keyboard.checksumSpotCheck" ppi="ChecksumSpotCheck"/>
  275.  
  276.     <!-- This simply records an information line and completes the transaction, there is no Total or Checkout involved -->
  277.     <event name="Keyboard.postOfficePayout" permission="PostOfficePayout" ppi="PostOfficePayout" next="startSale,change"/>
  278.     <data name="postOfficePayout" calculate="CheckNoTrans"/>
  279.  
  280.     <event name="@giftCardTotal" ppi="RemoveAuthority" next="@goToTotal,@goToTotal"/>
  281.     <event name="@goToTotal" ppi="Total" next=",tenderSelect,change,tenderSelect,@noLinesToTender"/>
  282.  
  283.     <event name="@checkForGiftCardTransactionToVoid" permission="CheckForGiftCardTransactionToVoid" permissionFail="@clearGiftCardBalanceAdjustTenders"
  284.         ppi="VoidTransactionNoPrompt" next="@clearGiftCardBalanceAdjustTenders,@clearGiftCardBalanceAdjustTenders" />
  285.  
  286.     <event name="@clearGiftCardBalanceAdjustTenders" ppi="StartSaleInit" next="0,managerMenu"/>
  287.  
  288.     <event name="@noLinesToTender" ppi="DisplayMessageBoxNoLinesToTender"/>
  289.  
  290.     <event name="Keyboard.advanceTradeDate" permission="ManagerAuthAdvanceTradeDate" ppi="AdvanceTradeDate" next=",@logoff"/>
  291.  
  292.     <include file="fuelManagerMenu.state" exclude="beanstore.reducedMemoryMode.fuelOff"/>
  293.  
  294.     <!-- Transaction Comments -->
  295.     <event name="Keyboard.transactionCommentsSales" permission="TransactionCommentsSalesPermission" next="@startTransactionComments"/>
  296.     <event name="@startTransactionComments" callSubState="TransactionComments.state"/>
  297.     <data name="transactionCommentsSales" calculate="SaleHasItems"/>
  298.  
  299.     <!-- Stock Adjustment -->
  300.     <event name="Keyboard.stockAdjustment" next="stockAdjustment"/>
  301.  
  302.     <data name="stockAdjustment" value="10"/>
  303.  
  304.     <data name="goodwillCash" calculate="GoodwillCash"/>
  305.     <data name="Goodwill" value="10"/>
  306.     <data name="noSale" calculate="CheckNoTrans"/>
  307.     <data name="giftCardBalanceAdjustment" calculate="CheckNoTrans"/>
  308.     <data name="pettyCashIn" value="10"/>
  309.     <data name="pettyCashOut" value="10"/>
  310.     <data name="postVoid" value="10"/>
  311.     <data name="trainingMode" calculate="CheckNoTrans"/>
  312.     <data name="Xread" value="10"/>
  313.     <data name="Zread" value="10"/>
  314.     <data name="endSession" value="10"/>
  315.     <data name="forceChangePassword" calculate="CheckNoTrans"/>
  316.     <data name="help" value="10"/>
  317.     <data name="web" value="10"/>
  318.     <data name="addItemUnknown" calculate="AddItemUnknown"/>
  319.     <data name="removeItemUnknown" calculate="RemoveItemUnknown"/>
  320.     <data name="showItemUnknown" calculate="ShowItemUnknown"/>
  321.     <data name="noPasswordLogon" calculate="CheckNoTrans"/>
  322.     <data name="unknownItem" value="10"/>
  323.     <data name="restart" value="10"/>
  324.  
  325.     <data name="Maintenance" value="10"/>
  326.     <data name="addFloat" calculate="CheckForTrainingMode,SidekeyModeCheck"/>
  327.     <data name="pickup" calculate="CheckForTrainingMode,SidekeyModeCheck"/>
  328.     <data name="blindSpotCheck" calculate="CheckForTrainingMode,SidekeyModeCheck"/>
  329.     <data name="cashSummary" calculate="CheckForTrainingMode,SidekeyModeCheck"/>
  330.     <data name="spotCheck" value="10"/>
  331.     <data name="checksumSpotCheck" value="10"/>
  332.     <data name="advanceTradeDate" calculate="CheckNoTrans,AdvanceTradeDate"/>
  333.  
  334.     <event name="Keyboard.serviceCheck" permission="ManagerAuthUnknownItem" next="@serviceCheck"/>
  335.     <event name="@serviceCheck" ppi="DeactivateAutoLogoff" callSubstate="serviceCheck.state"/>
  336.     <data name="serviceCheck" value="10"/>
  337.  
  338.     <data name="tab1" value="10"/>
  339.     <data name="tab2" value="10"/>
  340.     <data name="tab3" calculate="SidekeyModeCheck"/>
  341.     <data name="tab4" value="10"/>
  342.  
  343.     <data name="seqrPosRegistration" calculate="SeqrButtonAccess"/>
  344.     <data name="seqrPosDeRegistration" calculate="SeqrButtonAccess"/>
  345.   </state>
  346.  
  347.   <state name="accountPayIn">
  348.     <event name="Init" next="@accountCardPayment"/>
  349.     <event name="Keyboard.accountPayIn" next="@accountCardPayment"/>
  350.     <event name="@accountCardPayment" permission="CheckAccountPayment" callSubstate="payingAccount.state" substateNext="0,sale,sale"/>
  351.     <data name="staffPayIn" calculate="CheckAccountPayment"/>
  352.     <data name="escKey" value="10"/>
  353.   </state>
  354.  
  355.   <!--state name="tenderAccountPayIn" page="left.phtm,right.phtm,saletabs.phtm" frame="leftFrame,rightFrame,toptabs"-->
  356.   <state name="tenderAccountPayIn">
  357.     <event name="Init" ppi="Total" next=",accountTender,change,accountTender,@noLinesToTender"/>
  358.     <event name="@noLinesToTender" ppi="DisplayMessageBoxNoLinesToTender"/>
  359.     <data name="staffSale" calculate="StaffSaleButtonEnabled,DisableFunctionAfterTender"/>
  360.   </state>
  361.  
  362.   <state name="recall" page="left.phtm,right.phtm" frame="leftFrame,rightFrame">
  363.     <event name="Keyboard.Esc" next="startSale"/>
  364.     <event name="Init" ppi="TransactionRecall" next="startSale,sale,refund"/>
  365.     <data name="priceEnquire" calculate="PriceEnquire"/>
  366.     <data name="escKey" value="10"/>
  367.     <data name="logoff" calculate="CheckNoTrans"/>
  368.     <data name="manager" calculate="CheckNoTrans"/>
  369.     <data name="total" calculate="Total"/>
  370.     <data name="help" value="10"/>
  371.     <data name="web" value="10"/>
  372.   </state>
  373.  
  374.   <state name="customerloyaltyrefund" prompt="EnterLoyaltyCard" picture="%19x" page="left.phtm,right.phtm" frame="leftFrame,rightFrame">
  375.     <event name="MSR" ppi="CustomerLoyalty" next=",refund"/>
  376.     <event name="Keyboard.Esc" next="refund,refund"/>
  377.     <event name="Keyboard.Enter" ppi="CustomerLoyalty" next=",refund"/>
  378.     <event name="Scanner" ppi="CustomerLoyalty" next=",refund"/>
  379.     <data name="priceEnquire" calculate="PriceEnquire"/>
  380.     <data name="escKey" value="10"/>
  381.     <data name="logoff" calculate="CheckNoTrans"/>
  382.     <data name="manager" calculate="CheckNoTrans"/>
  383.     <data name="total" calculate="Total"/>
  384.     <data name="help" value="10"/>
  385.   </state>
  386.  
  387.   <state name="serverError" prompt="ServerError" picture="%0s" page="openingPage.phtm" frame="centreFrame">
  388.     <event name="Init" next="@waitStoreOpen"/>
  389.     <event name="@waitStoreOpen" ppi="WaitStoreOpen"/>
  390.     <event name="WaitStoreOpen" next="@checkStoreOpen"/>
  391.     <event name="@checkStoreOpen" ppi="CheckStoreOpen" next="start,start,@waitStoreOpen"/>
  392.     <event name="Keyboard.Esc" next="@openStore"/>
  393.     <event name="Keyboard.Enter" next="@openStore"/>
  394.     <event name="@openStore" ppi="OpenStore" next="@waitStoreOpen,@startTill"/>
  395.     <event name="@startTill" ppi="StartTill" next="@waitStoreOpen,logonInit"/>
  396.     <data name="escKey" value="10"/>
  397.   </state>
  398.  
  399.  
  400.    <state name="CTMGiveChange" prompt="TakeChange" picture="%0s">
  401.     <event name="Init" ppi="takeChangeAudioClip" next=",@giveChange"/>
  402.     <event name="@giveChange" ppi="DispenseChange" next="@checkChange,@checkChange"/>
  403.     <event name="@checkChange" ppi="CheckDispenseLevels" next="checkTillPickup,checkTillPickup"/>
  404.   </state>
  405.  
  406.   <state name="cashdrawer" prompt="GiveChange" picture="%0s" page="right.phtm" frame="rightFrame">
  407.     <event name="Init" ppi="SelfCheckoutCTMChecker" next="@init,CTMGiveChange"/>
  408.     <event name="Error.Network" next="@continue,@continue"/>
  409.     <event name="@init" permission="CashDrawerSupport" ppi="CashDrawerSupport" next=",checkTillPickup,checkTillPickup,checkTillPickup"/>
  410.     <event name="CashDrawer" ppi="CashDrawerSupport" next=",checkTillPickup,checkTillPickup"/>
  411.     <!-- event name="Keyboard.Enter" next="eot" -->
  412.     <event name="EJ"/>
  413.     <event name="SIPSEJ"/>
  414.     <event name="CustEJ"/>
  415.     <event name="@continue" next="@init"/>
  416.  
  417.     <event name="CashDrawerDelayTimer" next="@showMessage"/>
  418.     <event name="CashDrawerBeepTimer" next="@showMessage"/>
  419.     <event name="@showMessage" sound="1" ppi="CloseCashDrawerMessage" next="@repeatDelay,@repeatDelay"/>
  420.     <event name="@repeatDelay" sound="1" ppi="CashDrawerBeepTimer"/>
  421.     <event name="Exit" ppi="CashDrawerTimerStop"/>
  422.  
  423.     <data name="priceEnquire" value="0"/>
  424.     <data name="escKey" value="0"/>
  425.     <data name="logoff" value="0"/>
  426.     <data name="manager" value="0"/>
  427.     <data name="total" value="0"/>
  428.     <data name="help" value="10"/>
  429.     <data name="web" value="10"/>
  430.     <data name="EJ" value="10"/>
  431.     <data name="SIPSEJ" value="10"/>
  432.     <data name="CustEJ" value="10"/>
  433.   </state>
  434.  
  435.   <state name="checkTillPickup">
  436.     <event name="Init" permission="CheckTillPickup" permissionFail="startSale" ppi="CheckTillPickup" next="startSale,startSale"/>
  437.     <event name="@continue" next="startSale"/>
  438.   </state>
  439.  
  440.   <state name="startrefund" prompt="ItemNumber" picture="%13x" page="left.phtm,right.phtm" frame="leftFrame,rightFrame" like="refund">
  441.     <event name="Init" permission="RefundInit" permissionFail="startSale" ppi="StartRefundInit" next=",refund"/>
  442.   </state>
  443.  
  444.   <state name="start" prompt="StoreClosed" picture="%0s" page="openingPage.phtm" frame="centreFrame">
  445.     <event name="Init" next="@init"/>
  446.     <event name="@init" next="@resetLanguage"/>
  447.     <event name="@resetLanguage" ppi="ResetLanguage" next="@clearReceiptAdImageFolder,@clearReceiptAdImageFolder"/>
  448.     <event name="@clearReceiptAdImageFolder" ppi="ClearReceiptAdImageFolder" next="@posAppInit,@posAppInit"/>
  449.     <event name="@posAppInit" ppi="PosAppInit" next="@updateAppData2,@updateAppData2,@ceaseTradingCacheUnusable"/>
  450.     <event name="@updateAppData2" ppi="EvaluateSCOTenderOptions" next=",@transactionSigningInitialisation"/>
  451.     <event name="@transactionSigningInitialisation" ppi="TransactionSigningInitialisation" next="@ceaseTradingSystemValidationFailed,@checkApplicationFingerprint"/>
  452.     <event name="@checkApplicationFingerprint" ppi="CheckApplicationFingerprint" next="@ceaseTradingSystemValidationFailed,@checkStoreOpen"/>
  453.     <event name="@ceaseTradingSystemValidationFailed" callSubstate="systemValidation.state" substateNext="0,@transactionSigningInitialisation"/>
  454.     <event name="@ceaseTradingCacheUnusable" callSubstate="cacheUnusableCeaseTrading.state" substateNext="0,@posAppInit"/>
  455.     <event name="@waitStoreOpen" ppi="WaitStoreOpen"/>
  456.     <event name="WaitStoreOpen" next="@checkStoreOpen"/>
  457.     <event name="@checkStoreOpen" ppi="CheckStoreOpen" next="@waitStoreOpen,@startTill,serverError"/>
  458.     <event name="Keyboard.Esc"/>
  459.     <event name="@startTill" ppi="StartTill" next="@waitStoreOpen,@cacheUtilities"/>
  460.     <event name="@cacheUtilities" ppi="CacheUtilities" next=",@checkCacheStatus"/>
  461.     <event name="@checkCacheStatus" ppi="CheckCacheStatus"  next="@ceaseTradingNoOptions,@checkCacheVersion"/>
  462.     <event name="@checkCacheVersion" permission="CheckCacheVersionNoTimer" permissionFail="logonInit" ppi="CheckCacheVersionNoTimer" next="@badCacheVersion,logonInit"/>
  463.     <event name="@badCacheVersion" callSubstate="badCacheVersionPreSale.state" substateNext="0,@ceaseTrading,logonInit,@ceaseTradingNoOptions"/>
  464.     <event name="@ceaseTrading" callSubstate="badCacheVersionCeaseTrading.state" substateNext="0,logonInit"/>
  465.     <event name="@ceaseTradingNoOptions" callSubstate="badCacheVersionCeaseTradingNoOptions.state" substateNext="0,logonInit"/>
  466.     <event name="Cache" ppi="CacheUtilities"/>
  467.     <event name="@continue" next="@init"/>
  468.  
  469.     <!-- Overriden - don't call @continue -->
  470.     <event name="Error.DeviceStartup" ppi="DeviceStartupErrorHandler" next="0,"/>
  471.   </state>
  472.  
  473.   <state name="refund" page="left.phtm,right.phtm" frame="leftFrame,rightFrame" like="sale">
  474.     <event name="Init" ppi="RefundInit" next="startSale,"/>
  475.     <event name="Keyboard.F7" ppi="CancelQuantity" next="@total,@total,@total"/>
  476.     <event name="@total" ppi="Total" next=",tenderSelect,change,tenderSelect,@noLinesToTender"/>
  477.     <event name="@noLinesToTender" ppi="DisplayMessageBoxNoLinesToTender"/>
  478.     <event name="Keyboard.F15" permission="CustomerLoyalty" callSubstate="customerloyaltysale.state" substateNext="0,"/>
  479.     <event name="Keyboard.customerLoyalty" permission="CustomerLoyalty" callSubstate="customerloyaltysale.state" substateNext="0,"/>
  480.     <event name="Keyboard.F16"/>
  481.     <data name="priceOverride" calculate="PriceOverride"/>
  482.     <data name="priceEnquire" calculate="PriceEnquire"/>
  483.     <data name="escKey" value="10"/>
  484.     <data name="logoff" calculate="CheckNoTrans"/>
  485.     <data name="manager" calculate="CheckNoTrans"/>
  486.     <data name="total" calculate="Total"/>
  487.     <data name="help" value="10"/>
  488.     <data name="web" value="10"/>
  489.   </state>
  490.  
  491.   <include file="accountTender.state"/>
  492.  
  493.   <include file="tender.state"/>
  494.  
  495.   <state name="tenderSelect">
  496.     <event name="Init" next="@tenderSelectProperty"/>
  497.     <event name="@tenderSelectProperty" ppi="TenderSelectProperty" next="tender,tenderNoDefault,customizeTender"/>
  498.   </state>
  499.  
  500.   <state name="tenderNoDefault" prompt="SelectTenderType" picture="%e" like="tender">
  501.       <event name="Keyboard.Enter" next="tenderNoDefault"/>
  502.       <event name="Keyboard.cashTenderAmount" next="tenderCashSelected"/>
  503.       <event name="@createRoundingTenderPPI" permission="ClearRoundingTenderPPI" permissionFail="@checkRecallPaycard" ppi="ClearRoundingTenderPPI" next="@checkRecallPaycard,@checkRecallPaycard"/>
  504.       <event name="@resetRoundingTender" permission="ClearRoundingTenderPPI" ppi="ClearRoundingTenderPPI" next=""/>
  505.       <data name="cashTenderAmount" value="10"/>
  506.   </state>
  507.  
  508.   <state name="customizeTender" prompt="SelectTenderType" picture="%e" like="tenderNoDefault">
  509.       <event name="Keyboard.Enter" next="customizeTender"/>
  510.       <data name="cashTenderAmount" calculate="AvailableRefundTender"/>
  511.       <event name="Keyboard.changeTenderType" permission="ChangeTenderType" ppi="ChangeTenderType" next=",tenderSelect"/>
  512.       <event name="@createRoundingTenderPPI" permission="ClearRoundingTenderPPI" permissionFail="@checkRecallPaycard" ppi="ClearRoundingTenderPPI" next="@checkRecallPaycard,@checkRecallPaycard"/>
  513.       <event name="@resetRoundingTender" permission="ClearRoundingTenderPPI" ppi="ClearRoundingTenderPPI" next=""/>
  514.    </state>
  515.  
  516.   <state name="tenderCashSelected" like="tender">
  517.       <event name="Keyboard.Esc" next="tenderSelect"/>
  518.       <event name="Keyboard.cancel" next="tenderSelect"/>
  519.       <event name="Keyboard.Enter" ppi="CashTenderNoDefault" next="tenderCashSelected,tenderSelect,change"/>
  520.       <event name="Keyboard.changeTenderType" permission="ChangeTenderType" ppi="ChangeTenderType" next=",tender"/>
  521.       <data name="cashTenderAmount" value="0"/>
  522.       <data name="voidSelectedTender" value="0"/>
  523.       <data name="staffSale" value="0"/>
  524.       <data name="Cash" value="0"/>
  525.       <data name="CardCheque" value="0"/>
  526.       <data name="Discounts" value="0"/>
  527.       <data name="Foreign" value="0"/>
  528.       <data name="Voucher" value="0"/>
  529.       <data name="Coupon" value="0"/>
  530.       <data name="Other" value="0"/>
  531.   </state>
  532.  
  533.   <state name="CTMTender" prompt="UseCTM" picture="%q" page="tenderCTMLeft.phtm" frame="leftFrame">
  534.       <event name="Init" ppi="cashPaymentAudioClip" next=",@checkForRefund"/>
  535.       <event name="@checkForRefund" ppi="TotalsGateway" next="@initScreen,@initScreen,@initScreen,CTMGiveChange"/>
  536.       <event name="@initScreen" ppi="InitCTMDeposit" />
  537.      
  538.       <event name="BillAcceptor" ppi="RecordCTMDeposit"/>
  539.       <event name="BillAcceptorComplete" next ="@recordTenderAndExit"/>      
  540.  
  541.       <event name="Keyboard.backToTender" next ="@recordTenderAndExit"/>
  542.       <data name="backToTender" value="10"/>
  543.      
  544.       <event name="@recordTenderAndExit"  ppi="RecordCTMTender" next="tenderSelect,tenderSelect,change"/>
  545.   </state>
  546.  
  547.   <state name="baseTender" prompt="EnterAmount" picture="%q" page="tenderLeft.phtm,tender.phtm" frame="leftFrame,rightFrame">
  548.     <event name="Init" next="@recalculateCoupons"/>
  549.     <event name="@recalculateCoupons" callSubstate="recalculateCoupons.state" substateNext="@ProcessUpSellsConcatenated,@ProcessUpSellsConcatenated,@ProcessUpSellsConcatenated"/>
  550.     <event name="@ProcessUpSellsConcatenated" ppi="ProcessUpSellsConcatenated" next="@recalulateTotalLine,@recalulateTotalLine"/>
  551.     <event name="@recalulateTotalLine" ppi="TotalLineSupport" next="@createRoundingTenderPPI,@createRoundingTenderPPI"/>
  552.     <event name="@createRoundingTenderPPI" permission="CreateRoundingTenderPPI" permissionFail="@pinpadEJUpdates" ppi="CreateRoundingTenderPPI" next="@pinpadEJUpdates,@pinpadEJUpdates"/>
  553.     <event name="@pinpadEJUpdates" permission="LineItemDisplayPPI" permissionFail="@checkRecallPaycard" ppi="LineItemDisplayPPI" next="@checkRecallPaycard,@checkRecallPaycard"/>
  554.     <event name="@checkRecallPaycard" ppi="CheckRecallPaycard" next="@autoRefundConfigured,@cardPayment"/>
  555.     <event name="@autoRefundConfigured" ppi="IsAutoRefundConfigured" next=",@autoCardRefund"/>
  556.     <event name="@initialCard" ppi="DisplayInitialCard"/>
  557.  
  558.     <!-- Target for override by CHM in tender.state -->
  559.     <event name="@autoCardRefund"/>
  560.  
  561.     <event name="@cardPayment"/>
  562.  
  563.     <!-- card payment return values-->
  564.  
  565.     <event name="@paymentExit" next="@initialCard"/>
  566.     <event name="@paymentFail" next="@initialCard"/>
  567.     <event name="@paymentCompleteBalanceRemaining" next="@initialCard"/>
  568.     <event name="@paymentCompleteBalanceCleared" next="change"/>
  569.     <event name="@paymentSuspended" next="startSale"/>
  570.  
  571.     <event name="@cardVoided"/>
  572.     <event name="@cardVoided0"/>
  573.     <event name="@cardVoided1"/>
  574.  
  575.     <event name="Scanner" permission="CheckLotteryTrans" ppi="ScannedGiftCardCheck" next=",@giftCardTenderKeyed,@scannedCouponCheck"/>
  576.     <event name="@scannedCouponCheck" ppi="ScannedCouponCheck" next="@scannedCardCheck,@voucher,@validateManufacturerCoupon"/>
  577.     <event name="@scannedCardCheck" ppi="ScannedCardCheck" next=",,@scannedGiftVoucherCheck"/>
  578.     <event name="@scannedGiftVoucherCheck" ppi="ScannedGiftVoucherCheck" next="@barcodeRouterTender,@giftVoucher,"/>
  579.     <event name="@barcodeRouterTender" ppi="BarcodeRouter" next=",,@invalidScanInTender,,@invalidScanInTender,,,"/>
  580.     <event name="BarcodeRouterSupport.BasicItemBarcode" next="@basicItem"/>
  581.     <event name="BarcodeRouterSupport.OfferCodeBarcode"  next="@basicItem"/>
  582.     <event name="BarcodeRouterSupport.LoyaltyCardBarcode" next="@loyaltyCardScannedDuringTender"/>
  583.     <event name="BarcodeRouterSupport.PromotionalCouponBarcode" permission="PromotionCoupons" permissionFail="@invalidScanInTender" ppi="PromotionCoupons"/>
  584.     <event name="@basicItem" permission="ScanItemInTenderConfigCheck" ppi="ScanItemInTenderPPI" permissionFail="@invalidScanInTender" next=",@cancelTender"/>
  585.     <event name="@error" ppi="PartialTenderError" next=""/>
  586.     <event name="@invalidScanInTender" ppi="InvalidScanInTender"/>
  587.     <event name="EJ"/>
  588.     <event name="CustEJ"/>
  589.     <event name="SIPSEJ"/>
  590.     <event name="Keyboard.Enter" ppi="CashTenderNoDefault" next=",,change"/>
  591.  
  592.     <!-- Normal cash tendering -->
  593.     <!--<event name="Keyboard.F27" next="@cashTender"/>
  594.     <event name="Keyboard.cashTender" next="@cashTender"/>
  595.     <event name="@cashTender" ppi="CashTender" next=",,change"/>
  596.     <event name="Keyboard.tender50" ppi="CashTender50" next=",,change"/>
  597.     <event name="Keyboard.tender20" ppi="CashTender20" next=",,change"/>
  598.     <event name="Keyboard.tender10" ppi="CashTender10" next=",,change"/>
  599.     <event name="Keyboard.tender5" ppi="CashTender5" next=",,change"/>
  600.     <data name="tender50" calculate="CashTender50"/>
  601.     <data name="tender20" calculate="CashTender20"/>
  602.     <data name="tender10" calculate="CashTender10"/>
  603.     <data name="tender5" calculate="CashTender5"/>-->
  604.  
  605.     <include file="fuelTender.state" exclude="beanstore.reducedMemoryMode.fuelOff"/>
  606.  
  607.     <!-- Dynamic cash tendering -->
  608.     <event name="Keyboard.cashTender" permission="CashTender" ppi="CashTender" next=",,change"/>
  609.     <event name="Keyboard.cashTender2" permission="CashTender2" ppi="CashTender2" next=",,change"/>
  610.     <event name="Keyboard.cashTender3" permission="CashTender3" ppi="CashTender3" next=",,change"/>
  611.     <event name="Keyboard.cashTender4" permission="CashTender4" ppi="CashTender4" next=",,change"/>
  612.     <event name="Keyboard.cashTender5" permission="CashTender5" ppi="CashTender5" next=",,change"/>
  613.     <data name="cashTender" calculate="CashTender,AvailableRefundTender"/>
  614.     <data name="cashTender2" calculate="AvailableRefundTender,CashTender2"/>
  615.     <data name="cashTender3" calculate="AvailableRefundTender,CashTender3"/>
  616.     <data name="cashTender4" calculate="AvailableRefundTender,CashTender4"/>
  617.     <data name="cashTender5" calculate="AvailableRefundTender,CashTender5"/>
  618.  
  619.     <event name="Keyboard.cashTenderAmount" next="tender"/>
  620.  
  621.     <event name="Keyboard.giftCardTender" permission="GiftCardExternalCaptureConfigPPI" permissionFail="@giftCardTender" next="@externalCaptureGiftCardTender"/>
  622.     <event name="@giftCardTender" permission="ClearRoundingTenderPPI" permissionFail="@applyValueCard" ppi="ClearRoundingTenderPPI" next="@applyValueCard,@applyValueCard"/>
  623.     <event name="Keyboard.externalCaptureGiftCardTender" next="@externalCaptureGiftCardTender"/>
  624.     <event name="@externalCaptureGiftCardTender" permission="ClearRoundingTenderPPI" permissionFail="@giftCardTenderScanned" ppi="ClearRoundingTenderPPI" next="@giftCardTenderScanned,@giftCardTenderScanned"/>
  625.     <data name="externalCaptureGiftCardTender" calculate="AvailableRefundTender,AvailableGiftCardTender"/>
  626.     <event name="@applyValueCard"   callSubstate="valueCardTender.substate" substatenext="@resetRoundingTender,@resetRoundingTender,change,@giftCardTenderKeyed,@giftCardTenderScanned"/>
  627.     <data name="giftCardTender" calculate="AvailableRefundTender,AvailableGiftCardTender"/>
  628.     <event name="@giftCardTenderKeyed" permission="CheckLotteryTrans" ppi="GiftCardTenderKeyed" next=",@resetPreSwipData,change,@suspendNoConfirm,giftCardAsChange"/>
  629.     <event name="@giftCardTenderScanned" permission="CheckLotteryTrans" ppi="GiftCardTenderScanned" next=",@resetPreSwipData,change,@suspendNoConfirm,giftCardAsChange"/>
  630.     <event name="@resetPreSwipData" ppi="PreSwipeResetPPI" next="@initialCard,@initialCard"/>
  631.  
  632.     <data name="snapEbtCardTender" calculate="EbtCardPPI,AvailableRefundTender"/>
  633.     <event name="Keyboard.snapEbtCardTender"  next="@ebtPayment"/>
  634.     <event name="@ebtPayment" comment="DO NOT change this, as this is just stub. Definition in tender.state"/>
  635.  
  636.     <data name="paperWICTender" calculate="PaperWICTender,AvailableRefundTender"/>
  637.     <event name="Keyboard.paperWICTender" permission="PaperWICTender" ppi="PaperWICTender" next="@resetRoundingTender,@resetRoundingTender,change"/>
  638.     <event name="Keyboard.electronicWICTender" ppi="ElectronicWICTender" next="@eWicTransaction"/>
  639.     <event name="Keyboard.eWICBalanceInquiry" next="@eWicTransaction"/>
  640.     <event name="@eWicTransaction" callSubstate="eWic.state"/>
  641.     <data name="electronicWICTender" calculate="ElectronicWICTender,AvailableRefundTender" />
  642.     <data name="eWICBalanceInquiry" calculate="ElectronicWICTender,AvailableRefundTender" />
  643.    
  644.     <data name="otcCardTender" calculate="OtcPayment"/>
  645.     <event name="Keyboard.otcCardTender" permission="OtcPayment" callSubstate="otcCardTender.state" substateNext=",@processOtcTender"/>
  646.     <event name="@processOtcTender" comment="DO NOT change this, as this is just stub. Definition in tender.state"/>
  647.    
  648.     <data name="payPalTender" calculate="PayPalTender,FailedEpasTenders"/>
  649.  
  650.     <event name="Keyboard.payPalTender" next="@calculatePayPalRefunds" />
  651.     <event name="@calculatePayPalRefunds" ppi="CalculateOnlineSaleRefundValuePPI" next="@payPalTender,@payPalRefundTender,,@amendOrderNumber" />
  652.     <event name="@calculatePayPalRefundsAfterAmend" ppi="CalculateOnlineSaleRefundValueWithExistingTenders" next="@payPalTender,@payPalRefundTender,,@amendOrderNumber" />
  653.     <event name="@amendOrderNumber" ppi="OnlineSaleRefundPPI" next=",@calculatePayPalRefundsAfterAmend"/>
  654.  
  655.     <event name="@payPalTender" ppi="PayPalTender" next=",,change"/>
  656.     <event name="@payPalRefundTender" ppi="PayPalRefundTender" next=",,change"/>
  657.  
  658.     <data name="brandedHealthCardTender" calculate="CheckCardAuthorization,FsaCard,AvailableRefundTender"/>
  659.     <event name="Keyboard.brandedHealthCardTender" next="@brandedHealthCardTender"/>
  660.     <event name="@brandedHealthCardTender" comment="DO NOT change this, as this is just stub. Definition in tender.state"/>
  661.  
  662.     <event name="Keyboard.F24" permission="GiftVoucherTender" next="@giftVoucher"/>
  663.     <event name="Keyboard.giftVoucherTender" next="@giftVoucher"/>
  664.     <event name="Keyboard.F14" permission="GiftVoucherTender" next="@giftVoucherTenderList"/>
  665.     <event name="Keyboard.giftVoucherTenderList" next="@giftVoucherTenderList"/>
  666.     <event name="Keyboard.F17" permission="CheckLotteryTrans" ppi="GiftVoucherT5" next="@resetRoundingTender,@resetRoundingTender,change"/>
  667.     <event name="Keyboard.F18" permission="CheckLotteryTrans" ppi="GiftVoucherT10" next="@resetRoundingTender,@resetRoundingTender,change"/>
  668.     <event name="@voucher" permission="CheckLotteryTrans" ppi="VoucherTender" next="@resetRoundingTender,@resetRoundingTender,change"/>
  669.     <event name="@giftVoucher" permission="CheckLotteryTrans" ppi="GiftVoucherTender" next="@resetRoundingTender,@resetRoundingTender,change"/>
  670.     <event name="@giftVoucherTenderList" permission="CheckLotteryTrans" ppi="GiftVoucherTenderList" next="@resetRoundingTender,@resetRoundingTender,change"/>
  671.     <event name="Keyboard.giftVoucherTenderMediaList" next="@giftVoucherTenderMediaList"/>
  672.     <event name="@giftVoucherTenderMediaList" permission="CheckLotteryTrans" ppi="GiftVoucherTenderMediaList" next="@resetRoundingTender,@resetRoundingTender,change"/>
  673.     <!-- coupons/vouchers -->
  674.     <!--event name="Keyboard.voucherTender" ppi="VoucherTender" next=",,change"-->
  675.     <event name="Keyboard.supplierCoupon" permission="SupplierCoupon,DisableFunctionAfterTender" ppi="SupplierCoupon" next=",,change,giftCardAsChange"/>
  676.     <event name="Keyboard.newsCoupon" permission="NewsCouponTender,DisableFunctionAfterTender" ppi="NewsCouponTender" next=",,change"/>
  677.     <event name="Keyboard.postalOrder" permission="DisableFunctionAfterTender" ppi="PostalOrderTender" next=",,change"/>
  678.     <event name="Keyboard.milkTokens" permission="DisableFunctionAfterTender" ppi="MilkTokenTender" next=",,change"/>
  679.     <event name="Keyboard.savingStamps" ppi="SavingsStampsTender" next=",,change"/>
  680.     <event name="Keyboard.luncheonVouchers" ppi="LuncheonVoucherTender" next=",,change"/>
  681.     <event name="Keyboard.carParkVouchers" ppi="CarParkVoucherTender" next=",,change"/>
  682.     <event name="Keyboard.productVoucher" ppi="ProductVoucherTender" next=",,change"/>
  683.     <event name="Keyboard.visaVoucher" ppi="VisaVoucherTender" next=",,change"/>
  684.     <event name="Keyboard.eCoupon" permission="LoyaltyElectronicCoupon" callSubstate="ecouponView.state"/>
  685.     <data name="eCoupon" calculate="LoyaltyElectronicCoupon"/>
  686.  
  687.     <!-- Cash Voucher Tender -->
  688.     <event name="Keyboard.cashVoucher" permission="ClearRoundingTenderPPI" permissionFail="@applyCashVoucherCoupon" ppi="ClearRoundingTenderPPI" next="@applyCashVoucherCoupon,@applyCashVoucherCoupon"/>
  689.     <event name="@applyCashVoucherCoupon" callSubstate="cashVoucherCouponTender.substate" substateNext=",change,@resetRoundingTender"/>
  690.  
  691.  
  692.     <!-- Supplier coupon tendering -->
  693.     <event name="Keyboard.supplierCouponValue" permission="SupplierCouponValue,DisableFunctionAfterTender"  ppi="SupplierCouponValue" next=",,change,giftCardAsChange"/>
  694.  
  695.     <event name="Keyboard.supplierCouponBarcode" permission="DisableFunctionAfterTender"  ppi="DetermineCouponValidationPPI" next=",@validateLegacySupplierCoupon,@validateManufacturerCoupon"/>
  696.  
  697.     <event name="@validateLegacySupplierCoupon" ppi="EnterLegacyCouponBarcode" next="@tenderLegacySupplierCoupon,@invalidCoupon,,@couponNotAccepted"/>
  698.     <event name="@tenderLegacySupplierCoupon" permission="CheckLotteryTrans" ppi="LegacySupplierCouponTender" next=",,change"/>
  699.  
  700.     <event name="@validateManufacturerCoupon" permission="DisableFunctionAfterTender" ppi="EnterManufacturerCouponBarcode" next="@processValidCoupon,@invalidCoupon,,@couponNotAccepted,@callForHelp"/>
  701.     <event name="@processValidCoupon" callSubState="recalculateCoupons.state" substateNext=",,change"/>
  702.  
  703.     <event name="@invalidCoupon" ppi="InvalidCouponPNP" next=","/>
  704.     <event name="@couponNotAccepted" ppi="SupplierCouponNotAccepted" next=","/>
  705.     <data name="supplierCouponValue" calculate="ManufacturerCouponTender,CheckLotteryTrans,DisableFunctionAfterTender,DisableTendersForFSA"/>
  706.     <data name="supplierCouponBarcode" calculate="ManufacturerCouponTender,CheckLotteryTrans,DisableFunctionAfterTender,DisableTendersForFSA"/>
  707.  
  708.     <event name="Keyboard.F4" ppi="TravelChequeTender" permission="CheckLotteryTrans,TravelChequeTender" next=",,change"/>
  709.     <event name="Keyboard.travelChequeTender" ppi="TravelChequeTender" permission="CheckLotteryTrans,TravelChequeTender" next=",,change"/>
  710.     <event name="Keyboard.chequeTender" permission="ChequeTenderAllowed,CheckLotteryTrans" ppi="DeactivateAutoLogoff" next=",@cheque"/>
  711.     <event name="@cheque" callSubstate="chequePayment.state" substateNext="0,@autoLogoffStart,@autoLogoffStart,@autoLogoffStart,@autoLogoffStartChange"/>
  712.     <event name="@autoLogoffStart" ppi="ActivateAutoLogoff"/>
  713.     <event name="@autoLogoffStartChange" ppi="ActivateAutoLogoff" next=",change"/>
  714.     <event name="Keyboard.F21" ppi="PercentDiscount" permission="CheckLotteryTrans,PercentDiscount,DisableFunctionAfterTender" next=",,change"/>
  715.     <event name="Keyboard.percentDiscount" ppi="PercentDiscount" permission="CheckLotteryTrans,PercentDiscount,DisableFunctionAfterTender" next="@refreshPEDEJDiscount,@refreshPEDEJDiscount,@refreshPEDEJDiscountChange"/>    
  716.     <event name="Keyboard.F22" ppi="ValueDiscount" permission="CheckLotteryTrans,ValueDiscount,DisableFunctionAfterTender" next=",,change"/>
  717.     <event name="Keyboard.valueDiscount" ppi="ValueDiscount" permission="CheckLotteryTrans,ValueDiscount,DisableFunctionAfterTender" next="@refreshPEDEJDiscount,@refreshPEDEJDiscount,@refreshPEDEJDiscountChange"/>
  718.    
  719.     <event name="@refreshPEDEJDiscount" permission="LineItemDisplayPPI" ppi="LineItemDisplayPPI" />
  720.     <event name="@refreshPEDEJDiscountChange" permission="LineItemDisplayPPI" ppi="LineItemDisplayPPI" next="change,change"/>
  721.    
  722.     <event name="Keyboard.staffSale" permission="StaffSalePermission,CheckStaffDiscountAlreadyActive" ppi="CancelTenderForDiscountRetotal" next=",@staffSale,@staffSale"/>
  723.     <event name="@staffSale" callSubstate="staffDiscount.state" substateNext="0,@retotal,@retotal,@retotal"/>
  724.     <event name="@retotal" ppi="Total" next="@resetRoundingTender,@resetRoundingTender,change,@resetRoundingTender,@noLinesToTender"/>
  725.     <event name="@noLinesToTender" ppi="DisplayMessageBoxNoLinesToTender"/>
  726.     <event name="Keyboard.F5" next="@lock"/>
  727.     <event name="Keyboard.tenderLock" next="@lock"/>
  728.     <event name="Keyboard.F8" permission="VoidSelectedTender" ppi="VoidSelectedTender" next=",,"/>
  729.     <event name="Keyboard.voidSelectedTender" permission="VoidSelectedTender" ppi="VoidSelectedTender" next="@resetRoundingTender,@resetRoundingTender,@resetRoundingTender"/>
  730.     <event name="Keyboard.voidTender" ppi="VoidSelectedTender" permission="VoidSelectedTender" next=",,"/>
  731.     <event name="Keyboard.F47" ppi="ReprintReceiptWithTotal" permission="ReprintReceipt"/>
  732.     <event name="Keyboard.reprintReceipt" ppi="ReprintReceiptWithTotal" permission="ReprintReceipt"/>
  733.     <event name="Keyboard.Esc" permission="CancelTender,CancelTenderGiftCardValidator" next="@checkTxnExclusiveVoidItem"/>
  734.     <event name="@voidTenderPromotion" ppi="VoidTenderPromotion" next=",@refreshEJAfterVoid"/>
  735.     <event name="@refreshEJAfterVoid" ppi="RefreshEJPerItem" next="sale,sale"/>
  736.     <event name="Keyboard.cancel" permission="CancelTender,CancelTenderGiftCardValidator" next="@checkTxnExclusiveVoidItem"/>
  737.     <event name="@checkTxnExclusiveVoidItem" ppi="CheckTransactionExclusive" next="@removeOriginalTender,@voidTxnExclusiveTransaction"/>
  738.     <event name="@voidTxnExclusiveTransaction" ppi="VoidTxnExclusiveTransaction" next=",startSale"/>
  739.  
  740.     <event name="@removeOriginalTender" ppi="RemoveOriginalTenderPPI" next=",@cancelTender"/>
  741.     <event name="@cancelTender" ppi="CancelTender" next=",refund,@voidTenderPromotion,extendedRefund,sale"/>
  742.     <event name="Keyboard.customerLoyalty" callSubstate="customerloyaltysale.state" substateNext="0,"/>
  743.     <event name="Keyboard.transactionSuspend" next="@suspend"/>
  744.     <event name="@suspend" ppi="TransactionSuspend" permission="TransactionSuspend,CheckSeqrSuspendTrans" next=",startSale,@deactivateAutoLogoffNameCapture"/>
  745.     <event name="@suspendNoConfirm" ppi="TransactionSuspendNoConfirm" permission="TransactionSuspend" next=",startSale,@deactivateAutoLogoffNameCapture"/>
  746.     <event name="@deactivateAutoLogoffNameCapture" ppi="DeactivateAutoLogoff" next=",@nameCapture"/>
  747.     <event name="@nameCapture" callSubstate="CustomerCaptureChoice.state" substateNext=",@suspend"/>
  748.     <event name="Keyboard.voidTransaction" ppi="VoidTransaction" permission="VoidTransaction" next=",startSale"/>
  749.     <event name="Keyboard.transactionRecall" permission="TransactionRecall" next="recall"/>
  750.     <event name="Keyboard.printLastReceipt" ppi="PrintLastReceipt" permission="PrintLastReceipt"/>
  751.  
  752.     <event name="Keyboard.customerAddress" ppi="DeactivateAutoLogoff" next=",@customerAddress"/>
  753.     <event name="@customerAddress" callSubstate="NameAddress.state" substateNext="@autoLogoffStart2,@autoLogoffStart2,@saveCustomerAddress"/>
  754.  
  755.     <event name="@saveCustomerAddress" ppi="AddCustomerInfoPPI" next="@clearCustomerAddress,@clearCustomerAddress"/>
  756.     <event name="@clearCustomerAddress" ppi="ClearCustomerInfoPPI" next="@autoLogoffStart2,@autoLogoffStart2"/>
  757.     <data name="customerAddress" calculate="NameAddressCaptureComputation, AddressCaptureButtonEnabled"/>
  758.  
  759.     <!-- Store Card Payment-->
  760.     <data name="storeCard" calculate="(CheckStoreCardPresentInTransaction AND CheckStorePaymentCardType) OR AccountTenderButtonEnabled"/>
  761.     <event name="Keyboard.storeCard" ppi="StoreCardTenderFlowConfiguration AND AccountTenderButtonEnabled" next="@checkStorePaymentCardType,@digitalProfileTenderAmountCapture"/>
  762.  
  763.     <!-- Store Card Payment Original Flow -->
  764.     <event name="@checkStorePaymentCardType" ppi="CheckStorePaymentCardType" next="@resetStoreCardData,@captureStoreCardTenderAmount,@customerAccountsSelectionForm"/>
  765.     <event name="@customerAccountsSelectionForm" callSubstate="customerAccountSelection.state" substateNext="@resetStoreCardData,@captureStoreCardTenderAmount,@resetStoreCardData"/>
  766.     <event name="@captureStoreCardTenderAmount" ppi="CaptureStoreCardTenderAmount" next="@resetStoreCardData,@authoriseStoreCard"/>
  767.     <event name="@authoriseStoreCard" ppi="AuthoriseStoreCard" next="@resetStoreCardData,@doStoreCardTender,@printStoreCardSlip"/>
  768.     <event name="@printStoreCardSlip" ppi="PrintStoreCardSlip" next="@signatureNotVerified,@signatureVerified"/>
  769.     <event name="@signatureNotVerified" ppi="AuthoriseStoreCardSignatureNotVerified" next="@resetStoreCardData,@doStoreCardTender,@printStoreCardSlip"/>
  770.     <event name="@signatureVerified" ppi="AuthoriseStoreCardSignatureVerified" next="@resetStoreCardData,@doStoreCardTender,"/>
  771.     <event name="@doStoreCardTender" ppi="StoreCardTender" next="@resetStoreCardData,,change"/>
  772.     <event name="@resetStoreCardData" ppi="ResetStoreCardData" next=",tenderSelect"/>
  773.  
  774.     <!-- Store Card Payment Enhanced Flow -->
  775.     <event name="@digitalProfileTenderAmountCapture" ppi="CaptureLoyaltyTenderAmount" next=",@digitalProfileAuthorizeStoreCardAccountPayment"/>
  776.     <event name="@digitalProfileAuthorizeStoreCardAccountPayment" ppi="AuthorizeStoreCardAccountPayment" next=",@digitalProfileSignatureCapture"/>
  777.     <event name="@digitalProfileSignatureCapture" permission="AllowStoreCardAccountTenderSignatureCapture" permissionFail="@digitalProfileAccountTender" callSubstate="signatureCapture.state" substateNext="@voidDigitalProfileAccountPayment,@digitalProfileAccountTender"/>
  778.     <event name="@voidDigitalProfileAccountPayment" ppi="VoidStoreCardAccountPayment" next="@digitalProfileAccountTender,"/>
  779.     <event name="@digitalProfileAccountTender" ppi="StoreCardAccountTender" next=",,change"/>
  780.  
  781.  
  782.  
  783.     <event name="Keyboard.accountTender"  permission="AccountTenderPermission" next="@clearRoundingTender"/>
  784.     <event name="@clearRoundingTender"  permission="ClearRoundingTenderPPI" permissionFail="@accountTenderMode" ppi="ClearRoundingTenderPPI" next="@accountTenderMode,@accountTenderMode"/>
  785.     <event name="@accountTenderMode" permission="UseTransactionCustomerForAccounts" permissionFail="@accountTender" ppi="UseTransactionCustomerForAccounts" next="@activeAccountOnly2,@customerCardCapture"/>
  786.     <event name="@activeAccountOnly2" ppi="DeactivateAutoLogoff" next=",@setActiveAccountsOnly"/>
  787.     <event name="@customerCardCapture" callSubstate="customerCardCapture.state" substateNext="0,@setActiveAccountsOnly,@selectAccount,@customerAddress,@recalculateCoupons,@accountTender"/>
  788.     <event name="@autoLogoffStart2" ppi="ActivateAutoLogoff" next="@accountTender,@accountTender,@accountTender"/>
  789.     <event name="@setActiveAccountsOnly" ppi="SetActiveAccountsOnly" next="@selectAccount,@selectAccount"/>
  790.     <event name="@selectAccount" callSubstate="selectAccount.state" substateNext="0,@autoLogoffStart,@accountTenderAutoLogoffStart"/>
  791.     <event name="@accountTenderAutoLogoffStart" ppi="ActivateAutoLogoff" next="@accountTender,@accountTender"/>
  792.     <event name="@accountTender" callSubstate="invoicePayment.state" substateNext="@resetRoundingTender,@resetRoundingTender,change,@voidLastTenderNotChange"/>
  793.    
  794.     <event name="@voidLastTenderNotChange" ppi="VoidLastTenderNotChange"/>
  795.  
  796.     <event name="Keyboard.newsAccountTender" permission="NewsAccountTender,NewsEnabledSupport" ppi="DeactivateAutoLogoff" next=",@initNewsAccountTender"/>
  797.     <event name="@initNewsAccountTender" ppi="InitTenderCustomerAccountSubTypes" next=",@newsAccount"/>
  798.     <event name="@newsAccount" callSubstate="newsAccount.state" substateNext="0,@autoLogoffStart,@invoicePaymentAutoLogoffStart"/>
  799.     <event name="@invoicePaymentAutoLogoffStart" ppi="ActivateAutoLogoff" next="@invoicePayment,@invoicePayment"/>
  800.     <event name="@invoicePayment" callSubstate="invoicePayment.state" substateNext=",,change"/>
  801.     <event name="@resetRoundingTender" permission="CreateRoundingTenderPPI" ppi="CreateRoundingTenderPPI" next=""/>
  802.     <event name="Keyboard.foreignCurrencyTender" permission="ForeignCurrencyTender" ppi="ForeignCurrencyTender" next=",,change"/>
  803.  
  804.     <event name="Keyboard.loyaltyCardTender" ppi="LoyaltyCardTenderFlowChecker" next="@captureCardInTenderMode,@loyaltyCardTender"/>
  805.     <event name="@captureCardInTenderMode" ppi="LoyaltyCardTenderMode" next=",@promptForNoPromotions"/>
  806.     <event name="@promptForNoPromotions" ppi="LoyaltyCaptureDuringTenderPrompt" next=",@captureCard"/>
  807.     <event name="@captureCard" callSubstate="loyalty.state" substateNext=",,@loyaltyCardTender"/>
  808.     <event name="@loyaltyCardTender" ppi="LoyaltyCardTender" next=",@signatureVerificationPartialTender,@signatureVerificationBalancePaid"/>
  809.     <event name="@signatureVerificationPartialTender" ppi="SignatureVerificationRequired"/>
  810.     <event name="@signatureVerificationBalancePaid" ppi="SignatureVerificationRequired" next=",change"/>
  811.     <event name="Keyboard.F2"/>
  812.  
  813.     <event name="Keyboard.specialTenderType" ppi="SpecialTender" permission="CheckLotteryTrans,SpecialTender" next=",,change"/>
  814.  
  815.     <event name="Keyboard.seqrPayment" ppi="SeqrTenderRouter" next=",@seqrRefund,@seqrPayment"/>
  816.  
  817.     <!-- Auto-add scanned loyalty card to transaction -->
  818.     <event name="@loyaltyCardScannedDuringTender" ppi="SetLoyaltyValues" next=",@getLoyaltyCard"/>
  819.     <event name="@getLoyaltyCard" callSubstate="loyalty.state"/>
  820.  
  821.     <!-- Customer Language -->
  822.     <event name="Keyboard.selectCustomerLanguage" ppi="SelectCustomerLanguage"/>
  823.     <data name="selectCustomerLanguage" value="10"/>
  824.  
  825.     <!-- SEQR Payment -->
  826.     <event name="@seqrPayment" permission="SeqrPayment" permissionFail="@clearSeqr" ppi="SeqrPayment" next="@clearSeqr,@submitPaymentReceipt,@submitPaymentReceiptChange"/>
  827.     <event name="@submitPaymentReceipt" ppi="SubmitPaymentReceipt" next="@clearSeqr,@clearSeqr"/>
  828.     <event name="@submitPaymentReceiptChange" ppi="SubmitPaymentReceipt" next="@changeAndClearSeqr,@changeAndClearSeqr" />
  829.  
  830.     <!-- SEQR Refund -->
  831.     <event name="@seqrRefund" permission="SeqrPaymentRefund" permissionFail="@clearSeqr" ppi="SeqrPaymentRefund" next="@clearSeqr,@clearSeqr,@changeAndClearSeqr"/>
  832.  
  833.     <event name="@clearSeqr" ppi="ClearTransactionSeqr"/>
  834.     <event name="@changeAndClearSeqr" ppi="ClearTransactionSeqr" next=",change"/>
  835.  
  836.     <!-- MI Vouchers -->
  837.     <event name="Keyboard.miVoucherProcess" ppi="MIVoucherProcessPPI" next=",@addMIVoucher"/>
  838.     <event name="@addMIVoucher" ppi="MIVoucherAdd" next=",,change"/>
  839.    
  840.     <event name="Keyboard.loyaltyStoredValue"  permission="LoyaltyStoredValuedPermission" next=","/>
  841.  
  842.     <!-- Transaction Comments -->
  843.     <event name="Keyboard.transactionCommentsTender" permission="TransactionCommentsTenderPermission" next="@startTransactionComments"/>
  844.     <event name="@startTransactionComments" callSubState="TransactionComments.state"/>
  845.     <data name="transactionCommentsTender" value="10" />
  846.  
  847.     <!-- Remote Event Service -->
  848.     <event name="Keyboard.remoteEventManagement" permission="DisplayRemMenuButtonPPI" ppi="DeactivateAutoLogoff" next=",@remoteEventManagement"/>
  849.     <event name="@remoteEventManagement" callSubstate="RemItemImages.state" substateNext="@autoLogoffStart,@autoLogoffStart,@autoLogoffStart"/>
  850.  
  851.     <!-- Self-Checkout specific events -->
  852.     <event name="Keyboard.scoCallForHelp" next="@manualCallForHelp"/>
  853.     <event name="@manualCallForHelp" ppi="AmberBlinkLight" next="@callForHelpAudio,@callForHelpAudio"/>
  854.     <event name="@callForHelpAudio" ppi="callForHelpAudioClip" next=",@callForHelpMsg"/>
  855.     <event name="@callForHelpMsg" ppi="ManualCallForHelp" next="@greenLight,@greenLight"/>
  856.     <event name="@greenLight" ppi="GreenLight"/>
  857.  
  858.     <event name="@callForHelp" ppi="AmberBlinkLight" next="@sysCallForHelpAudio,@sysCallForHelpAudio"/>
  859.     <event name="@sysCallForHelpAudio" ppi="callForHelpAudioClip" next=",@sysCallForHelpMsg"/>
  860.     <event name="@sysCallForHelpMsg" ppi="CallForHelp" next="@sysGreenLight,@sysGreenLight"/>
  861.     <event name="@sysGreenLight" ppi="GreenLight" next="@switchToSupportOperator,@switchToSupportOperator"/>
  862.    
  863.    
  864.     <event name="Keyboard.scanAdditionalItems" ppi="GreenLight" next="@Keyboard.Esc,@Keyboard.Esc"/>
  865.     <event name="Keyboard.scoHandoverTxn" ppi="GreenLight" next="@switchToSupportOperator,@switchToSupportOperator"/>
  866.     <event name="@switchToSupportOperator" callSubstate="switchToSupportOperator.state" substateNext="@tenderSelect,startSaleEx"/>
  867.     <event name="Keyboard.returnToSco" callSubstate="switchToSco.state" substateNext="@redrawEJ,@tenderSelect"/>
  868.     <event name="Keyboard.scoLoyaltyCardTender" ppi="loyaltyPaymentAudioClip" next=",@LoyaltyCardTenderSelfCheckout"/>
  869.     <event name="Keyboard.scoLoyaltyCardTenderSmall" ppi="loyaltyPaymentAudioClip" next=",@LoyaltyCardTenderSelfCheckout"/>
  870.     <event name="Keyboard.scoCTMCashTender" next="CTMTender"/>
  871.     <event name="Keyboard.scoPayCardTender" permission="CheckCardAuthorization,CustomerPresentTransaction,CheckAvailableTender" ppi="CustomerPresentTransaction" next="@payWithCardAudio,@payWithCardAudio"/>
  872.     <event name="@payWithCardAudio" ppi="pinpadPaymentAudioClip" next=",@eftPayments"/>
  873.     <event name="@LoyaltyCardTenderSelfCheckout" ppi="LoyaltyCardTenderSelfCheckout" next=",@signatureVerificationPartialTender,@signatureVerificationBalancePaid"/>
  874.     <event name="@tenderSelect" ppi="RefreshEJFull" next=",tenderSelect"/>
  875.     <event name="@redrawEJ" ppi="RefreshEJFull"/>
  876.     <data name="scoCallForHelp" value="10"/>
  877.     <data name="scoHandoverTxn" value="10"/>
  878.     <data name="scanAdditionalItems" calculate="SelfCheckoutCancelTender"/>
  879.     <data name="returnToSco" calculate="ReturnToScoPPI"/>
  880.     <data name="scoLoyaltyCardTender" calculate="LoyaltyCardTenderSelfCheckout,CheckForTrainingMode,AvailableRefundTender" />
  881.     <data name="scoLoyaltyCardTenderSmall" calculate="LoyaltyCardTenderSelfCheckout,CheckForTrainingMode,AvailableRefundTender" />
  882.     <data name="scoCTMCashTender" calculate="SelfCheckoutCTMChecker"/>
  883.     <data name="scoPayCardTender" calculate="CheckCardAuthorization,CustomerPresentTransaction,CheckAvailableTender"/>
  884.  
  885.     <!-- Set this to 10 to enable miVouchers -->
  886.     <data name="miVoucherProcess" value="0"/>
  887.  
  888.     <data name="accountTender" calculate="PayingAccountGetAccountNo,CheckLotteryTrans,AvailableRefundTender"/>
  889.     <data name="newsAccountTender" calculate="NewsAccountTender,CheckLotteryTrans,NewsEnabledSupport,AvailableRefundTender"/>
  890.     <data name="foreignCurrencyTender" calculate="ForeignCurrencyTender,AvailableRefundTender"/>
  891.     <data name="giftVoucherTenderMediaList" calculate="GiftVoucherTender,CheckLotteryTrans,AvailableRefundTender"/>
  892.     <data name="cashTender" calculate="CashTender,AvailableRefundTender"/>
  893.     <data name="cancel" calculate="CancelTender"/>
  894.     <data name="giftVoucherTender" calculate="GiftVoucherTender,CheckLotteryTrans,AvailableRefundTender"/>
  895.     <data name="giftVoucherTenderList" calculate="GiftVoucherTender,CheckLotteryTrans,AvailableRefundTender"/>
  896.     <data name="visaVoucher" calculate="VisaVoucherTender,CheckLotteryTrans,AvailableRefundTender"/>
  897.     <data name="supplierCoupon" calculate="ManufacturerCouponTender,CheckLotteryTrans,DisableFunctionAfterTender,DisableTendersForFSA"/>
  898.     <data name="newsCoupon" calculate="NewsCouponTender,CheckLotteryTrans,DisableFunctionAfterTender,DisableTendersForFSA"/>
  899.     <data name="postalOrder" calculate="PostalOrderTender,CheckLotteryTrans,DisableFunctionAfterTender"/>
  900.     <data name="milkTokens" calculate="MilkTokenTender,CheckLotteryTrans,DisableFunctionAfterTender"/>
  901.     <data name="savingStamps" calculate="SavingsStampsTender,CheckLotteryTrans"/>
  902.     <data name="luncheonVouchers" calculate="LuncheonVoucherTender,CheckLotteryTrans"/>
  903.     <data name="carParkVouchers" calculate="CarParkVoucherTender,CheckLotteryTrans"/>
  904.     <data name="productVoucher" calculate="ProductVoucherTender,CheckLotteryTrans"/>
  905.     <data name="travelChequeTender" calculate="TravelChequeTender,CheckLotteryTrans"/>
  906.     <data name="chequeTender" calculate="ChequeTenderAllowed,CheckLotteryTrans"/>
  907.     <data name="percentDiscount" calculate="CheckLotteryTrans,PercentDiscount,DisableFunctionAfterTender,DisableTendersForFSA"/>
  908.     <data name="valueDiscount" calculate="CheckLotteryTrans,ValueDiscount,DisableFunctionAfterTender,DisableTendersForFSA"/>
  909.     <data name="staffSale" calculate="StaffSaleButtonEnabled,DisableFunctionAfterTender,DisableTendersForFSA"/>
  910.     <data name="tenderLock" value="10"/>
  911.     <data name="specialTenderType" calculate="SpecialTender"/>
  912.     <data name="voidSelectedTender" calculate="VoidSelectedTender"/>
  913.     <data name="voidTender" calculate="VoidSelectedTender"/>
  914.     <data name="reprintReceipt" calculate="ReprintReceiptWithTotal"/>
  915.     <data name="customerLoyalty" value="10"/>
  916.     <data name="transactionSuspend" calculate="TransactionSuspend,CheckLotteryTrans,IsServerAlive,CheckMoneyOrderItem"/>
  917.     <data name="voidTransaction" calculate="VoidTransaction"/>
  918.     <data name="transactionRecall" calculate="TransactionRecall"/>
  919.     <data name="printLastReceipt" calculate="PrintLastReceipt"/>
  920.     <data name="priceEnquire" calculate="PriceEnquire,CheckMediaExchange"/>
  921.     <data name="escKey" value="10"/>
  922.     <data name="logoff" calculate="CheckNoTrans"/>
  923.     <data name="manager" calculate="CheckNoTrans,CheckMediaExchange"/>
  924.     <data name="total" value="0"/>
  925.     <data name="help" value="10"/>
  926.     <data name="EJ" value="10"/>
  927.     <data name="CustEJ" value="10"/>
  928.     <data name="SIPSEJ" value="10"/>
  929.     <data name="Discounts" value="10"/>
  930.     <data name="remoteEventManagement" calculate="DisplayRemMenuButtonPPI"/>
  931.     <data name="loyaltyCardTender" calculate="LoyaltyButtonsEnabled,LoyaltyCardTenderFlowChecker,LoyaltyCardTender,CheckForTrainingMode,AvailableRefundTender" />
  932.     <data name="changeTenderType" calculate="ChangeTenderType"/>
  933.     <data name="seqrPayment" calculate="SeqrTenderButtonAllowed"/>
  934.     <data name="cashVoucher" calculate="CashVoucherTender,CheckLotteryTrans"/>
  935.  
  936.     <!--event name="Keyboard.imprintFuelCardMsrRefundTender" ppi="ImprintFuelCardMsrRefundTender" next=",,change" comment="event fired by datacash/EndCardTransaction"/-->
  937.  
  938.     <data name="tab1" value="10"/>
  939.     <data name="tab2" value="10"/>
  940.     <data name="tab3" value="10"/>
  941.     <data name="tab4" value="10"/>
  942.     <data name="tab5" value="10"/>
  943.     <data name="tab6" value="10"/>
  944.     <data name="tab7" value="10"/>
  945.  
  946.   </state>
  947.  
  948.   <include file="sale.state"/>
  949.   <include file="fuelItemSale.state" exclude="beanstore.reducedMemoryMode.fuelOff"/>
  950.   <include file="extendedRefund.state"/>
  951.   <include file="rainCheck.state"/>
  952.   <include file="stockAdjustment.state"/>
  953.   <include file="mediaExchange.state"/>
  954.   <include file="moneyTransfer.state"/>
  955.  
  956.   <state name="baseSale" keyboard="keyboardSale.properties" prompt="ItemNumber" picture="%99s" page="screenLayout.phtm" frame="centreFrame">
  957.     <event name="Init" ppi="ETopupRefund" next="@autoRefundExitAsRequired,@autoRefundExitToTender" comment="if refunding failed etopup go straight to tendering after checking for failed gift card topups"/>
  958.     <event name="@autoRefundExitToTender"   ppi="AutoRefundCheck"   next="@total,@total" comment="failed etopups so go to tender after checking gift cards"/>
  959.     <event name="@autoRefundExitAsRequired"   ppi="AutoRefundCheck"   next="@init,@total" comment="no failed etopups so check gift cards and go to tender if any failures if not init the sale"/>
  960.     <event name="@priceEnquireSold" next="@init"/>
  961.     <event name="@init" ppi="PendingTradingDate" next="@autoAdvanceTradeDate,@saleInit"/>
  962.     <event name="@autoAdvanceTradeDate" ppi="AutoAdvanceTradeDate" next="@saleInit"/>
  963.  
  964.     <event name="@saleInit" ppi="SaleInit" next=",@SetTransactionProperties,,@SetTransactionProperties,,@SetTransactionProperties"/>
  965.     <event name="@SetTransactionProperties" ppi="SetTransactionProperties" next=",@barcodeRouterInputClear"/>
  966.     <event name="@barcodeRouterInputClear" ppi="BarcodeRouterInputClear" next=",@recalculateCoupons"/>
  967.  
  968.     <!-- PROD-34556 Recalculate coupons moved into a substate to allow for loop behavior in dealing with ecoupons, etc. -->
  969.     <event name="@recalculateCoupons" callSubstate="recalculateCoupons.state" substateNext="@removeDeliveryAddress,@removeDeliveryAddress,@removeDeliveryAddress"/>
  970.     <event name="@removeDeliveryAddress" permission="RemoveDeliveryAddress" permissionFail="@recalculateShellKits" ppi="RemoveDeliveryAddress" next=",@recalculateShellKits"/>
  971.     <event name="@recalculateShellKits"  ppi="RecalculateShellKitsPPI" next="@pinpadEJUpdates,@pinpadEJUpdates"/>
  972.     <event name="@pinpadEJUpdates" permission="LineItemDisplayPPI" permissionFail="@checkLineRefund" ppi="LineItemDisplayPPI" next="@checkLineRefund,@checkLineRefund"/>
  973.  
  974.     <!-- Overriding global event so that the state is maintained for sale and refund -->
  975.     <event name="@priceEnquireCancel" next="@checkLineRefund"/>
  976.  
  977.     <event name="Timer" ppi="CloseTill" permission="CloseTill" permissionFail="@timer" next=",@shutDown"/>
  978.     <event name="@shutDown" ppi="OperatorLogoff" next=",start"/>
  979.     <event name="@timer" ppi="Timer"/>
  980.     <event name="Network" ppi="NetworkError"/>
  981.     <event name="EJ" next=","/>
  982.     <event name="SIPSEJ" next=","/>
  983.     <event name="CustEJ" next=","/>
  984.     <event name="Keyboard.Enter" ppi="BarcodeRouter" next=",,@receiptSelfCheckout,,@giftReceipt,,,,"/>
  985.     <event name="Scanner" ppi="BarcodeRouter" next=",,@receiptSelfCheckout,,@giftReceipt,,,," />
  986.     <event name="BarcodeRouterSupport.BasicItemBarcode" next="@basicItem"/>
  987.     <event name="BarcodeRouterSupport.LoyaltyCardBarcode" next="@parseAsLoyaltyCard"/>
  988.     <event name="BarcodeRouterSupport.ManufacturerCouponBarcode" next="@validateManufacturerCoupon"/>
  989.     <event name="BarcodeRouterSupport.OfferCodeBarcode" next="@offerCode"/>
  990.     <event name="BarcodeRouterSupport.UnidentifiedCustomerCouponBarcode" next="@unidentifiedCustomerCoupon"/>
  991.     <event name="BarcodeRouterSupport.PromotionalCouponBarcode" ppi="PromotionCoupons"/>
  992.     <event name="MSR" ppi="ValueCardMSRInputPPI" next=",,@item"/>
  993.     <event name="@basicItem" ppi="BasicItemData" next=",@item"/>
  994.     <event name="@item" callSubstate="itemSale.state" substateNext="0,@resetRefundByPriceHistory,@resetRefundByPriceHistory,@resetRefundByPriceHistory,@resetRefundByPriceHistory,@init,@cancelLineRefund,startSale"/>
  995.     <event name="@unidentifiedCustomerCoupon" ppi="UnidentifiedCustomerCoupon" next="@showCouponValidationResponse,@showCouponValidationResponse"/>
  996.     <event name="@showCouponValidationResponse" ppi="ShowMessage"/>
  997.     <event name="@offerCode" ppi="CustomerOfferCodePPI" next="@refreshPEDEJOfferCode,@refreshPEDEJOfferCode" />
  998.     <event name="@parseAsLoyaltyCard" ppi="SetLoyaltyValues" next=",@getLoyaltyCard"/>
  999.  
  1000.     <event name="@refreshPEDEJOfferCode" permission="LineItemDisplayPPI" ppi="LineItemDisplayPPI" next="," />
  1001.  
  1002.     <event name="@receipt" permission="CheckParkedOrdersAllowed" permissionfail="@deactivateAutoLogoffReceipt" ppi="SetDialogDisposed" next=",@receipt2"/>
  1003.     <event name="@deactivateAutoLogoffReceipt" ppi="DeactivateAutoLogoff" next=",@receipt2"/>
  1004.     <event name="@receipt2" ppi="LineRefundByPriceHistoryCancel" next=",@receipt3"/>
  1005.     <event name="@receipt3" ppi="CancelLineRefund" next="@receipt4,@receipt4,@receipt4"/>
  1006.     <event name="@receipt4" permission="TransactionExists" callSubState="transactionSearchDisplay.state" substateNext="0,@autoLogoffStart,@recall,@autoLogoffStart,@refund,@autoLogoffStart,tenderSelect,@autoLogoffStart,tenderSelect,@autoLogoffStartStartSale,@refundDeposit,@iouReceipt,@driveOffReceipt,@refundPeriodAuthorise,@retrospectivePoints,@refundPeriodAuthorise,@transactionSearchReprintReceipt"/>
  1007.  
  1008.     <event name="@recall" ppi="RecallTransaction" next="@autoLogoffStart,@autoLogoffStart,@setRecallEligibility"/>
  1009.     <event name="@setRecallEligibility" ppi="CheckMediaEligibilityOnTransaction" next="tenderSelect,tenderSelect"/>
  1010.     <event name="@refundPeriodAuthorise" ppi="CheckRefundPeriod" next=",@refund"/>
  1011.     <event name="@giftReceipt" ppi="DeactivateAutoLogoff" next=",@giftReceipt2"/>
  1012.     <event name="@giftReceipt2" ppi="SetGiftReceiptRefund" next=",@giftReceipt3"/>
  1013.     <event name="@giftReceipt3" permission="TransactionExists" ppi="CancelLineRefund" next="@giftReceipt4,@giftReceipt4"/>
  1014.     <event name="@giftReceipt4" permission="CheckGiftRefundPeriod" permissionFail="@giftRefundPeriodAuthorise" next="@giftReceipt5"/>
  1015.     <event name="@giftRefundPeriodAuthorise" ppi="CheckGiftRefundPeriod" next="@giftReceiptReset,@giftReceipt5"/>
  1016.     <event name="@giftReceipt5" ppi="DeactivateAutoLogoff" next=",@refund"/>
  1017.     <event name="@giftReceiptReset" ppi="ResetGiftReceiptRefund"/>
  1018.  
  1019.     <event name="@resetRefundByPriceHistory" ppi="LineRefundByPriceHistoryCancel" next="@init,@init"/>
  1020.  
  1021.     <!-- PROD-34556 Refactor how manufacture coupons work -->
  1022.     <event name="@validateManufacturerCoupon" permission="DisableFunctionAfterTender" ppi="EnterManufacturerCouponBarcode" next="@processValidCoupon,@invalidCoupon,,@couponNotAccepted,@couponNotAcceptedInSco"/>
  1023.     <event name="@processValidCoupon" callSubState="recalculateCoupons.state" substateNext=",@init,@init"/>
  1024.     <event name="@invalidCoupon" ppi="InvalidCouponPNP" next=",@init"/>
  1025.     <event name="@couponNotAccepted" ppi="SupplierCouponNotAccepted" next=",@init"/>
  1026.  
  1027.     <event name="@couponNotAcceptedInSco" permission="CheckCouponAcceptedSCOSaleState" permissionFail="@supplierCouponNotAcceptedInSale" next="@callForHelp,@callForHelp"/>
  1028.     <event name="@supplierCouponNotAcceptedInSale" ppi="SupplierCouponNotAcceptedInSale" next=","/>
  1029.    
  1030.     <event name="@iouReceipt" permission="FuelIOURecall" ppi="FuelIOURecall"/>
  1031.     <event name="@driveOffReceipt" permission="FuelDriveOffRedemptionRecall" ppi="FuelDriveOffRedemptionRecall"/>
  1032.  
  1033.     <event name="Keyboard.void" next="@voidSelectedLineItem" />
  1034.  
  1035.     <event name="EJ.rightToLeftSwipeGesture" next="@voidSelectedLineItem" />
  1036.  
  1037.     <event name="@voidSelectedLineItem" permission="VoidSelectedItem" ppi="VoidSelectedItem" next="@voidTenderPromotion,@voidTenderPromotion,@autoVoidTransaction" />
  1038.     <event name="EJ.editQuantity" ppi="CancelLineRefund" next="@editQuantity,@editQuantity" />
  1039.     <event name="@editQuantity" ppi="EditQuantity" permission="EditQuantity" next="@cancelQuantity,@updateQuantity,@updateQuantity"/>
  1040.     <event name="@updateQuantity" ppi="UpdateQuantity" next="@cancelQuantity, @cancelQuantity"/>
  1041.  
  1042.     <event name="Keyboard.transactionSearch" permission="CheckParkedOrdersAllowed" permissionfail="@deactivateAutoLogoffTransactionSearch" ppi="SetDialogDisposed" next=",@transactionSearch"/>
  1043.     <event name="@deactivateAutoLogoffTransactionSearch" ppi="DeactivateAutoLogoff" next=",@transactionSearch"/>
  1044.     <event name="@transactionSearch" callsubstate="transactionSearch.state" substateNext="0,@autoLogoffStart,@autoLogoffStart,@autoLogoffStart,@refund,@autoLogoffStart,tenderSelect,@autoLogoffStart,@recall,@autoLogoffStartStartSale,@refundDeposit,@retrospectivePoints,,@refundPeriodAuthorise,@transactionSearchReprintReceipt" />
  1045.     <event name="@giftReceiptReset" ppi="ResetGiftReceiptRefund"/>
  1046.     <event name="@refundDeposit" callSubstate="refundDeposit.state" substateNext="0,@autoLogoffStart,@autoLogoffStart"/>
  1047.     <event name="@refund" Permission="RefundViaOMS" permissionFail="@beanstoreRefund" ppi="CheckRecalledTransactionContainsOrder" next="@beanstoreRefund,@gotoExternalBrowserForRefund"/>
  1048.     <event name="@beanstoreRefund" ppi="AuthoriseReceiptedRefund" next="@extendedRefundChoice,@authoriseReceiptedRefund"/>
  1049.     <event name="@authoriseReceiptedRefund" permission="TransactionRefundPermission" next="@extendedRefundChoice"/>
  1050.     <event name="@extendedRefundChoice" ppi="ExtendedRefundChoice" next="@refundProceed,@extendedRefund"/>
  1051.     <event name="@extendedRefund" next="extendedRefund"/>
  1052.     <event name="@refundProceed" callSubstate="refund.state" substateNext="0,@autoLogoffStart,@autoLogoffStart,@gotoExtendedRefund"/>
  1053.     <event name="@gotoExtendedRefund" ppi="ForceExtendedRefund" next=",extendedRefund"/>
  1054.     <event name="@autoLogoffStart" ppi="ResetGiftReceiptRefund" next="@officialReceiptReset,@officialReceiptReset"/>
  1055.     <event name="@officialReceiptReset" ppi="ResetOfficialReceipt" next="@autoLogoffStart2,@autoLogoffStart2"/>
  1056.     <event name="@autoLogoffStart2" ppi="ActivateAutoLogoff" next="@checkLineRefund,@checkLineRefund,@checkLineRefund"/>
  1057.     <event name="@autoLogoffStartTotal" ppi="ResetGiftReceiptRefund" next="@autoLogoffStartTotal2,@autoLogoffStartTotal2"/>
  1058.    
  1059.     <event name="@transactionSearchReprintReceipt" permission="DetermineReceiptReprintMethodPPI" ppi="DetermineReceiptReprintMethodPPI" next=",@printPaperReceipt,@addressForEmail,@addressForEmailAndPrint"/>
  1060.    
  1061.     <event name="@addressForEmailAndPrint" callsubstate="EmailAddressEntry.state" substatenext="@emailAndPrintReceipt,@emailAndPrintReceipt"/>
  1062.     <event name="@emailAndPrintReceipt" ppi="EmailRecalledTransactionPersistTxn" next="@printPaperReceipt,@printPaperReceipt"/>
  1063.     <event name="@addressForEmail"      callsubstate="EmailAddressEntry.state"   substatenext="@emailReceipt,@emailReceipt"/>
  1064.     <event name="@emailReceipt"         ppi="EmailRecalledTransaction"           next="@recall,@autoLogoffStart"/>
  1065.     <event name="@printPaperReceipt"    ppi="TransactionPrintEftPreProcess"      next="eftProcess,@transactionPrint" comment="eftProcess means CardAuthorization.printMerchantReceipt and CardAuthorization.printCustomerReceipt will be fired"/>
  1066.     <event name="@transactionPrint"     ppi="TransactionPrint"                   next="@recall,@autoLogoffStart"/>
  1067.  
  1068.     <event name="@autoLogoffStartTotal2" ppi="ActivateAutoLogoff" next=",@total,"/>
  1069.     <event name="@autoLogoffStartStartSale" ppi="ActivateAutoLogoff" next=",startSale,"/>
  1070.     <event name="@checkLineRefund" ppi="CheckLineRefund" next="@SelfCheckoutInProgress,@lineRefund"/>
  1071.     <event name="@SelfCheckoutInProgress" ppi="SelfCheckoutInProgress" next="@checkTenderItemScan,@selfCheckoutStartSaleAudio,@selfCheckoutStartScanAudio,@barcodeRouter,@callForHelp"/>
  1072.     <event name="@checkTenderItemScan" ppi="CheckTenderItemScan" next="@checkTransactionExclusiveItem,@basicItem,@offerCode"/>
  1073.     <event name="@checkTransactionExclusiveItem" ppi="CheckTransactionExclusive" next=",@continueToTender"/>
  1074.     <event name="@continueToTender" permission="ProcessDelayedAuth" permissionFail="@customerCaptureOnly" callSubstate="delayedAuth.state" substateNext="@VoidTxnExclusiveAuthFail,@customerCaptureOnly"/>
  1075.     <event name="@VoidTxnExclusiveAuthFail" ppi="VoidTxnExclusiveTransaction" next="startSale,startSale"/>
  1076.  
  1077.     <event name="@selfCheckoutStartSaleAudio" ppi="startSaleAudioClip"/>
  1078.     <event name="@selfCheckoutStartScanAudio" ppi="startScanAudioClip" next="@barcodeRouter,@barcodeRouter"/>
  1079.  
  1080.     <event name="@retrospectivePoints" callSubstate="loyalty.state" substateNext="@retrospectivePointsCancel,@retrospectivePointsCancel,@retrospectivePointsSuccess"/>
  1081.     <event name="@retrospectivePointsSuccess" ppi="LoyaltyCompleteRetrospectivePoints" next=",startSale"/>
  1082.     <event name="@retrospectivePointsCancel" ppi="LoyaltyCancelRetrospectivePoints" next=",startSale"/>
  1083.  
  1084.     <event name="@loyaltyCard" callSubstate="loyaltyCard.state" substateNext="0,"/>
  1085.     <event name="@staffDiscount" callSubstate="staffDiscount.state" substateNext="0,,,"/>
  1086.     <event name="Keyboard.Esc" permission="OnlineSaleRefundNotInProgress" ppi="CancelQuantity" next="@cancelPriceOverride,@cancelPriceOverride"/>
  1087.     <event name="Keyboard.F1" ppi="CancelQuantity" next="@manager,@manager,@manager"/>
  1088.  
  1089.     <event name="Keyboard.F2" permission="CheckNoTrans" next="startrefund"/>
  1090.     <event name="Keyboard.F3" next="@departmentSale"/>
  1091.     <event name="Keyboard.F4" ppi="RepeatLast" permission="RepeatLast"/>
  1092.     <event name="Keyboard.F5" next="@lock"/>
  1093.     <event name="Keyboard.F6" ppi="CancelLineRefund" next="@validateQuantity,@validateQuantity"/>
  1094.     <!--event name="Keyboard.F7" ppi="CancelQuantity" next="@total,@total,@total"/-->
  1095.     <event name="Keyboard.F7" ppi="CancelQuantity" next="@serviceCharge,@serviceCharge,@serviceCharge"/>
  1096.     <!-- event name="Keyboard.F10" ppi="CancelQuantity" next="@suspend,@suspend,@suspend" -->
  1097.     <event name="Keyboard.F11" ppi="VoidTransaction" permission="VoidTransaction" next=",startSale"/>
  1098.     <event name="Keyboard.F12" next="@lineRefund"/>
  1099.     <event name="@lineRefund" permission="LineRefund" ppi="LineRefund" next=",,@lineRefundByPriceHistory"/>
  1100.     <event name="@lineRefundByPriceHistory" ppi="LineRefundByPriceHistory" />
  1101.  
  1102.     <event name="Keyboard.F13" next="@taxExempt"/>
  1103.     <event name="Keyboard.F14" ppi="GiftVoucherByList"/>
  1104.     <event name="Keyboard.F15" callSubstate="customerloyaltysale.state" substateNext="0,"/>
  1105.     <event name="Keyboard.F16" next="@priceOverride"/>
  1106.     <event name="Keyboard.F17" ppi="GiftVoucher5"/>
  1107.     <event name="Keyboard.F18" ppi="GiftVoucher10"/>
  1108.     <event name="Keyboard.F10" next="@logoff"/>
  1109.     <event name="Keyboard.F21" ppi="PercentLineDiscount" next="@cancelQuantity,@recalculateCoupons"/>
  1110.     <event name="Keyboard.F22" ppi="ValueLineDiscount" next="@cancelQuantity,@recalculateCoupons"/>
  1111.     <!--event name="Keyboard.F24" ppi="PresetWeighedItem1"-->
  1112.     <!--event name="Keyboard.F25" ppi="TimberDeptSale"-->
  1113.     <!--event name="Keyboard.F26" ppi="DecoratingDeptSale"-->
  1114.     <event name="Keyboard.F30" permission="TransactionRecall" next="recall"/>
  1115.     <event name="Keyboard.F41" ppi="CancelQuantity" next="@loyaltyCard,@loyaltyCard,@loyaltyCard"/>
  1116.  
  1117.     <event name="Keyboard.accountPayment" permission="AccountPaymentPermission" next="@accountPayInMode"/>
  1118.     <event name="@accountPayInMode" permission="UseTransactionCustomerForAccounts" permissionFail="accountPayIn" ppi="UseTransactionCustomerForAccounts" next="@notActiveAccountOnly2,@customerCardCapture"/>
  1119.     <event name="@notActiveAccountOnly2" ppi="DeactivateAutoLogoff" next=",@setNotActiveAccountsOnly"/>
  1120.     <event name="@customerCardCapture" callSubstate="customerCardCapture.state" substateNext="0,@setNotActiveAccountsOnly,@selectAccount,@customerAddress,sale,@payingAccountGetAmount"/>
  1121.     <event name="@setNotActiveAccountsOnly" ppi="SetNotActiveAccountsOnly" next="@selectAccount,@selectAccount"/>
  1122.     <event name="@selectAccount" callSubstate="selectAccount.state" substateNext="0,@autoLogoffStart2,@accountPayment"/>
  1123.  
  1124.     <event name="Keyboard.newsAccountPayment" permission="CheckAccountPayment,NewsEnabledSupport" ppi="DeactivateAutoLogoff" next=",@initNewsAccountPayment"/>
  1125.     <event name="@initNewsAccountPayment" ppi="InitPaymentCustomerAccountSubTypes" next=",@newsAccount" />
  1126.     <event name="@newsAccount" callSubstate="newsAccount.state" substateNext="0,@autoLogoffStart2,@accountPayment"/>
  1127.  
  1128.     <event name="@accountPayment" ppi="ActivateAutoLogoff" next="@checkAccount,@checkAccount"/>
  1129.     <event name="@checkAccount" ppi="CheckAccountPaymentsAllowed" next=",@payingAccountGetAmount"/>
  1130.     <event name="@payingAccountGetAmount" ppi="PayingAccountGetAmount" next=",@payingAccountGetReference,@payingAccountGetAmount"/>
  1131.     <event name="@payingAccountGetReference" permission="AllowCapturePaymentReference" permissionFail="@createAccountPayment" callSubstate="capturePaymentReference.state" substateNext="0,,@createAccountPayment"/>
  1132.     <event name="@createAccountPayment" ppi="CreateAccountPayment"/>
  1133.  
  1134.     <data name="customerCapture" calculate="CustomerCaptureButtonEnabled"/>
  1135.     <event name="Keyboard.customerCapture" ppi="InitCaptureCustomerLookup" next=",@customerCaptureSearch"/>
  1136.     <event name="@customerCaptureSearch" ppi="UseDeliveryAddress" next="@customerCaptureMode,@saveCustomerAddress"/>
  1137.     <event name="@customerCaptureMode" ppi="CaptureCustomerMode" next="@deactivateAutoLogoffCustomerCapture,@deactivateAutoLogoffCustomerCapture,@deactivateAutoLogoffCustomerCapture,@deactivateAutoLogoffCustomerCapture,@checkParkedOrders"/>
  1138.     <event name="@deactivateAutoLogoffCustomerCapture" ppi="DeactivateAutoLogoff" next=",@customerCapture"/>
  1139.     <event name="@customerCapture" callSubstate="customerCapture.state" substateNext="0,@autoLogoffStart2,@autoLogoffStart2,@customerAddress"/>
  1140.     <event name="@checkParkedOrders" permission="CheckParkedOrdersAllowed" permissionfail="@deactivateAutoLogoff" ppi="SetDialogDisposed" next=",@captureCustomerExternal"/>
  1141.     <event name="@deactivateAutoLogoff" ppi="DeactivateAutoLogoff" next=",@captureCustomerExternal"/>
  1142.     <event name="@captureCustomerExternal" callSubstate="customerCaptureExternal.state" substateNext="0,@setDialogNotDisposedCapCustExternal,@setDialogNotDisposedCapCustExternal"/>
  1143.     <event name="@setDialogNotDisposedCapCustExternal" ppi="SetDialogNotDisposed" next=",@autoLogoffStart2"/>
  1144.  
  1145.     <event name="Keyboard.taxExempt" next="taxExempt"/>
  1146.     <event name="Keyboard.F43" ppi="RepeatSelectedLine" permission="RepeatSelectedLine" next="@refreshPEDEJRepeatItem,@refreshPEDEJRepeatItem"/>
  1147.     <event name="Keyboard.F44" ppi="RepeatItem" permission="RepeatItem" next="@refreshPEDEJRepeatItem,@refreshPEDEJRepeatItem"/>
  1148.     <event name="Keyboard.F45" permission="SplitPackPpi" ppi="SplitPackPpi" next=",splitpack"/>
  1149.     <event name="Keyboard.F46" ppi="PrintLastReceipt" permission="PrintLastReceipt"/>
  1150.     <event name="Keyboard.F47" next="@reprintReceipt"/>
  1151.     <event name="Keyboard.F53" next="@taxPrint"/>
  1152.     <event name="Keyboard.quantity" ppi="CancelLineRefund" next="@validateQuantity,@validateQuantity,@validateQuantity" />
  1153.     <event name="@validateQuantity" permission="ValidateQuantity" ppi="ValidateQuantity" next="@cancelQuantity,@updateQuantity,@quantityReductionAsVoid"/>
  1154.     <event name="@updateQuantity" ppi="UpdateQuantity" next="@cancelQuantity,@voidTenderPromotion"/>
  1155.     <event name="@quantityReductionAsVoid" permission="QuantityReductionAsVoid" permissionFail="@updateQuantity" ppi="QuantityReductionAsVoid" next="@cancelQuantity,@voidTenderPromotion"/>
  1156.  
  1157.     <event name="Keyboard.trainingMode" callSubstate="displayREMMessages.state" substatenext=",@toggleTraining"/>
  1158.     <event name="@toggleTraining" ppi="TrainingMode" permission="TrainingMode" next=",@logoff"/>                            
  1159.     <event name="Keyboard.noSale" permission="NoSale" next="noSale,noSale"/>
  1160.     <event name="Keyboard.repeatSelectedItem" ppi="RepeatSelectedItem" permission="RepeatSelectedItem" next="@refreshEJPerItemOnItemRepeat,@refreshEJPerItemOnItemRepeat"/>
  1161.     <event name="Keyboard.repeatSelectedLine" ppi="RepeatSelectedLine" permission="RepeatSelectedLine" next="@refreshPEDEJRepeatItem,@refreshPEDEJRepeatItem"/>
  1162.  
  1163.     <event name="@refreshEJPerItemOnItemRepeat" permission="RefreshEJPerItem" ppi="RefreshEJPerItem" next="@refreshPEDEJRepeatItem,@refreshPEDEJRepeatItem"/>
  1164.     <event name="@refreshPEDEJRepeatItem" permission="LineItemDisplayPPI" ppi="LineItemDisplayPPI"/>
  1165.  
  1166.     <event name="Keyboard.voidSelectedItem" permission="CheckForGiftCardRefundLinesOnVoidSelected" ppi="SelectedLineType" next=",@voidSelectedItem,@voidSelectedTender,@voidSelectedItem"/>
  1167.     <event name="@voidSelectedItem" permission="VoidSelectedItem" ppi="VoidSelectedItem" next=",@voidTenderPromotion,@autoVoidTransaction"/>
  1168.     <event name="@voidSelectedTender" ppi="VoidSelectedTender" next=",@voidTenderPromotion"/>
  1169.     <event name="@voidTenderPromotion" ppi="VoidTenderPromotion" next=",@recalculateCoupons"/>
  1170.     <event name="Keyboard.secure" next="@lock"/>
  1171.     <event name="Keyboard.customerLoyalty" callSubstate="customerloyaltysale.state" substateNext="0,"/>
  1172.     <event name="Keyboard.lotteryDrawTicket" permission="LotteryDrawTicket" ppi="LotteryDrawTicket"/>
  1173.     <event name="Keyboard.euroDrawTicket" permission="EuroDrawTicket" ppi="EuroDrawTicket"/>
  1174.     <event name="Keyboard.lotteryDrawPrize" permission="LotteryDrawPrize" ppi="LotteryDrawPrize"/>
  1175.     <event name="Keyboard.lotteryInstantPrize" permission="LotteryInstantPrize" ppi="LotteryInstantPrize"/>
  1176.     <event name="Keyboard.kioskSale" permission="TransactionRecall" next="kioskSale"/>
  1177.     <event name="Keyboard.splitPack" permission="SplitPackPpi" ppi="SplitPackPpi" next=",splitpack"/>
  1178.     <event name="Keyboard.percentLineDiscount" ppi="PercentLineDiscount" next="@cancelQuantity,@recalculateCoupons"/>
  1179.     <event name="Keyboard.valueLineDiscount" ppi="ValueLineDiscount" next="@cancelQuantity,@recalculateCoupons"/>
  1180.     <event name="Keyboard.staffSale" permission="StaffSalePermission,CheckStaffDiscountAlreadyActive" ppi="CancelQuantity" next="@staffDiscount,@staffDiscount,@staffDiscount"/>
  1181.     <event name="Keyboard.priceOverride" next="@priceOverride"/>
  1182.     <event name="@priceOverride" permission="PriceOverride" ppi="PriceOverride" next="@recalculateCoupons,@recalculateCoupons,@scopDiscount"/>
  1183.     <event name="@scopDiscount" ppi="ValueLineDiscountSCOP" next="@cancelQuantity,@recalculateCoupons"/>
  1184.     <event name="Keyboard.taxByCustomerType" callSubstate="taxByCustomerType.state" substateNext=",,"/>
  1185.     <event name="Keyboard.taxExempt" next="@taxExempt"/>
  1186.     <event name="Keyboard.lineRefund" next="@lineRefund"/>
  1187.     <event name="Keyboard.refund" permission="CheckNoTrans" next="startrefund"/>
  1188.     <event name="Keyboard.zeroScales" ppi="ZeroScales" next="@resetSaleState,@resetSaleState,@resetSaleState"/>
  1189.     <!-- checks if trans in place and proceeds to continue, or resets to start sale to allow checks of membership etc again-->
  1190.     <event name="@resetSaleState" permission="CheckNoTransNoWarning"  next="startSale"/>
  1191.     <event name="Keyboard.testScales" permission="ScaleInfoPermission" callSubstate="scaleInfo.state" substateNext="@resetSaleState,@resetSaleState"/>
  1192.     <event name="Keyboard.departmentSale" next="@departmentSale"/>
  1193.     <event name="@departmentSale" permission="DeptSale" ppi="DeptSale" next="@deptSaleRefusalRegisterThenSale,@deptSaleRefusalRegisterThenInit"/>
  1194.     <event name="@deptSaleRefusalRegisterThenSale" callSubstate="refusalRegister.state" substateNext=",,startSale"/>
  1195.     <event name="@deptSaleRefusalRegisterThenInit" callSubstate="refusalRegister.state" substateNext="@init,@init,startSale"/>
  1196.     <event name="Keyboard.GVByList" ppi="GiftVoucherByList"/>
  1197.     <event name="Keyboard.GV5" ppi="GiftVoucher5"/>
  1198.     <event name="Keyboard.GV10" ppi="GiftVoucher10"/>
  1199.     <event name="Keyboard.printLastReceipt" ppi="PrintLastReceipt" permission="PrintLastReceipt"/>
  1200.     <event name="Keyboard.reprintReceipt" next="@reprintReceipt"/>
  1201.     <event name="@reprintReceipt" permission="ReprintReceipt" ppi="ReprintReceipt" next=",@reprintStoreReceipt"/>
  1202.     <event name="@reprintStoreReceipt" ppi="StoreCopyReprintReceipt"/>
  1203.     <event name="Keyboard.taxReceipt" permission="TaxServicePPI" ppi="TaxServicePPI"/>
  1204.     <event name="Keyboard.taxPrint" next="@taxPrint"/>
  1205.     <event name="Keyboard.transactionSuspend" ppi="CancelQuantity" permission="CancelQuantity,CheckSeqrSuspendTrans,CheckForGiftCardRefundLinesOnSuspend" next="@suspend,@suspend,@suspend"/>
  1206.     <event name="Keyboard.voidTransaction" ppi="VoidTransaction" permission="CheckForGiftCardRefundLinesOnVoidTransaction,VoidTransaction" next=",@eftSessionEndNewSale"/>
  1207.     <event name="@eftSessionEndNewSale" callSubstate="eftSessionEnd.state" substateNext="startSale,startSale"/>
  1208.  
  1209.     <event name="@autoVoidTransaction" permission="CheckForGiftCardRefundLinesOnVoidTransaction,VoidItemVoidTransaction" ppi="VoidItemVoidTransaction" next=",@eftSessionEndNewSale"/>
  1210.  
  1211.     <event name="Keyboard.transactionRecall" permission="TransactionRecall" next="recall"/>
  1212.     <event name="Keyboard.takeDeposit" permission="CheckTakeDeposit" ppi="TakeDeposit" next=",@checkIfAddressRequired" />
  1213.     <event name="@checkIfAddressRequired" permission="DepositNameAddressEntryAllow" permissionFail="@createTakeDepositLine" next="@deactivateAutoLogoffGetNameAndAddress"/>
  1214.     <event name="@deactivateAutoLogoffGetNameAndAddress" ppi="DeactivateAutoLogoff" next=",@getNameAndAddress"/>
  1215.     <event name="@getNameAndAddress" callSubstate="CustomerCaptureChoice.state" substateNext=",@removeTakeDepositLine,@createTakeDepositLineBeforeAddress"/>
  1216.     <event name="@createTakeDepositLineBeforeAddress" ppi="CreateDepositPaymentLine" next=",@saveDepositCustomerInfo"/>
  1217.     <event name="@saveDepositCustomerInfo" ppi="AddCustomerInfoPPI" next="@clearDepositCustomerInfo,@clearDepositCustomerInfo"/>
  1218.     <event name="@clearDepositCustomerInfo" ppi="ClearCustomerInfoPPI" next=","/>
  1219.     <event name="@createTakeDepositLine" ppi="CreateDepositPaymentLine"/>
  1220.     <event name="@removeTakeDepositLine" ppi="ClearItem" next=","/>
  1221.  
  1222.     <event name="Keyboard.redeemDeposit" permission="RedeemDeposit" ppi="RedeemDeposit" next="@checkLineRefund,@checkLineRefund"/>
  1223.     <event name="Keyboard.refundDeposit" permission="RefundDeposit" ppi="RefundDeposit" next="@checkLineRefund,@checkLineRefund"/>
  1224.  
  1225.     <event name="Keyboard.salespersonSet" ppi="SetSalesPerson"/>
  1226.     <event name="Keyboard.salespersonClear" ppi="ClearSalesPerson"/>
  1227.     <event name="Keyboard.salespersonChange" permission="ChangeSalesPerson" ppi="ChangeSalesPerson"/>
  1228.  
  1229.     <event name="Keyboard.eCoupon" permission="LoyaltyElectronicCoupon" ppi="LoyaltyElectronicCoupon"/>
  1230.  
  1231.     <event name="Keyboard.changePassword" ppi="SetRequireCurrentPassword" next=",@changePassword"/>
  1232.     <event name="changePassword" callSubstate="changePassword.state" substateNext="0,,,@changePasswordSuccess,@resetSaleState"/>
  1233.     <event name="@changePasswordSuccess" ppi="ChangePasswordFinalise" next="@resetSaleState,@resetSaleState"/>
  1234.  
  1235.     <event name="Keyboard.logoff" callSubstate="displayREMMessages.state" substatenext=",@eftSAFClear"/>
  1236.     <event name="@eftSAFClear" callSubstate="eftSAFClear.state" substateNext="@logoffSelect,@logoffSelect"/>
  1237.     <event name="@logoffSelect" permission="OperatorAccountable,RemoveCashDrawerMessage" permissionFail="@logoff" ppi="LogoffSelect" next="@resetLanguage,@zRead,"/>
  1238.     <event name="Keyboard.subTotal" ppi="SubTotal"/>
  1239.     <event name="@resetLanguage" ppi="ResetLanguage" next="@resetCustomerLanguage,@resetCustomerLanguage"/>
  1240.     <event name="@resetCustomerLanguage" ppi="ResetCustomerLanguage" next="@logoff,@logoff"/>
  1241.     <event name="@logoff" callSubstate="operatorLogoff.state" substateNext="@eftSessionEndLogon,@eftSessionEndLogon"/>
  1242.     <event name="@eftSessionEndLogon" callSubstate="eftSessionEnd.state" substateNext="logon,logon"/>
  1243.     <event name="@zRead" permission="CheckNoTrans,OperatorLogoff" ppi="ForcedOperatorZReadOnLogoff" next="@logoffCDO,@logoffCDO"/>
  1244.     <event name="@logoffCDO" callSubstate="operatorLogoff.state" substateNext="@eftSessionEnd,@eftSessionEnd"/>
  1245.     <event name="@eftSessionEnd" callSubstate="eftSessionEnd.state" substateNext="logonCDO,logonCDO"/>
  1246.     <event name="Keyboard.manager" ppi="CancelQuantity" next="@manager,@manager,@manager"/>
  1247.    
  1248.     <!--event name="Keyboard.total" ppi="CancelQuantity" next="@total,@total,@total"/-->
  1249.     <!--adding one event @goTotal to sync phone number capture-->
  1250.     <event name="Keyboard.total" next="@startTotal"/>
  1251.     <event name="@startTotal" ppi="SendBypassRequestPPI" next="@goTotal,@goTotal"/>
  1252.     <event name="@goTotal" permission="ProcessDelayedAuth" permissionFail="@customerCaptureOnly" callSubstate="delayedAuth.state" substateNext=",@customerCaptureOnly"/>
  1253.     <event name="@customerCaptureOnly" ppi="CustomerCaptureOnly" next="@goTocancelQuantity,eot"/>
  1254.     <event name="@goTocancelQuantity" ppi="CancelQuantity" next="@serviceCharge,@serviceCharge,@serviceCharge"/>
  1255.     <event name="@serviceCharge" ppi="ServiceChargePPI" next="@checkPendingMessages,@checkPendingMessages"/>
  1256.     <event name="@checkPendingMessages" callSubstate="displayREMMessages.state" substatenext=",@total"/>
  1257.     <event name="Keyboard.checkWeigh" next="@checkWeigh"/>
  1258.     <event name="@cancelQuantity" ppi="CancelQuantity" next="@cancelPriceOverride,@cancelPriceOverride"/>
  1259.     <event name="@cancelPriceOverride" ppi="CancelPriceOverride" next="@cancelCustomerLoyalty,@cancelCustomerLoyalty"/>
  1260.     <event name="@cancelCustomerLoyalty" ppi="CancelCustomerLoyalty" next="@cancelTaxExempt,@cancelTaxExempt"/>
  1261.     <event name="@cancelTaxExempt" ppi="CancelTaxExempt" next="@cancelLineRefund,@cancelLineRefund"/>
  1262.     <event name="@cancelLineRefund" ppi="CancelLineRefund" next="@cancelLineRefundByPriceHistory,@cancelLineRefundByPriceHistory,@lineRefund"/>
  1263.     <event name="@cancelLineRefundByPriceHistory" ppi="LineRefundByPriceHistoryCancel" next="@cancelSplitPack,@cancelSplitPack"/>
  1264.     <event name="@cancelSplitPack" ppi="CancelSplitPack"/>
  1265.     <event name="@suspend" permission="VoidCouponTendersForSuspend" ppi="VoidCouponTendersForSuspend" next=",@suspendCont"/>
  1266.     <event name="@suspendCont" ppi="TransactionSuspend" permission="TransactionSuspend" next=",@oldTrans,@deactivateAutoLogoffNameCapture"/>
  1267.     <event name="@oldTrans" ppi="OldTrans" next="@eftSessionEndNewSale,@eftSessionEndNewSale"/>
  1268.     <event name="@deactivateAutoLogoffNameCapture" ppi="DeactivateAutoLogoff" next=",@nameCapture"/>
  1269.     <event name="@nameCapture" callSubstate="CustomerCaptureChoice.state" substateNext=",,@saveSuspendCustomer"/>
  1270.     <event name="@saveSuspendCustomer" ppi="AddCustomerInfoPPI" next="@clearSuspededCustomer,@clearSuspededCustomer"/>
  1271.     <event name="@clearSuspededCustomer" ppi="ClearCustomerInfoPPI" next=",@suspend"/>
  1272.     <event name="@CleanReceipt" ppi="CleanReceipt" permission="CleanReceipt" permissionFail="startSale" next="startSale,startSale"/>
  1273.     <event name="Keyboard.officialReceipt" ppi="OfficialReceipt" permission="OfficialReceipt" />
  1274.  
  1275.     <!-- collection service and take-away
  1276.     <event name="Keyboard.F31" permission="DServFTrackPermission" ppi="ServiceDelivery"/>
  1277.     <event name="Keyboard.collectionService" permission="DServFTrackPermission" ppi="ServiceDelivery"/>
  1278.     <data name="collectionService" calculate="ServiceDelivery"/>
  1279.     <event name="Keyboard.F32" permission="ExcludeService,TakeHomePermission" ppi="ExcludeService"/>
  1280.     <event name="Keyboard.takeAway" permission="ExcludeService,TakeHomePermission" ppi="ExcludeService"/>
  1281.     <data name="takeAway" calculate="ExcludeService"/>-->
  1282.  
  1283.     <!-- collection service and taken -->
  1284.     <event name="Keyboard.collectionService" permission="CServPermission" ppi="ServiceCollection"/>
  1285.     <data name="collectionService" calculate="ServiceCollection,OnlineSaleRefundInProgress"/>
  1286.     <event name="Keyboard.taken" permission="ExcludeCollectionService,TakenPermission" ppi="ExcludeCollectionService"/>
  1287.     <data name="taken" calculate="ExcludeCollectionService,OnlineSaleRefundInProgress"/>
  1288.  
  1289.     <!-- Access the manager menu -->
  1290.     <event name="@manager" ppi="CheckNoTrans" permission="AccessManagerMenu,CheckNoTrans" next=",managerMenu"/>
  1291.  
  1292.     <!-- Handle Tax Exempt Transactions -->
  1293.     <event name="@taxExempt" callSubstate="taxExempt.state" substateNext="@checkLineRefund,@checkLineRefund"/>
  1294.  
  1295.     <!-- Handle Tax Modify Transactions -->
  1296.     <event name="Keyboard.taxModify" next="@taxModify"/>
  1297.     <event name="@taxModify" permission="TaxOverride" ppi="TaxOverride" next=",,@taxModify"/>
  1298.  
  1299.     <event name="@total" permission="DisplayBagFeePromptPPI" permissionFail="@totalAfterBagFeePrompt" next="@setDefaultItem"/>
  1300.     <event name="@setDefaultItem" ppi="DisplayBagFeePromptPPI" next="@bagFeePrompt,@bagFeePrompt"/>
  1301.     <event name="@bagFeePrompt" permission="DisplayBagFeePromptPPI" permissionFail="@totalAfterBagFeePrompt" callSubstate="bagFeePrompt.state" substateNext="baseSale,,@totalAfterBagFeePrompt"/>
  1302.     <event name="@totalAfterBagFeePrompt" permission="CheckForTrainingMode" permissionFail="@promotionOnTotal" ppi="LoyaltyCardOnTotal" next="@intendedPaymentMediaOnTotal,@getLoyaltyCardOnTotal"/>
  1303.     <event name="@getLoyaltyCardOnTotal" ppi="LoyaltyCardTotalMode" next=",@captureLoyaltyCardOnTotal" />
  1304.     <event name="@captureLoyaltyCardOnTotal" callSubstate="loyalty.state" substatenext=",@getLoyaltyCardOnTotal,@promotionOnTotal"/>
  1305.     <event name="@intendedPaymentMediaOnTotal" permission="AddTenderIntendedPaymentMedia" permissionFail="@promotionOnTotal" ppi="AddTenderIntendedPaymentMedia" next="@promotionOnTotal,@promotionOnTotal"/>
  1306.     <event name="@promotionOnTotal" callsubstate="promotionMessages.state" substatenext=",,@checkMagazineVoucherAndVotingCoupon"/>
  1307.     <event name="@checkMagazineVoucherAndVotingCoupon" ppi="CheckMagazineVoucherAndVotingCoupon" next="@retrieveCoupons,@retrieveCoupons,@addMagazineVoucherProduct"/>
  1308.     <event name="@addMagazineVoucherProduct" callSubstate="itemSale.state" next="@checkMagazineVoucherAndVotingCoupon" />
  1309.     <event name="@retrieveCoupons" permission="RetrieveCoupons" permissionFail="@paymentTenderMessages" ppi="RetrieveCoupons" next="@paymentTenderMessages,@applyCoupons,@paymentTenderMessages,@filterCouponsWithUserInput"/>
  1310.     <event name="@filterCouponsWithUserInput" callSubstate="couponSelectionState.state" substateNext="@cancelTender,@applyCoupons"/>
  1311.     <event name="@applyCoupons" ppi="ApplyCoupons" next="@paymentTenderMessages,@paymentTenderMessages"/>
  1312.     <event name="@paymentTenderMessages" callsubstate="paymentTenderMessages.state" substatenext=",,@confirmedTotal"/>
  1313.     <event name="@confirmedTotal" ppi="Total" next=",@checkMediaExchange,@checkMediaExchange,@checkMediaExchange,@noLinesToTenderCheckLaloMin"/>
  1314.     <event name="@checkMediaExchange" permission="CheckMediaExchange" permissionFail="@validateElectronicCouponOnTotal" next="@recalculateCouponsAfterTotal"/>
  1315.     <event name="@validateElectronicCouponOnTotal" permission="DisableFunctionAfterTender" permissionFail="@recalculateCouponsAfterTotal" ppi="ElectronicCouponBarcode" next="@tenderElectronicCouponOnTotal,@tenderElectronicCouponOnTotal" />
  1316.     <event name="@tenderElectronicCouponOnTotal" permission="CheckLotteryTrans" permissionFail="@recalculateCouponsAfterTotal" ppi="ElectronicCouponTender" next="@recalculateCouponsAfterTotal,@recalculateCouponsAfterTotal"/>
  1317.     <event name="@recalculateCouponsAfterTotal" callSubstate="recalculateCoupons.state" substateNext="@recalculateTotalLine,@recalculateTotalLine,@recalculateTotalLine"/>
  1318.     <event name="@recalculateTotalLine" ppi="TotalLineSupport" next="@reconfirmTotal,@reconfirmTotal"/>
  1319.     <event name="@reconfirmTotal" permission="TotalRefundThresholdOverridePPI" ppi="TotalsGateway" next=",@goToTenderCheckLaloMin,@goToChangeCheckLaloMin,@refundTenderCheckLaloMin"/>
  1320.     <event name="@goToTenderCheckLaloMin" permission="CheckLaloMin" permissionFail="@goToTender" ppi="CheckLaloMin" next="@cancelTender,@goToTender"/>
  1321.     <event name="@goToChangeCheckLaloMin" permission="CheckLaloMin" permissionFail="@goToChange" ppi="CheckLaloMin" next="@cancelTender,@goToChange"/>
  1322.     <event name="@refundTenderCheckLaloMin" permission="CheckLaloMin" permissionFail="@refundTender" ppi="CheckLaloMin" next="@cancelTender,@refundTender"/>
  1323.     <event name="@noLinesToTenderCheckLaloMin" permission="CheckLaloMin" permissionFail="@noLinesToTender" ppi="CheckLaloMin" next="@cancelTender,@noLinesToTender"/>
  1324.  
  1325.     <event name="@noLinesToTender" ppi="DisplayMessageBoxNoLinesToTender"/>
  1326.     <event name="@goToTender" callsubstate="receiptPrintingMethod.state" substatenext="@cancelTender,@socialResponsibility"/>
  1327.     <event name="@socialResponsibility" ppi="SocialResponsibilityPPI" next="@refreshEJAfterPromotion,@refreshEJAfterPromotion"/>
  1328.     <event name="@refreshEJAfterPromotion" ppi="RefreshEJPerItem" next="tenderSelect,tenderSelect" />
  1329.     <event name="@goToChange" callsubstate="receiptPrintingMethod.state" substatenext="@cancelTender,change"/>
  1330.     <event name="@refundTender" permission="RefundNameAddressEntryAllow" permissionFail="@addOriginalTender" next="@refundCustomer,@refundCustomer"/>
  1331.     <event name="@refundCustomer" permission="CheckParkedOrdersAllowed" permissionFail="@deactivateAutoLogoffRefundCustomer" ppi="SetDialogDisposed" next=",@refundCustomerCaptureChoice"/>
  1332.     <event name="@deactivateAutoLogoffRefundCustomer" ppi="DeactivateAutoLogoff" next=",@refundCustomerCaptureChoice"/>
  1333.     <event name="@refundCustomerCaptureChoice" callSubstate="CustomerCaptureChoice.state" substateNext="0,@setDialogNotDisposedCancel,@setDialogNotDisposedSave"/>
  1334.     <event name="@setDialogNotDisposedSave" ppi="SetDialogNotDisposed" next=",@saveCustomerInfo"/>
  1335.     <event name="@saveCustomerInfo" ppi="AddCustomerInfoPPI" next="@clearCustomerInfo,@clearCustomerInfo"/>
  1336.     <event name="@clearCustomerInfo" ppi="ClearCustomerInfoPPI" next="@cancelTenderForDiscountRetotal,@cancelTenderForDiscountRetotal"/>
  1337.     <event name="@cancelTenderForDiscountRetotal" ppi="CancelTenderForDiscountRetotal" next=",@retotal,@retotal,@retotal,@retotal"/>
  1338.     <event name="@retotal" ppi="Total" next=",@goToTender,@goToChange,@addOriginalTender"/>
  1339.     <event name="@addOriginalTender" ppi="AddOriginalTenderPPI" next=",@goToTender"/>
  1340.     <event name="@setDialogNotDisposedCancel" ppi="SetDialogNotDisposed" next=",@cancelTender"/>
  1341.     <event name="@cancelTender" ppi="CancelTender" next=",,,,@lineRefund"/>
  1342.     <event name="@taxPrint" ppi="TaxServicePPI" permission="TaxServicePPI"/>
  1343.  
  1344.     <!-- Tax Free Direct Export -->
  1345.     <event name="Keyboard.taxFreeDirectExport" next="@taxFreeDirectExport"/>
  1346.     <event name="@taxFreeDirectExport" permission="TaxFreeDirectExportPermission" ppi="TaxFreeDirectExport" Next=",@taxFreeDirectExportConfirm"/>
  1347.     <event name="@taxFreeDirectExportConfirm" ppi="TaxFreeDirectExportConfirm" Next=",@deliveryAddressRequired"/>
  1348.  
  1349.     <event name="@deliveryAddressRequired" ppi="DeliveryAddressRequired" next="@next,@canCustomerAddressBeUsed"/>
  1350.     <event name="@canCustomerAddressBeUsed" permission="UseCustomerAddress"  permissionFail="@captureDeliveryAddress" ppi="UseCustomerAddress" next="@deactivateAutoLogoffCaptureDeliveryAddress,@addDeliveryAddress"/>
  1351.     <event name="@deactivateAutoLogoffCaptureDeliveryAddress" ppi="DeactivateAutoLogoff" next=",@captureDeliveryAddress"/>
  1352.     <event name="@captureDeliveryAddress" callSubstate="CustomerCaptureChoice.state" substateNext=",,@addDeliveryAddress"/>
  1353.     <event name="@addDeliveryAddress" ppi="AddCustomerInfoPPI" next="@updateEJ,@customerLookupClear"/>
  1354.     <event name="@customerLookupClear" ppi="ClearCustomerInfoPPI" next=",@updateEJ"/>
  1355.     <event name="@next" next="@updateEJ"/>
  1356.     <event name="@updateEJ" ppi="TaxFreeDirectExportUpdateTransaction"/>
  1357.  
  1358.     <!-- Void next item -->
  1359.     <event name="Keyboard.F49" next="@voidNextItem"/>
  1360.     <event name="Keyboard.voidNextItem" next="@voidNextItem"/>
  1361.     <event name="@voidNextItem" permission="VoidNextItem" next="voidNextItem"/>
  1362.     <!--
  1363.     0: exit application
  1364.     1: Checkweigh failure
  1365.     2: Checkweigh success exactly
  1366.     3: Cancelled
  1367.     4: Not authorised
  1368.     5: Checkweigh success within tolerance
  1369.     -->
  1370.     <event name="@checkWeigh" callSubstate="checkWeigh.state" substateNext="0,@checkCanTradeWithoutScales,startSale,startSale,startSale,startSale"/>
  1371.     <event name="@checkCanTradeWithoutScales" ppi="CheckCanTradeWithoutScales" next="@shutDown,@alertRunningWithoutScales"/>
  1372.     <event name="@alertRunningWithoutScales" ppi="TillRunningWithoutScales" next=",startSale"/>
  1373.  
  1374.     <!-- cache utilities -->
  1375.     <event name="Cache" permission="CheckNoTransNoWarning" ppi="CacheUtilities"/>
  1376.  
  1377.     <event name="Keyboard.restrictedProductSelection" permission="RestrictedSelectionPermission" ppi="DeactivateAutoLogoff" next=",@proceedToRestrictedSelection"/>
  1378.     <event name="@proceedToRestrictedSelection" callSubstate="itemImages2.state" substateNext="0,@displayInitialCard,@autoLogoffStart3"/>
  1379.  
  1380.     <!-- Self-Checkout specific events -->
  1381.     <event name="Keyboard.scoCallForHelp" next="@manualCallForHelp"/>
  1382.     <event name="@manualCallForHelp" ppi="AmberBlinkLight" next="@callForHelpAudio,@callForHelpAudio"/>
  1383.     <event name="@callForHelpAudio" ppi="callForHelpAudioClip" next=",@callForHelpMsg"/>
  1384.     <event name="@callForHelpMsg" ppi="ManualCallForHelp" next="@greenLight,@greenLight"/>
  1385.     <event name="@greenLight" ppi="GreenLight"/>
  1386.  
  1387.     <event name="@callForHelp" ppi="AmberBlinkLight" next="@sysCallForHelpAudio,@sysCallForHelpAudio"/>
  1388.     <event name="@sysCallForHelpAudio" ppi="callForHelpAudioClip" next=",@sysCallForHelpMsg"/>
  1389.     <event name="@sysCallForHelpMsg" ppi="CallForHelp" next="@sysGreenLight,@sysGreenLight"/>
  1390.     <event name="@sysGreenLight" ppi="GreenLight" next="@switchToSupportOperator,@switchToSupportOperator"/>
  1391.  
  1392.     <event name="Keyboard.scoHandoverTxn" ppi="GreenLight" next="@switchToSupportOperator,@switchToSupportOperator"/>
  1393.     <event name="@switchToSupportOperator" callSubstate="switchToSupportOperator.state" substateNext="@redrawEJ,startSaleEx,@logoff"/>
  1394.     <event name="Keyboard.returnToSco" callSubstate="switchToSco.state" substateNext="@redrawEJ,@redrawEJ"/>
  1395.     <event name="Keyboard.keyInCode" callSubstate="enterProductCode.state" substateNext=",@SelfCheckoutInProgress"/>
  1396.     <event name="Keyboard.scoClearTransaction" ppi="GreenLight" next="@clearTransaction,@clearTransaction"/>
  1397.     <event name="@clearTransaction" callsubstate="ScoClearTransaction.state" substateNext="@greenLight,startSale"/>
  1398.     <event name="Keyboard.scoVoidSelectedItem" callsubstate="ScoVoidItem.state" substateNext="@greenLight,@greenLight"/>
  1399.     <event name="Keyboard.addLoyaltyCard" ppi="LoyaltyCardLoyaltyMode" next=",@getLoyaltyCard" />
  1400.     <event name="@selfCheckoutLoyaltyCardAdded" ppi="CheckPersonalityTypeSelfCheckout" next=",@loyaltyCardAddedAudio,"/>
  1401.     <event name="@loyaltyCardAddedAudio" ppi="loyaltyCardAddedAudioClip"/>
  1402.     <event name="@redrawEJ" ppi="RefreshEJFull"/>
  1403.     <event name="Keyboard.scoTotal" next="@startTotal"/>
  1404.     <data name="scoCallForHelp" value="10"/>
  1405.     <data name="keyInCode" value="10"/>
  1406.     <data name="returnToSco" calculate="ReturnToScoPPI"/>
  1407.     <data name="scoHandoverTxn" calculate="CheckTrans"/>
  1408.     <data name="scoClearTransaction" value="10"/>
  1409.     <data name="scoVoidSelectedItem" calculate="VoidSelectedItem"/>
  1410.     <data name="addLoyaltyCard" calculate="LoyaltyCardAlreadyCaptured"/>
  1411.     <data name="scoTotal" calculate="Total"/>
  1412.  
  1413.     <event name="Keyboard.unsuspendPoints" ppi="LoyaltyCardSalesMode" next=",@unSuspendProcess"/>
  1414.     <event name="Keyboard.selfscan" permission="SelfScanTxnRecall" callSubstate="selfscanTxnRecall.state" substateNext=",,startSale"/>
  1415.     <event name="@unSuspendProcess" ppi="UnSuspendLoyalty" next=",@processSuspendedPoints"/>
  1416.     <event name="@processSuspendedPoints" callSubstate="loyalty.state" substateNext="startSale,startSale,eot" />
  1417.     <data name="unsuspendPoints" calculate="UnSuspendLoyalty"/>
  1418.     <data name="selfscan" calculate="SelfScanTxnRecall"/>
  1419.     <event name="Keyboard.votingAtPos" ppi="LoyaltyCardSalesMode" next="@votingAtPosProcess,@votingAtPosProcess"/>
  1420.     <event name="@votingAtPosProcess" ppi="VotingAtPos" next=",@processVotingAtPos"/>
  1421.     <event name="@processVotingAtPos" callSubstate="loyalty.state" substateNext="startSale,startSale,eot"/>
  1422.     <data name="votingAtPos" calculate="VotingAtPos"/>
  1423.  
  1424.     <!-- Item image selection -->
  1425.     <event name="Keyboard.productSelection" permission="ProductSelectionPermission,CheckParkedOrdersAllowed" permissionfail="@deactivateAutoLogoffProductSelection" ppi="SetDialogDisposed" next=",@productSelection"/>
  1426.     <event name="@deactivateAutoLogoffProductSelection" ppi="DeactivateAutoLogoff" next=",@productSelection"/>
  1427.     <event name="@productSelection" callSubstate="itemImages.state" substateNext="0,@displayInitialCard,@autoLogoffStart3"/>
  1428.  
  1429.     <!--Clock In publish only -->
  1430.     <event name="Keyboard.clockInOut"  permission="ClockInPublishOnlyPPI" next="@publishClockInInfo"/>
  1431.     <event name="@publishClockInInfo" callSubstate="clockInPublishOnly.state" substateNext="0"/>
  1432.  
  1433.     <!-- stay in production selection -->
  1434.     <event name="Keyboard.stayInProductionSelection" permission="ProductSelectionPermission,CheckParkedOrdersAllowed" permissionfail="@deactivateAutoLogoffStayInProductSelection" ppi="SetDialogDisposed" next=",@stayInProductSelection"/>
  1435.     <event name="@deactivateAutoLogoffStayInProductSelection" ppi="DeactivateAutoLogoff" next=",@stayInProductSelection"/>
  1436.     <event name="@stayInProductSelection" next="stayInProductSelection"/>
  1437.  
  1438.     <event name="@autoLogoffStart3" ppi="ActivateAutoLogoff" next=",@checkTill"/>
  1439.     <event name="@displayInitialCard" ppi="DisplayInitialCard" next="@autoLogoffStart2,@autoLogoffStart2"/>
  1440.     <event name="@checkTill" ppi="CheckDedicatedTill" next="@barcodeRouter,"/>
  1441.     <event name="@barcodeRouter" permission="BarcodeRouter" ppi="BarcodeRouter" next=",,@receiptSelfCheckout,,@giftReceipt"/>
  1442.     <event name="@receiptSelfCheckout" ppi="CheckPersonalityTypeSelfCheckout" next="@receipt,@receiptSelfCheckoutMessage,@receipt"/>
  1443.     <event name="@receiptSelfCheckoutMessage" ppi="InvalidBarcodeReceiptMsg"/>
  1444.  
  1445.     <event name="Keyboard.eTopup" permission="ETopUpInit" ppi="DeactivateAutoLogoff" next=",@etopupSelection"/>
  1446.     <event name="@etopupSelection" callSubstate="eProductSelection.state" substateNext="0,@displayInitialCard,@checkTill"/>
  1447.     <data name="eTopup" calculate="EProductSelection,CheckRefund,OnlineSaleRefundInProgress"/>
  1448.  
  1449.     <event name="Keyboard.giftReceipt" permission="SetGRLine" permissionFail="@SetGRTxn" next="@SetGRLine"/>
  1450.     <event name="@SetGRTxn" ppi="SetGRTxn"/>
  1451.     <event name="@SetGRLine" ppi="SetGRLine"/>
  1452.     <data name="giftReceipt" calculate="SetGRLine,OnlineSaleRefundInProgress"/>
  1453.  
  1454.     <event name="Keyboard.rainCheck" permission="ManagerAuthRainCheck" next="rainCheck"/>
  1455.     <data name="rainCheck" calculate="CheckNoTransExcludeCustomerInfo, RainCheckAllowed,OnlineSaleRefundInProgress"/>
  1456.  
  1457.     <event name="Keyboard.saleGiftCard"  next="baseSaleNewGiftCard"/>
  1458.     <data name="saleGiftCard" value="10"/>
  1459.  
  1460.     <event name="Keyboard.eWICBalanceInquiry" next="@getEWICBalanceInquiry"/>
  1461.     <event name="@getEWICBalanceInquiry" callSubstate="eWic.state"/>
  1462.     <data name="eWICBalanceInquiry" calculate="" />
  1463.  
  1464.     <event name="Keyboard.loyaltyCard" ppi="LoyaltyCardLoyaltyMode" next=",@getLoyaltyCard" />
  1465.     <event name="@getLoyaltyCard" callSubstate="loyalty.state" substateNext=",,@selfCheckoutLoyaltyCardAdded"/>
  1466.     <data name="loyaltyCard" calculate="LoyaltyButtonsEnabled,CheckForTrainingMode,OnlineSaleRefundInProgress,SuspendLoyalty" />
  1467.  
  1468.     <event name="Keyboard.viewLoyaltyDetails" ppi="ViewLoyaltyDetailsMode" next=",@viewLoyaltyDetails"/>
  1469.     <event name="@viewLoyaltyDetails" callSubstate="loyalty.state" substateNext=",,"/>
  1470.     <data name="viewLoyaltyDetails" calculate="ViewLoyaltyDetails" />
  1471.  
  1472.     <event name="Keyboard.joinLoyaltyScheme" ppi="NewLoyaltyMembership" next=",@newCard"/>
  1473.     <event name="@newCard" callSubstate="loyalty.state" />
  1474.     <data name="joinLoyaltyScheme" calculate="LoyaltyButtonsEnabled,CheckForTrainingMode,OnlineSaleRefundInProgress" />
  1475.  
  1476.     <event name="Keyboard.returnLoyalty" ppi="ReturnLoyaltyMembership" next=",@returnCard"/>
  1477.     <event name="@returnCard" callSubstate="loyalty.state" />
  1478.     <data name="returnLoyalty" calculate="LoyaltyButtonsEnabled,CheckForTrainingMode,OnlineSaleRefundInProgress" />
  1479.  
  1480.     <event name="Keyboard.addLoyaltyBonusPoints" permission="AddLoyaltyBonusPoints" ppi="LoyaltyBonusPointsFlowChecker" next="@captureCardToAddPoints,@addLoyaltyBonusPoints"/>
  1481.     <event name="@captureCardToAddPoints" ppi="LoyaltyCardManualPointsMode" next=",@captureCardToAddPoints2" />
  1482.     <event name="@captureCardToAddPoints2" callSubstate="loyalty.state" substateNext=",,@addLoyaltyBonusPoints"/>
  1483.     <event name="@addLoyaltyBonusPoints" ppi="AddLoyaltyBonusPoints"/>
  1484.     <data name="addLoyaltyBonusPoints" calculate="AddLoyaltyBonusPoints,LoyaltyButtonsEnabled,CheckForTrainingMode,OnlineSaleRefundInProgress"/>
  1485.  
  1486.     <event name="Keyboard.deductLoyaltyBonusPoints" permission="DeductLoyaltyBonusPoints" ppi="LoyaltyBonusPointsFlowChecker" next="@captureCardToDeductPoints,@deductLoyaltyBonusPoints"/>
  1487.     <event name="@captureCardToDeductPoints" ppi="LoyaltyCardManualPointsMode" next=",@captureCardToDeductPoints2" />
  1488.     <event name="@captureCardToDeductPoints2" callSubstate="loyalty.state" substateNext=",,@deductLoyaltyBonusPoints"/>
  1489.     <event name="@deductLoyaltyBonusPoints" ppi="DeductLoyaltyBonusPoints"/>
  1490.     <data name="deductLoyaltyBonusPoints" calculate="DeductLoyaltyBonusPoints,LoyaltyButtonsEnabled,CheckForTrainingMode,OnlineSaleRefundInProgress"/>
  1491.  
  1492.     <event name="Keyboard.customerOrder" permission="CustomerOrderPermission,OrderNotOnTransaction" next="@checkParkedOrdersAllowed"/>
  1493.     <event name="@checkParkedOrdersAllowed" permission="CheckParkedOrdersAllowed" permissionfail="@deactivateAutoLogoffCustomerOrder" ppi="SetDialogDisposed" next=",@gotoExternalBrowser"/>
  1494.     <event name="@deactivateAutoLogoffCustomerOrder" ppi="DeactivateAutoLogoff" next=",@gotoExternalBrowser"/>
  1495.     <event name="@gotoExternalBrowser" permission="CheckOMSConfigured" permissionFail="@processOrder" callSubstate="externalOrderBrowser.state" subStateNext=",@processCapturedOrder"/>
  1496.     <event name="@processOrder" callSubstate="processOrder.state" substateNext="0,@setDialogNotDisposedCustomerOrder"/>
  1497.     <event name="@setDialogNotDisposedCustomerOrder" ppi="SetDialogNotDisposed"/>
  1498.     <event name="@orderAlreadyOnTransaction" ppi="OrderAlreadyOnTransactionMessage"/>
  1499.     <event name="@processCapturedOrder" callSubState="processCapturedOrder.state" substateNext=",,@gotoExternalBrowser"/>
  1500.  
  1501.     <event name="@gotoExternalBrowserForRefund" permission="OrderNotOnTransaction" permissionFail="@orderAlreadyOnTransaction" next="@refundOrder"/>
  1502.     <event name="@refundOrder" permission="CheckOMSConfigured" permissionFail="@processCapturedOrderForRefund" callSubstate="externalOrderBrowser.state" subStateNext=",@processCapturedOrderForRefund"/>
  1503.     <event name="@processCapturedOrderForRefund" callSubState="processCapturedOrder.state" substateNext=",,@goBackToExternalBrowser"/>
  1504.     <event name="@goBackToExternalBrowser" permission="CheckOMSConfigured" permissionFail="@goToTransactionSearch" callSubstate="externalOrderBrowser.state" subStateNext=",@processCapturedOrderForRefund"/>
  1505.     <event name="@goToTransactionSearch" callSubState="transactionSearchDisplay.state" substateNext="0,@autoLogoffStart,@recall,@autoLogoffStart,@refund,@autoLogoffStart,tenderSelect,@autoLogoffStart,tenderSelect,@autoLogoffStartStartSale,@refundDeposit,@iouReceipt,@driveOffReceipt,@refundPeriodAuthorise,@retrospectivePoints,@refundPeriodAuthorise"/>
  1506.     <data name="customerOrder" calculate="CustomerOrderButtonEnabled,OrderNotOnTransaction,OnlineSaleRefundInProgress"/>
  1507.  
  1508.     <event name="Keyboard.rewardsCard" next="rewardsCard" />
  1509.     <data name="rewardsCard" calculate="RewardsCardButtonEnabled,CheckForTrainingMode,OnlineSaleRefundInProgress" />
  1510.  
  1511.     <data name="subTotal" calculate="SubTotal"/>
  1512.     <data name="departmentSale" calculate="CheckLotteryTrans,CheckRefundDeptSale"/>
  1513.     <data name="quantity" calculate="ValidateQuantity"/>
  1514.     <data name="quantityPrice" value="0"/>
  1515.     <data name="trainingMode" calculate="CheckNoTrans"/>
  1516.     <data name="noSale" calculate="CheckNoTrans"/>
  1517.     <data name="repeatSelectedItem" calculate="RepeatSelectedItem"/>
  1518.     <data name="repeatSelectedLine" calculate="RepeatSelectedLine"/>
  1519.     <data name="voidSelectedItem" calculate="VoidSelectedTender,VoidSelectedItem"/>
  1520.     <data name="voidNextItem" calculate="VoidNextItem,CheckLotteryTrans"/>
  1521.  
  1522.     <data name="secure" calculate="DisableAutoSecureOnActiveTransactionPPI"/>
  1523.     <data name="customerLoyalty" value="10"/>
  1524.     <data name="lotteryDrawTicket" value="10"/>
  1525.     <data name="euroDrawTicket" value="10"/>
  1526.     <data name="lotteryDrawPrize" value="10"/>
  1527.     <data name="lotteryInstantPrize" value="10"/>
  1528.     <data name="eWICBalanceInquiry" value="OnlineSaleRefundInProgress"/>
  1529.     <data name="kioskSale" calculate="CheckNoTrans"/>
  1530.     <data name="splitPack" calculate="SplitPackPpi"/>
  1531.     <data name="percentLineDiscount" calculate="PercentLineDiscount"/>
  1532.     <data name="valueLineDiscount" calculate="ValueLineDiscount"/>
  1533.     <data name="staffSale" calculate="StaffSaleButtonEnabled"/>
  1534.     <data name="priceOverride" calculate="PriceOverride"/>
  1535.     <data name="taxExempt" calculate="TaxExempt"/>
  1536.     <data name="taxFreeDirectExport" calculate="TaxFreeDirectExport"/>
  1537.     <data name="taxModify" calculate="TaxOverride"/>
  1538.     <data name="lineRefund" calculate="LineRefund,CheckLotteryTrans"/>
  1539.     <data name="refund" calculate="LineRefund,CheckLotteryTrans"/>
  1540.     <data name="zeroScales" calculate="ZeroScales,OnlineSaleRefundInProgress"/>
  1541.     <data name="testScales" calculate="CheckScalesExist,SidekeyModeCheck,OnlineSaleRefundInProgress"/>
  1542.     <data name="GVByList" value="10"/>
  1543.     <data name="GV5" value="10"/>
  1544.     <data name="GV10" value="10"/>
  1545.     <data name="printLastReceipt" calculate="PrintLastReceipt"/>
  1546.     <data name="reprintReceipt" calculate="ReprintReceipt,OnlineSaleRefundInProgress"/>
  1547.     <data name="taxReceipt" calculate="TaxServicePPI,OnlineSaleRefundInProgress"/>
  1548.     <!--data name="taxPrint" calculate="SimpleTax"-->
  1549.     <data name="transactionSuspend" calculate="TransactionSuspend,CheckLotteryTrans,IsServerAlive,CheckMoneyOrderItem,OrderNotOnTransaction,ProcessDelayedAuth"/>
  1550.     <data name="voidTransaction" calculate="VoidTransaction"/>
  1551.     <data name="transactionSearch" calculate="SidekeyModeCheck,OnlineSaleRefundInProgress"/>
  1552.     <data name="transactionRecall" calculate="TransactionRecall"/>
  1553.     <data name="changePassword" calculate="CheckNoTrans,OnlineSaleRefundInProgress"/>
  1554.     <data name="priceEnquire" calculate="PriceEnquire"/>
  1555.     <data name="escKey" value="10"/>
  1556.     <data name="logoff" calculate="CheckNoTrans,CheckParkedOrdersAllowed"/>
  1557.     <data name="total" calculate="Total"/>
  1558.     <data name="help" value="10"/>
  1559.     <data name="web" value="10"/>
  1560.     <data name="EJ" value="10"/>
  1561.     <data name="SIPSEJ" value="10"/>
  1562.     <data name="CustEJ" value="10"/>
  1563.     <data name="checkWeigh" calculate="CheckNoTrans,UseCheckWeigh,OnlineSaleRefundInProgress"/>
  1564.     <data name="salespersonSet" calculate="OnlineSaleRefundInProgress"/>
  1565.     <data name="salespersonClear" calculate="ClearSalesPerson,OnlineSaleRefundInProgress"/>
  1566.     <data name="salespersonChange" calculate="ChangeSalesPerson,OnlineSaleRefundInProgress"/>
  1567.     <data name="eCoupon" calculate="LoyaltyElectronicCoupon"/>
  1568.     <data name="scaleMaint" value="10"/>
  1569.     <data name="miscSales" value="10"/>
  1570.     <data name="accountPayment" calculate="CheckAccountPayment,OnlineSaleRefundInProgress"/>
  1571.     <data name="newsAccountPayment" calculate="CheckAccountPayment,NewsEnabledSupport,OnlineSaleRefundInProgress"/>
  1572.     <data name="productSelection" value="10"/>
  1573.     <data name="restrictedProductSelection" value="10"/>
  1574.     <data name="stayInProductSelection" value="10"/>
  1575.     <data name="deposit" value="10"/>
  1576.     <data name="takeDeposit" calculate="CheckTakeDeposit,OnlineSaleRefundInProgress"/>
  1577.     <data name="redeemDeposit" calculate="RedeemDeposit,OnlineSaleRefundInProgress"/>
  1578.     <data name="refundDeposit" calculate="RefundDeposit,OnlineSaleRefundInProgress"/>
  1579.  
  1580.     <event name="Keyboard.messageButton" ppi="MessageDisplay"/>
  1581.     <data name="messageButton" calculate="MessageDisplay"/>
  1582.  
  1583.     <event name="Keyboard.productSearch" permission="CheckParkedOrdersAllowed" permissionfail="@deactivateAutoLogoffProductSearch" ppi="SetDialogDisposed" next=",@productSearch"/>
  1584.     <event name="@deactivateAutoLogoffProductSearch" ppi="DeactivateAutoLogoff" next=",@productSearch"/>
  1585.     <event name="@productSearch" callSubstate="extendedProductSearch.state" substateNext="@productSearchCancel,@productSearchSellItem"/>
  1586.     <event name="@productSearchCancel" ppi="ActivateAutoLogoff"/>
  1587.     <event name="@productSearchSellItem" ppi="ActivateAutoLogoff" next=",@addToTransaction"/>
  1588.     <event name="@addToTransaction" ppi="ProductSearchResultsBasicItemData" next=",@item"/>
  1589.     <data name="productSearch" value="10"/>
  1590.  
  1591.     <event name="Keyboard.customerAddress" ppi="DeactivateAutoLogoff" next=",@checkDeliveryAddressCustomer"/>
  1592.     <event name="@checkDeliveryAddressCustomer" ppi="UseDeliveryAddress" next="@customerAddress,@saveCustomerAddress"/>
  1593.     <event name="@customerAddress" callSubstate="NameAddress.state" substateNext="@autoLogoffStart2,@autoLogoffStart2,@saveCustomerAddress"/>
  1594.  
  1595.     <event name="@saveCustomerAddress" ppi="AddCustomerInfoPPI" next="@clearCustomerAddress,@clearCustomerAddress"/>
  1596.     <event name="@clearCustomerAddress" ppi="ClearCustomerInfoPPI" next="@autoLogoffStart2,@autoLogoffStart2"/>
  1597.     <data name="customerAddress" calculate="NameAddressCaptureComputation, AddressCaptureButtonEnabled"/>
  1598.  
  1599.     <!-- Goodwill by cash -->
  1600.     <event name="Keyboard.goodwillCash" permission="GoodwillPopup" ppi="GoodwillCash" next="sale,@goodWillTotal,sale"/>
  1601.     <event name="@goodWillTotal" ppi="Total" next="@cancelGoodwill,@cashTender,change,@cashTender,@noLinesToTender"/>
  1602.     <event name="@noLinesToTender" ppi="DisplayMessageBoxNoLinesToTender"/>
  1603.     <event name="@cashTender" permission="CashTender" ppi="CashTender" next="@cancelGoodwill,@cancelGoodwill,change"/>
  1604.     <event name="@cancelGoodwill" ppi="VoidTransactionNoPrompt" next="startSale,startSale"/>
  1605.     <data name="goodwillCash" calculate="GoodwillCash"/>
  1606.  
  1607.     <event name="Keyboard.postOfficePayout" permission="PostOfficePayout" ppi="PostOfficePayout" next="startSale,change"/>
  1608.     <data name="postOfficePayout" calculate="CheckNoTrans"/>
  1609.  
  1610.     <!-- Gift Card Consolidation -->
  1611.     <event name="Keyboard.giftCardConsolidate" next="giftCardConsolidation"/>
  1612.     <data name="giftCardConsolidate" calculate="GiftCardConsolidationInit,OnlineSaleRefundInProgress"/>
  1613.  
  1614.     <!-- GC Topup -->
  1615.     <event name="Keyboard.giftCardTopup" permission="GiftCardTopup" next="baseGiftCardTopup"/>
  1616.     <data name="giftCardTopup" value="10"/>
  1617.  
  1618.     <event name="Keyboard.nfcTopUp" ppi="nfcTopUp" next=",externalGiftCardTopup"/>
  1619.     <data name="nfcTopUp" value="10"/>
  1620.  
  1621.     <event name="Keyboard.externalBarcodeTopUp" ppi="externalBarcodeTopUp" next=",externalGiftCardTopup"/>
  1622.     <data name="externalBarcodeTopUp" value="10"/>
  1623.  
  1624.     <data name="loyaltySearch" calculate="LoyaltyCustomerSearchInitPPI,OnlineSaleRefundInProgress"/>
  1625.     <event name="Keyboard.loyaltySearch" ppi="InitLoyaltySearchAddressSubTypes" next=",@loadLoyaltyMemberSearch"/>    
  1626.     <event name="@loadLoyaltyMemberSearch" callSubstate="LoyaltyMemberSearch.state" substateNext=",,@showMemberDetails"/>
  1627.     <event name="@showMemberDetails" callSubstate="membershipDetails.state" subStateNext="@refreshPEDEJLoyalty,@refreshPEDEJLoyalty"/>
  1628.     <event name="@refreshPEDEJLoyalty"permission="LineItemDisplayPPI" ppi="LineItemDisplayPPI" />
  1629.  
  1630.     <event name="Keyboard.containerWeighed" permission="SetContainerWeighed" ppi="SetContainerWeighed"/>
  1631.     <data name="containerWeighed" calculate="CheckRefund,OnlineSaleRefundInProgress"/>
  1632.  
  1633.     <!-- Consume Item -->
  1634.     <event name="Keyboard.eatInOut" permission="ToggleEatInOut" ppi="ToggleEatInOut"/>
  1635.     <data name="eatInOut" calculate="ToggleEatInOut,CheckRefund"/>
  1636.  
  1637.     <event name="Keyboard.redeemPointsOptInOut" permission="ToggleRedeemPoints" ppi="ToggleRedeemPoints"/>
  1638.     <data name="redeemPointsOptInOut" value="10"/>
  1639.  
  1640.     <!-- Web Oder -->
  1641.     <event name="Keyboard.webOrder" permission="CheckNoTrans" next="@webOrder"/>
  1642.     <event name="@webOrder" callSubstate="webOrder.state" substateNext="0,,@recall,@total"/>
  1643.     <data name="webOrder" calculate="CheckNoTrans,OnlineSaleRefundInProgress"/>
  1644.  
  1645.     <!-- POS Audit Event Button -->
  1646.     <data name="auditEvent.1" value="10"/>
  1647.     <event name="Keyboard.auditEvent.1" next="@addAuditEvent"/>
  1648.     <data name="auditEvent.2" value="10"/>
  1649.     <event name="Keyboard.auditEvent.2" next="@addAuditEvent"/>
  1650.     <data name="auditEvent.3" value="10"/>
  1651.     <event name="Keyboard.auditEvent.3" next="@addAuditEvent"/>
  1652.     <data name="auditEvent.4" value="10"/>
  1653.     <event name="Keyboard.auditEvent.4" next="@addAuditEvent"/>
  1654.     <data name="auditEvent.5" value="10"/>
  1655.     <event name="Keyboard.auditEvent.5" next="@addAuditEvent"/>
  1656.     <data name="auditEvent.6" value="10"/>
  1657.     <event name="Keyboard.auditEvent.6" next="@addAuditEvent"/>
  1658.     <data name="auditEvent.7" value="10"/>
  1659.     <event name="Keyboard.auditEvent.7" next="@addAuditEvent"/>
  1660.     <data name="auditEvent.8" value="10"/>
  1661.     <event name="Keyboard.auditEvent.8" next="@addAuditEvent"/>
  1662.     <data name="auditEvent.9" value="10"/>
  1663.     <event name="Keyboard.auditEvent.9" next="@addAuditEvent"/>
  1664.     <data name="auditEvent.10" value="10"/>
  1665.     <event name="Keyboard.auditEvent.10" next="@addAuditEvent"/>
  1666.  
  1667.     <event name="@addAuditEvent" ppi="AddAuditEvent" next=",startSale,"/>
  1668.  
  1669.     <data name="sendSale" calculate="SendSalePPI,OnlineSaleRefundInProgress"/>
  1670.     <event name="Keyboard.sendSale" permission="SendSalePPI" ppi="DeactivateAutoLogoff" next=",@sendSale"/>
  1671.     <event name="@sendSale" permission="SendSalePPI" ppi="SendSalePPI" next=",@sendCustomerAddress"/>
  1672.     <event name="@sendCustomerAddress" callSubstate="SendNameAddress.state" substateNext="@autoLogoffStart2,@autoLogoffStart2,@saveDeliveryCustomerAddress"/>
  1673.     <event name="@saveDeliveryCustomerAddress" ppi="AddDeliveryCustomerInfoPPI" next="@autoLogoffStart2,@autoLogoffStart2"/>
  1674.  
  1675.     <data name="tab1" value="10"/>
  1676.     <data name="tab2" value="10"/>
  1677.     <data name="tab3" value="10"/>
  1678.     <data name="tab4" value="10"/>
  1679.     <data name="tab5" value="10"/>
  1680.     <data name="tab6" value="10"/>
  1681.     <data name="tab7" value="10"/>
  1682.     <data name="tab8" value="10"/>
  1683.  
  1684.     <!-- Customer Language -->
  1685.     <event name="Keyboard.selectCustomerLanguage" ppi="SelectCustomerLanguage"/>
  1686.     <data name="selectCustomerLanguage" value="10"/>
  1687.     <data name="officialReceipt" calculate="CheckOfficialReceiptAllowed,OnlineSaleRefundInProgress" />
  1688.  
  1689.     <!-- Refuse service -->
  1690.     <event name="Keyboard.refuseService" next="@refuseService"/>
  1691.     <event name="@refuseService" ppi="RefuseService" next=",@refuseServiceRefusalRegister"/>
  1692.     <event name="@refuseServiceRefusalRegister" callSubstate="refusalRegister.state" substateNext="@voidEmptyBasketRefusalRegister,@voidEmptyBasket,startSale"/>
  1693.  
  1694.     <!-- void the transaction if the basket is empty -->
  1695.     <event name="@voidEmptyBasket" ppi="VoidEmptyBasketRefuseService" next=",@voidTransactionRefusalRegister"/>
  1696.     <!-- void the transaction if the basket is empty after the refusal register -->
  1697.     <event name="@voidEmptyBasketRefusalRegister" ppi="VoidEmptyBasketRefuseService" next="@refuseService,@voidTransactionRefusalRegister"/>
  1698.     <event name="@voidTransactionRefusalRegister" ppi="VoidTransactionNoPrompt" next="startSale,startSale"/>
  1699.  
  1700.     <data name="refuseService" calculate="CheckNoTrans,RefuseService,OnlineSaleRefundInProgress"/>
  1701.  
  1702.     <data name="onlineSalesRefund" calculate="OnlineSaleRefundPPI"/>
  1703.     <event name="Keyboard.onlineSalesRefund" ppi="OnlineSaleRefundPPI" next="@resetSlej,@lineRefund"/>
  1704.     <event name="@resetSlej" ppi="ResetSLEJ"/>
  1705.  
  1706.     <data name="manager" calculate="OnlineSaleRefundInProgress,CheckNoTrans"/>
  1707.     <data name="cancel" calculate="OnlineSaleRefundInProgress"/>
  1708.  
  1709.     <include file="fuelSale.state" exclude="beanstore.reducedMemoryMode.fuelOff"/>
  1710.  
  1711.     <!-- Post Coupon -->
  1712.     <event name="Keyboard.postCoupon" permission="PostCoupon" next="postCoupon" />
  1713.     <data name="postCoupon" calculate="PostCoupon"/>
  1714.  
  1715.     <event name="Keyboard.giftCardBalanceInquiry" permission="GiftCardExternalCaptureConfigPPI" permissionFail="@giftCardBalanceInquiry" next="@giftCardExternalCaptureBalanceEnquiry"/>
  1716.  
  1717.     <event name="@giftCardExternalCaptureBalanceEnquiry" permission="ExternalCaptureBalanceEnquiryPPI" ppi="ExternalCaptureBalanceEnquiryPPI"/>
  1718.     <data name="externalCaptureBalanceEnquiry" value="10"/>
  1719.  
  1720.     <event name="@giftCardBalanceInquiry" permission="GiftCardBalanceInquiryPPI" next="baseGiftCardBalanceInquiry"/>
  1721.     <data name="giftCardBalanceInquiry" value="10"/>
  1722.  
  1723.     <event name="Keyboard.externalCaptureBalanceEnquiry" next="@giftCardExternalCaptureBalanceEnquiry"/>
  1724.    
  1725.     <!-- Customer Search by Phone Number -->
  1726.     <event name="Keyboard.telephone" permission="LoyaltyMemberSearchPermission" ppi="DeactivateAutoLogoff" next=",@telephoneSearch"/>
  1727.     <event name="@telephoneSearch" callSubstate="LoyaltyMemberTelephoneSearch.state" substateNext="@activateAutoLogoff,@activateAutoLogoff"/>
  1728.     <event name="@activateAutoLogoff" ppi="ActivateAutoLogoff"/>
  1729.     <data name="telephone" calculate="FindCustomerByPhoneNumber,PhoneSearchPermission"/>
  1730.    
  1731.     <!-- Automatic Loyalty Lookup on the PIN Pad -->
  1732.     <event name="AsyncPhoneNumber" ppi="PhoneNumberResponseHandlerPPI" next="@activateAutoLogoff,@processPhoneNumberCapturedFlow"/>
  1733.     <event name="@processPhoneNumberCapturedFlow" callSubstate="processPhoneNumberCaptured.state" substateNext="@activateAutoLogoff,@activateAutoLogoff"/>
  1734.    
  1735.     <!-- Remote Event Service -->
  1736.     <event name="Keyboard.remoteEventManagement" permission="DisplayRemMenuButtonPPI" ppi="DeactivateAutoLogoff" next=",@remoteEventManagement"/>
  1737.     <event name="@remoteEventManagement" callSubstate="RemItemImages.state" substateNext="@activateAutoLogoff,@activateAutoLogoff,@activateAutoLogoff"/>
  1738.  
  1739.     <data name="remoteEventManagement" calculate="DisplayRemMenuButtonPPI"/>
  1740.     <data name="remNoMessages" value="10"/>
  1741.     <data name="remMessagesWaiting" value="10"/>
  1742.     <data name="remOffNoMessages" value="10"/>
  1743.     <data name="remOffMessagesWaiting" value="10"/>
  1744.     <data name="displayPendingMessage" calculate="DisplayPendingMessagePPI"/>
  1745.    
  1746.     <!-- Money Transfer -->
  1747.     <data name="moneyTransferSend" calculate="CheckNoTrans"/>
  1748.     <event name="Keyboard.moneyTransferSend" permission="MoneyTransferInitPrompt" next="moneyTransfer"/>
  1749.  
  1750.   </state>
  1751.  
  1752.   <state name="baseGiftCardBalanceInquiry">
  1753.     <event name="Init" next="@init"/>
  1754.     <event name="@init" permission="SwipeGiftCardDetailPED" permissionFail="@promptGiftCard" next="@swipeGiftCardPED"/>
  1755.     <event name="@promptGiftCard" next="giftCardBalanceInquiryPromptGiftCard"/>
  1756.     <event name="@swipeGiftCardPED" next="giftCardBalanceInquirySwipeGiftCardPED"/>
  1757.     <event name="@checkGiftCard" ppi="GiftCardBalanceInquiryPPI" next="@exit,@basicItem,@getOtcBalanceInquiry"/>
  1758.     <event name="@getOtcBalanceInquiry" callSubstate="otcBalanceInquiry.state" substateNext="sale,sale"/>
  1759.     <event name="@basicItem" ppi="BasicItemData" next=",@item" />
  1760.     <event name="@item" callsubstate="itemSale.state" substateNext="sale,sale,sale,sale,sale,sale,sale,sale"/>
  1761.     <event name="@exit" next="sale"/>
  1762.   </state>
  1763.  
  1764.   <state name="giftCardBalanceInquiryPromptGiftCard" prompt="balanceInquiry" picture="%30s" page="left.phtm,right.phtm" frame="leftFrame,rightFrame" like="baseGiftCardBalanceInquiry">
  1765.     <event name="Scanner" next="@checkGiftCard"/>
  1766.     <event name="MSR" next="@checkGiftCard"/>
  1767.     <event name="Keyboard.Enter" next="@checkGiftCard"/>
  1768.     <event name="Keyboard.Esc" next="@exit"/>
  1769.   </state>
  1770.  
  1771.   <state name="giftCardBalanceInquirySwipeGiftCardPED" like="baseGiftCardBalanceInquiry">
  1772.     <event name="Init" next="@init"/>
  1773.     <event name="@init" ppi="SwipeGiftCardDetailPED" next="startSale,"/>
  1774.     <event name="SwipeGiftCardDetailPED.details" next="@checkGiftCard" comment="This event name is put on the InputQueue from the above PPI SwipeGiftCardDetailPED"/>
  1775.     <event name="@basicItem" ppi="BasicItemDataGiftCardSwipePED" next="@exit,@item"/>
  1776.   </state>
  1777.  
  1778.   <state name="voidNextItem" keyboard="keyboardSale.properties" prompt="ItemNumber" picture="%16x">
  1779.     <event name="Init" ppi="VoidInit"/>
  1780.     <event name="Keyboard.Enter" next="@void"/>
  1781.     <event name="Scanner" next="@void"/>
  1782.     <event name="@void" permission="CheckForGiftCardRefundLinesOnVoidNext" permissionFail="@exit" ppi="VoidNextItem" next="@exit,@recalculateCoupons,@autoVoidTransaction"/>
  1783.     <event name="@recalculateCoupons" callSubState="recalculateCoupons.state" substateNext="@exit,@exit,@exit"/>
  1784.     <event name="Keyboard.Esc" ppi="ClearDelayedAuth" next=",@exit"/>
  1785.     <event name="@exit" ppi="CheckAppState" next=",refund,sale"/>
  1786.  
  1787.     <event name="@autoVoidTransaction" permission="CheckForGiftCardRefundLinesOnVoidTransaction,VoidItemVoidTransaction" ppi="VoidItemVoidTransaction" next=",@autoVoidEftSessionEnd"/>
  1788.     <event name="@autoVoidEftSessionEnd" callSubstate="eftSessionEnd.state" substateNext="startSale,startSale"/>
  1789.  
  1790.     <!-- Item image selection -->
  1791.     <event name="Keyboard.productSelection" ppi="DeactivateAutoLogoff" next=",@productSelection"/>
  1792.     <event name="@productSelection" callSubstate="itemImages.state" substateNext="0,@autoLogoffStart,@autoLogoffStartVoid"/>
  1793.     <event name="@autoLogoffStart" ppi="ActivateAutoLogoff"/>
  1794.     <event name="@displayInitialCard"/>
  1795.     <event name="@autoLogoffStartVoid" ppi="ActivateAutoLogoff" next="@void,@void"/>
  1796.  
  1797.     <data name="escKey" value="10"/>
  1798.     <data name="operatorFunctions" value="10"/>
  1799.     <data name="transFunctions" value="10"/>
  1800.     <data name="productSelection" value="10"/>
  1801.     <data name="restrictedProductSelection" value="10"/>
  1802.   </state>
  1803.  
  1804.   <state name="kioskSale" prompt="ScanVoucher" page="left.phtm,right.phtm" frame="leftFrame,rightFrame">
  1805.     <event name="Keyboard.Esc" next="startSale"/>
  1806.     <event name="Scanner" ppi="KioskTransactionRecall" next="sale,sale"/>
  1807.     <event name="Keyboard.Enter" ppi="KioskTransactionRecall" next="sale,sale"/>
  1808.     <data name="priceEnquire" calculate="PriceEnquire"/>
  1809.     <data name="escKey" value="10"/>
  1810.     <data name="logoff" calculate="CheckNoTrans"/>
  1811.     <data name="manager" calculate="CheckNoTrans"/>
  1812.     <data name="total" calculate="Total"/>
  1813.     <data name="help" value="10"/>
  1814.     <data name="web" value="10"/>
  1815.   </state>
  1816.  
  1817.   <!-- Entry state to determine how we logon -->
  1818.   <state name="logon" page="openingPage.phtm,customerDisplayLoggedOff.phtm" frame="centreFrame,vgacd">
  1819.     <event name="Init" next="@init"/>
  1820.     <event name="@init" ppi="CheckKeyboard" next=",@initPersonality" />
  1821.     <event name="@initPersonality" ppi="ResetPersonality" next=",@resetCustomerLanguage"/>
  1822.     <event name="@resetCustomerLanguage" ppi="ResetCustomerLanguage" next="@setTillPersonality,@setTillPersonality"/>
  1823.     <event name="@setTillPersonality" ppi="SetTillPersonality" next="@CheckPersonalityTypeSelfCheckout,@CheckPersonalityTypeSelfCheckout"/>
  1824.     <event name="@CheckPersonalityTypeSelfCheckout" ppi="CheckPersonalityTypeSelfCheckout" next="@autoCrashRecoveryLogon,@deactivateAutoLogoff,@resumeSelfCheckout"/>
  1825.     <event name="@resumeSelfCheckout" ppi="AutoSwitchOperator" next="actualLogon,@SetScoPersonality,actualLogon,actualLogon,actualLogon,actualLogon,actualLogon,actualLogon"/>
  1826.     <event name="@SetScoPersonality" ppi="SetScoPersonality" next="startSaleEx,startSaleEx"/>
  1827.     <event name="@deactivateAutoLogoff" ppi="DeactivateAutoLogoff" next="preLogon,preLogon"/>
  1828.     <event name="@autoCrashRecoveryLogon" permission="AutoCrashRecoveryLogon" permissionFail="actualLogon" ppi="AutoCrashRecoveryLogon" next="actualLogon,@crashSecure,actualLogon,actualLogon,@crashSecure,@crashSecure,actualLogon,actualLogon"/>
  1829.     <event name="@crashSecure" callSubstate="crashSecure.state" substateNext="0,secureAfterLogon"/>
  1830.   </state>
  1831.  
  1832.   <state name="secureAfterLogon" page="screenLayout.phtm,customerDisplayLoggedOn.phtm" frame="centreFrame,vgacd" like="startSaleEx">
  1833.     <event name="Init" callSubState="lock.state" subStateNext=",,startSaleEx"/>
  1834.   </state>
  1835.  
  1836.   <!-- Landing spot based on personality that displays a simple UI prior to logon -->
  1837.   <state name="preLogon" page="preLogon.phtm,preLogonStatus.phtm" frame="contentsFrame,status">
  1838.     <event name="Init" ppi="RedLight" next="@SelfCheckoutPrinterStatus,@SelfCheckoutPrinterStatus"/>
  1839.     <event name="@SelfCheckoutPrinterStatus" ppi="SelfCheckoutPrinterStatus"/>
  1840.     <event name="Cache" ppi="CacheUtilities"/>
  1841.     <event name="Keyboard.gotoLogon" next="actualLogon"/>
  1842.   </state>
  1843.  
  1844.   <!--  The actual state where the user logs on. Normal path is to go through "logon" to get here -->
  1845.   <include file="logon.state"/>
  1846.   <!-- 6 numeric for Budgens -->
  1847.   <state name="baseLogon" prompt="UserID" picture="%9a" page="logon.phtm" frame="contentsFrame">
  1848.     <!-- See logonCDO -->
  1849.     <event name="Init" next="@init"/>
  1850.     <event name="Keyboard.remMessagesWaiting" next=""/>
  1851.     <event name="Keyboard.remOffMessagesWaiting" next=""/>
  1852.     <event name="@init" ppi="ResetLanguage" next="@setTillPersonality,@setTillPersonality"/>
  1853.     <event name="@setTillPersonality" ppi="SetTillPersonality" next="@tradingDateDisplay,@tradingDateDisplay"/>
  1854.     <event name="@tradingDateDisplay" ppi="TradingDateDisplay" next="@checkStoreOpen,@checkStoreOpen"/>
  1855.     <event name="@checkStoreOpen" ppi="CheckStoreOpen" next="start,@cacheUtilities"/>
  1856.     <event name="Cache" next="@cacheUtilities"/>
  1857.     <event name="@cacheUtilities" ppi="CacheUtilities" next="@mediaCacheCheck,@mediaCacheCheck"/>
  1858.     <event name="@mediaCacheCheck" ppi="MediaCacheCheck" next="@seqrRecoveryReceiptPrint,@seqrRecoveryReceiptPrint"/>
  1859.     <event name="@seqrRecoveryReceiptPrint" ppi="SeqrRecoveryPrint" />
  1860.     <event name="Keyboard.Enter" ppi="CheckCacheStatus"  next="badCacheVersionCeaseTradingNoOptions,@operatorLogon"/>
  1861.     <event name="@operatorLogon" ppi="OperatorLogon" permission="CheckStoreOpen" permissionFail="@closeTill" next="logon,@ChooseSelfCheckoutPersonality,logon,@forcedZRead,@checkForPasswordChange,@ChooseSelfCheckoutPersonality,,@operatorNotFound"/>
  1862.     <event name="@checkForPasswordChange" callSubstate="InitChangePassword.state" subStateNext="@ChooseSelfCheckoutPersonality,@init,@init,@ChooseSelfCheckoutPersonality"/>
  1863.     <event name="@ChooseSelfCheckoutPersonality" ppi="ChooseSelfCheckoutPersonality" next="@offLight,@AutoOperatorLogon"/>
  1864.     <event name="@offLight" ppi="OffLight" next="@overridePersonality,@overridePersonality"/>
  1865.     <event name="@AutoOperatorLogon" ppi="AutoOperatorLogon" next="logon,@overridePersonality,logon,@forcedZRead,@overridePersonality,@overridePersonality,logon,@operatorNotFound"/>
  1866.     <event name="@overridePersonality" ppi="SetTillPersonality" next="@startSaleEx,@startSaleEx"/>
  1867.     <event name="MSR" pnp="MSROperatorLogon" permission="CheckStoreOpen" permissionFail="@closeTill" next="logon,@startSaleEx,logon,@forcedZRead,@startSaleEx,@startSaleEx,,@operatorNotFound"/>
  1868.     <event name="Scanner" ppi="ScannedOperatorLogon" permission="CheckStoreOpen" permissionFail="@closeTill" next="logon,@startSaleEx,logon,@forcedZRead,@startSaleEx,@startSaleEx,,@operatorNotFound"/>
  1869.     <event name="@operatorNotFound" ppi="OperatorNotFoundMessage"/>
  1870.     <event name="@closeTill" ppi="CloseTill" next=",start"/>
  1871.     <event name="@forcedZRead" ppi="ForcedOperatorZRead" next=",@startSaleEx"/>
  1872.     <event name="Keyboard.F5"/>
  1873.     <event name="Timer" ppi="CheckStoreOpen" next="start,@timer"/>
  1874.     <event name="@timer" ppi="Timer"/>
  1875.     <event name="@startSaleEx" ppi="LogonReload" next="startSaleEx,startSaleEx"/>
  1876.     <event name="Keyboard.F2" ppi="PriceEnquirePPI" next=",@createDummyTxn"/>
  1877.     <event name="Keyboard.priceEnquire" ppi="PriceEnquirePPI" next=",@createDummyTxn"/>
  1878.     <event name="Keyboard.Esc" ppi="CheckPersonalityTypeSelfCheckout" next=",preLogon"/>
  1879.     <event name="@createDummyTxn" ppi="CreateDummyTxn" next=",@logonPriceEnquire"/>
  1880.     <event name="@logonPriceEnquire"  callSubstate="priceEnquire.state" substateNext="0,@priceEnquireCancel,@priceEnquireSold"/>
  1881.     <event name="@priceEnquireCancel" ppi="DestroyDummyTxn" next="@getKeyboard,@getKeyboard"/>
  1882.     <event name="@getKeyboard" ppi="CheckKeyboard"/>
  1883.     <event name="@priceEnquireSold" ppi="DestroyDummyTxn"/>
  1884.     <event name="priceEnquire"/>
  1885.     <data name="priceEnquire" value="10"/>
  1886.     <data name="popupKeyboardLogin" calculate="ToggleKeyboardLogin"/>
  1887.     <event name="AutoLogoff" comment="ensure auto logoff timer fails safe"/>
  1888.     <event name="Exit" ppi="ActivateAutoLogoff"/>
  1889.     <event name="PromotionsUpdate" ppi="DatabaseManager"/>
  1890.     <event name="CashDrawer" ppi="CashDrawerSupport"/>
  1891.     <event name="Keyboard.clockInOut"  permission="ClockInPublishOnlyPPI" permissionFail="@processClockInOut" next="@publishClockInInfo"/>
  1892.     <event name="@processClockInOut" callSubstate="clockInOut.state" substateNext="0"/>
  1893.     <event name="@publishClockInInfo" callSubstate="clockInPublishOnly.state" substateNext="0"/>
  1894.     <data name="clockInOut" calculate="ClockInOut"/>
  1895.  
  1896.     <event name="Keyboard.openCashDrawer" permission="OpenCashDrawerFromLogonScreenConfirmationPropertyChecker" permissionFail="@openCashDrawerFromLogonScreen" ppi="OpenCashDrawerFromLogonScreenConfirmation" next=",@openCashDrawerFromLogonScreen"/>
  1897.     <event name="@openCashDrawerFromLogonScreen" permission="OpenCashDrawerFromLogonScreen" ppi="OpenCashDrawerFromLogonScreen" next="@openCashDrawerFromLogonScreenFinish,@openCashDrawerFromLogonScreenFinish"/>
  1898.     <event name="@openCashDrawerFromLogonScreenFinish" ppi="EOT" next=",@openCashDrawer"/>
  1899.     <event name="@openCashDrawer" ppi="CashDrawerOpen"/>
  1900.     <data name="openCashDrawer" calculate="OpenCashDrawerFromLogonScreenPropertyChecker,TillHasDrawer"/>
  1901.  
  1902.     <event name="Keyboard.testPrinter" ppi="ValidatePrinterConnection"/>
  1903.     <data name="testPrinter" value="10"/>
  1904.  
  1905.     <event name="Keyboard.zRead" callSubstate="displayREMMessages.state" substatenext=",@zreadClearSession"/>
  1906.     <event name="@zreadClearSession" permission="ClearSession" ppi="ClearSession" next=",@zReadCashDrawerOpen"/>
  1907.     <event name="@zReadCashDrawerOpen" ppi="ZReadCashDrawerOpen" next=",@zRead,@zRead"/>
  1908.     <event name="@zRead" permission="OperatorAccountable" permissionFail="@zReadTill" ppi="ForcedOperatorZReadWithEndSession"/>
  1909.     <event name="@zReadTill" ppi="ForcedTillZReadWithEndSession"/>
  1910.     <data name="zRead" value="10"/>
  1911.  
  1912.   </state>
  1913.  
  1914.   <include file="logonCDO.state"/>
  1915.   <state name="baseLogonCDO" like="logon">
  1916.     <event name="Init" ppi="CashDrawerForceOpen" next="@init,@init,@init"/>
  1917.     <event name="@openCash" ppi="CashDrawerForceOpen"/>
  1918.     <event name="CashDrawer"/>
  1919.     <event name="Error.CashDrawer" next="@openCash"/>
  1920.     <event name="AutoLogoff" comment="ensure auto logoff timer fails safe"/>
  1921.   </state>
  1922.  
  1923.   <include file="logonInitialisations.state"/>
  1924.   <!-- State to run all initialisation functions -->
  1925.   <state name="baseLogonInitialisations" frame="centreFrame">
  1926.     <event name="Init" next="@init"/>
  1927.     <event name="@init" callSubstate="InitChangePassword.state" subStateNext="0,@init,@initFailed,@initFloat"/>
  1928.     <event name="@initFloat" callSubstate="InitFloat.state" subStateNext="0,@initFailedWithOperatorAccountableCheck,@initCheckWeigh,@initCheckWeigh" />
  1929.     <event name="@initCheckWeigh" callSubstate="InitCheckWeigh.state" subStateNext="@initCheckWeigh,@initFailed,@tradingDateReminder,@tradingDateReminder"/>
  1930.     <event name="@tradingDateReminder" ppi="TradingDateReminder" next="@checkTillPickup,@checkTillPickup" />
  1931.     <event name="@checkTillPickup" permission="CheckTillPickup" permissionFail="@initSucceeded" ppi="CheckTillPickup" next="@initSucceeded,@initSucceeded" />
  1932.  
  1933.     <event name="@initFailed" ppi="LoginInitialisationFinish" next="@logoff,@logoff"/>
  1934.     <event name="@initFailedWithOperatorAccountableCheck" ppi="LoginInitialisationFinish" next="@operatorAccountableCheck,@operatorAccountableCheck"/>
  1935.     <event name="@operatorAccountableCheck" permission="OperatorAccountable,RemoveCashDrawerMessage" permissionFail="@logoff" ppi="LogoffSelect" next="@resetLanguage,@zRead,@initFloat"/>
  1936.     <event name="@resetLanguage" ppi="ResetLanguage" next="@resetCustomerLanguage,@resetCustomerLanguage"/>
  1937.     <event name="@resetCustomerLanguage" ppi="ResetCustomerLanguage" next="@logoff,@logoff"/>
  1938.     <event name="@zRead" permission="CheckNoTrans,OperatorLogoff" ppi="ForcedOperatorZReadOnLogoff" next="@logoffCDO,@logoffCDO"/>
  1939.     <event name="@logoffCDO" ppi="OperatorLogoff" next="@autoLogoffCDO,@autoLogoffCDO"/>
  1940.     <event name="@autoLogoffCDO" ppi="DeactivateAutoLogoff" next="logonCDO,logonCDO"/>
  1941.     <event name="@initSucceeded" ppi="CloseKeyboard" next="@clockInReminder,@clockInReminder"/>
  1942.     <event name="@clockInReminder" ppi="ClockInReminderPPI" next="@initSucceededFinal,@initSucceededFinal" />
  1943.     <event name="@initSucceededFinal" callSubstate="eftLogin.state" substateNext="@eftSucceeded" />
  1944.     <event name="@eftSucceeded" ppi="LoginInitialisationFinish" next="startSale,startSale"/>
  1945.     <event name="@logoff" permission="CheckNoTrans,OperatorLogoff" ppi="OperatorLogoff" next="@eftSAFClear,@eftSAFClear"/>
  1946.     <event name="@eftSAFClear" callSubstate="eftSAFClear.state" substateNext="@autoLogoff,@autoLogoff"/>
  1947.     <event name="@autoLogoff" ppi="DeactivateAutoLogoff" next="logon,logon"/>
  1948.  
  1949.     <event name="@continue" next="@init"/>
  1950.   </state>
  1951.  
  1952.   <state name="splitpack" prompt="ItemNumberSplitPack" picture="%13x" page="left.phtm,right.phtm" frame="leftFrame,rightFrame">
  1953.     <event name="Network" ppi="NetworkError"/>
  1954.  
  1955.     <event name="Keyboard.Enter" ppi="BarcodeRouter"/>
  1956.     <event name="Scanner" ppi="BarcodeRouter"/>
  1957.     <event name="BarcodeRouterSupport.BasicItemBarcode" next="@basicItem"/>
  1958.     <event name="@basicItem" ppi="BasicItemData" next=",@item"/>
  1959.     <event name="@item" callSubstate="itemSale.state" substateNext="0,@cancelSplitPack,@cancelSplitPack,,,,,startSale"/>
  1960.  
  1961.     <event name="Keyboard.Esc" next="@cancelSplitPack"/>
  1962.     <event name="@cancelSplitPack" ppi="CancelSplitPack" next="@cancelQuantity,@cancelQuantity"/>
  1963.     <event name="@cancelQuantity" ppi="CancelQuantity" next="@cancelLineRefund,@cancelLineRefund"/>
  1964.     <event name="@cancelLineRefund" ppi="CancelLineRefund" next="sale,sale"/>
  1965.     <data name="priceEnquire" calculate="PriceEnquire"/>
  1966.     <data name="escKey" value="10"/>
  1967.     <data name="logoff" calculate="CheckNoTrans"/>
  1968.     <data name="manager" calculate="CheckNoTrans"/>
  1969.     <data name="total" calculate="Total"/>
  1970.     <data name="help" value="10"/>
  1971.     <data name="priceGroup" calculate="VariablePrice"/>
  1972.   </state>
  1973.  
  1974.   <state name="kioskRecall" prompt="ScanVoucher" page="left.phtm,right.phtm" frame="leftFrame,rightFrame">
  1975.     <event name="Keyboard.Esc" next="startSale"/>
  1976.     <event name="Scanner" ppi="KioskTransactionRecall" next="sale,sale"/>
  1977.     <event name="Keyboard.Enter" ppi="KioskTransactionRecall" next="sale,sale"/>
  1978.     <data name="priceEnquire" calculate="PriceEnquire"/>
  1979.     <data name="escKey" value="10"/>
  1980.     <data name="logoff" calculate="CheckNoTrans"/>
  1981.     <data name="manager" calculate="CheckNoTrans"/>
  1982.     <data name="total" calculate="Total"/>
  1983.     <data name="help" value="10"/>
  1984.     <data name="web" value="10"/>
  1985.   </state>
  1986.  
  1987.   <state name="mediaexchangenegtender" prompt="EnterPayOut" like="tender">
  1988.     <event name="Keyboard.Esc" ppi="AutoVoidTransaction" next=",startSale,startSale"/>
  1989.     <event name="Keyboard.F29"/>
  1990.     <event name="Keyboard.payCardTender"/>
  1991.     <data name="chequeTender" value="0"/>
  1992.     <data name="payCardTender" value="0"/>
  1993.   </state>
  1994.  
  1995.   <state name="eot" page="right.phtm" frame="rightFrame">
  1996.     <event name="Init" ppi="EOT" next="startSale,startSale"/>
  1997.     <data name="priceEnquire" calculate="PriceEnquire"/>
  1998.     <data name="escKey" value="0"/>
  1999.     <data name="logoff" calculate="CheckNoTrans,CheckParkedOrdersAllowed"/>
  2000.     <data name="manager" calculate="CheckNoTrans"/>
  2001.     <data name="total" calculate="Total"/>
  2002.     <data name="help" value="10"/>
  2003.     <data name="web" value="10"/>
  2004.   </state>
  2005.  
  2006.   <state name="mediaexchange" prompt="EnterPayIn" picture="%q" page="tender.phtm" frame="rightFrame">
  2007.     <event name="Init" ppi="MediaExchangeInit"/>
  2008.     <event name="@usdMedia" ppi="MediaExchangeUSD" next=",mediaexchangenegtender"/>
  2009.     <event name="@cashMedia" ppi="MediaExchangeCash" next=",mediaexchangenegtender"/>
  2010.     <event name="@chequeMedia" ppi="MediaExchangeCheque" next=",mediaexchangenegtender"/>
  2011.     <event name="Keyboard.F1" next="@usdMedia"/>
  2012.     <event name="Keyboard.F27" next="@cashMedia"/>
  2013.     <event name="Keyboard.F28" next="@chequeMedia"/>
  2014.     <event name="Keyboard.Esc" ppi="AutoVoidTransaction" next=",startSale,startSale"/>
  2015.     <event name="Keyboard.Enter" ppi="ChooseMedia" next=",@cashMedia,@usdMedia,@chequeMedia"/>
  2016.     <event name="Keyboard.dollarTender" next="@usdMedia"/>
  2017.     <event name="Keyboard.cashTender" next="@cashMedia"/>
  2018.     <event name="Keyboard.chequeTender" next="@chequeMedia"/>
  2019.     <event name="Keyboard.tender20" ppi="MediaExchangeCash20" next=",mediaexchangenegtender"/>
  2020.     <event name="Keyboard.tender10" ppi="MediaExchangeCash10" next=",mediaexchangenegtender"/>
  2021.     <event name="Keyboard.tender5" ppi="MediaExchangeCash5" next=",mediaexchangenegtender"/>
  2022.     <data name="dollarTender" value="10"/>
  2023.     <data name="cashTender" value="10"/>
  2024.     <data name="chequeTender" value="10"/>
  2025.     <data name="tender20" value="10"/>
  2026.     <data name="tender10" value="10"/>
  2027.     <data name="tender5" value="10"/>
  2028.     <data name="priceEnquire" calculate="PriceEnquire"/>
  2029.     <data name="escKey" value="10"/>
  2030.     <data name="logoff" calculate="CheckNoTrans"/>
  2031.     <data name="manager" calculate="CheckNoTrans"/>
  2032.     <data name="total" calculate="Total"/>
  2033.     <data name="help" value="10"/>
  2034.   </state>
  2035.  
  2036.   <state name="logonInit" prompt="Loading.." picture="%0s" page="openingPage.phtm" frame="centreFrame">
  2037.     <event name="Init" next="@init"/>
  2038.     <event name="@init" ppi="CheckDispenseLevels" next="@init2,@init2"/>    
  2039.     <event name="@init2" ppi="LogonInit" next=",@preloadAccessPoints"/>
  2040.     <event name="@preloadAccessPoints" ppi="PreloadAccessPoints" next="@loadCouponRules,@loadCouponRules"/>
  2041.     <event name="@loadCouponRules" ppi="LoadCouponRules" next="@timer,@timer"/>
  2042.     <event name="Keylock" ppi="LogonInit" next=",@timer"/>
  2043.     <event name="@timer" ppi="Timer" next=",@initialisePinpad"/>
  2044.     <event name="@initialisePinpad" callSubstate="eftPinpadInitialise.state" substateNext="@checkCardAuthorization,@checkCardAuthorization"/>
  2045.     <event name="@checkCardAuthorization" ppi="CheckCardAuthorization" next="@eftLogout,@eftLogout"/>
  2046.     <event name="@eftLogout" ppi="EFTLogout" next="@eftLogin,@eftLogin"/>
  2047.     <event name="@eftLogin" ppi="EFTLogin" next="logon,logon,@eftLogout"/>
  2048.  
  2049.     <event name="Cache" ppi="CacheUtilities"/>
  2050.     <event name="@continue" next="@init"/>
  2051.   </state>
  2052.  
  2053.   <state name="noSale" prompt="EnterAmount" picture="%q" page="left.phtm,right.phtm" frame="leftFrame,rightFrame">
  2054.     <event name="Init" next="@init"/>
  2055.     <event name="@init" ppi="NoSale" next="@finish,@finish,startSale"/>
  2056.     <event name="@finish" ppi="EOT" next=",@removeAuthority"/>
  2057.     <event name="@removeAuthority" ppi="RemoveAuthority" next="@openCashDrawer,@openCashDrawer"/>
  2058.     <event name="@openCashDrawer" ppi="CashDrawerOpen" next="cashdrawer,cashdrawer,cashdrawer"/>
  2059.  
  2060.     <event name="@continue" next="@init"/>
  2061.     <event name="Exit" ppi="CashDrawerDelayTimer"/>
  2062.   </state>
  2063.  
  2064.   <state name="startSale" prompt="FlightCode" picture="%7s">
  2065.     <event name="Init" ppi="CheckPersonalityTypeSelfCheckout" next="startSaleRetail,startSaleSelfCheckout,startSaleRetail"/>
  2066.     <event name="@EFTStatus" ppi="EFTStatus" next="@resetCustomerLanguage,@resetCustomerLanguage"/>
  2067.     <event name="@resetCustomerLanguage" ppi="ResetCustomerLanguage" next="@init,@init"/>
  2068.     <event name="@init" ppi="Rekey" permission="Rekey" permissionFail="@checkParkedOrdersAllowed" next="@checkParkedOrdersAllowed,@checkParkedOrdersAllowed"/>
  2069.  
  2070.     <event name="@checkParkedOrdersAllowed" permission="CheckParkedOrdersAllowed" permissionfail="@start" next="@checkForParkedOrder"/>
  2071.     <event name="@checkForParkedOrder" permission="OrderQueueAlive" permissionfail="@start" ppi="GetOrderByOperator" next="@start,@sale,@start,@start"/>
  2072.  
  2073.     <event name="@start" callSubstate="simpleStartSale.state" substateNext="0,@start,start,@sale,logon,startrefund,recall,noSale,badCacheVersionCeaseTrading,badCacheVersionCeaseTradingNoOptions,logonCDO"/>
  2074.     <event name="@sale" callSubstate="preSaleTasks.state" substateNext="0,sale,logon"/>
  2075.  
  2076.     <data name="priceEnquire" calculate="PriceEnquire"/>
  2077.     <data name="escKey" value="10"/>
  2078.     <data name="logoff" calculate="CheckNoTrans,CheckParkedOrdersAllowed"/>
  2079.     <data name="manager" calculate="CheckNoTrans"/>
  2080.     <data name="total" calculate="Total"/>
  2081.     <data name="help" value="10"/>
  2082.     <data name="web" value="10"/>
  2083.  
  2084.     <event name="@continue" next="@init"/>
  2085.   </state>
  2086.  
  2087.   <state name="startSaleRetail" page="screenLayout.phtm" frame="centreFrame" like="startSale">
  2088.     <event name="Init" next="@EFTStatus"/>
  2089.   </state>
  2090.  
  2091.   <state name="startSaleSelfCheckout" page="startScreenLayout.phtm" frame="centreFrame" like="startSale">
  2092.     <event name="Init" next="@redrawEJ"/>
  2093.     <event name="@redrawEJ" ppi="RefreshEJFull" next="@EFTStatus,@EFTStatus"/>
  2094.   </state>
  2095.  
  2096.   <state name="badCacheVersionCeaseTrading" page="openingPage.phtm" frame="centreFrame">
  2097.     <event name="Init" callSubstate="badCacheVersionCeaseTrading.state" substateNext="logon,logon"/>
  2098.   </state>
  2099.  
  2100.   <state name="badCacheVersionCeaseTradingNoOptions" page="openingPage.phtm" frame="centreFrame">
  2101.     <event name="Init" callSubstate="badCacheVersionCeaseTradingNoOptions.state" substateNext="logon"/>
  2102.   </state>
  2103.  
  2104.   <state name="addItemUnknown" prompt="ItemUnknownAdd" picture="%13x">
  2105.     <event name="Init" ppi="DisplayPosInputNumericKeyboard"/>
  2106.     <event name="Keyboard.Enter" ppi="AddItemUnknown"/>
  2107.     <event name="Scanner" ppi="AddItemUnknown"/>
  2108.     <event name="Keyboard.Esc" next="managerMenu"/>
  2109.   </state>
  2110.  
  2111.   <state name="removeItemUnknown" prompt="ItemUnknownRemove" picture="%13x">
  2112.     <event name="Keyboard.Enter" ppi="RemoveItemUnknown"/>
  2113.     <event name="Scanner" ppi="RemoveItemUnknown"/>
  2114.     <event name="Keyboard.Esc" next="managerMenu"/>
  2115.   </state>
  2116.  
  2117.   <state name="rewardsCard" prompt="RewardsCard" picture="%30a">
  2118.     <event name="Keyboard.Enter" next="@rewardsCardCapture"/>
  2119.     <event name="Scanner" next="@rewardsCardCapture"/>
  2120.     <event name="@rewardsCardCapture" ppi="CaptureRewardsCard" next="@message,@use"/>
  2121.     <event name="@message" ppi="InvalidRewardCardMessage" next=","/>
  2122.     <event name="@use" ppi="AddRewardsCardLine" next="baseSale,baseSale"/>
  2123.     <event name="Keyboard.Esc" next="baseSale"/>
  2124.   </state>
  2125.  
  2126.   <state name="baseSaleNewGiftCard">
  2127.     <event name="Init" next="@init"/>
  2128.     <event name="@init" permission="SwipeGiftCardDetailPED" permissionFail="@promptGiftCard" next="@swipeGiftCardPED"/>
  2129.     <event name="@promptGiftCard" next="saleNewGiftCardPromptGiftCard"/>
  2130.     <event name="@swipeGiftCardPED" next="saleNewGiftCardSwipeGiftCardPED"/>
  2131.     <event name="@item" callsubstate="itemSale.state" substateNext="sale,sale,sale,sale,sale,sale,sale,startSale"/>
  2132.     <event name="@exit" next="startSale"/>
  2133.   </state>
  2134.  
  2135.   <state name="saleNewGiftCardPromptGiftCard" prompt="SaleNewGiftCardPrompt" picture="%30x" like="baseSaleNewGiftCard">
  2136.     <event name="Keyboard.Enter" next="@basicItem"/>
  2137.     <event name="Scanner"  next="@basicItem"/>
  2138.     <event name="Keyboard.Esc" next="@exit"/>
  2139.     <event name="@basicItem" ppi="BasicItemData" next="@exit,@processGiftcard"/>
  2140.     <event name="@processGiftcard" ppi="SaleGiftCard" next="@exit,@item"/>
  2141.   </state>
  2142.  
  2143.   <state name="saleNewGiftCardSwipeGiftCardPED" like="baseSaleNewGiftCard">
  2144.     <event name="Init" next="@init"/>
  2145.     <event name="@init" ppi="SwipeGiftCardDetailPED" next="startSale,"/>
  2146.     <event name="SwipeGiftCardDetailPED.details" next="@basicItem" comment="This event name is put on the InputQueue from the above PPI SwipeGiftCardDetailPED"/>
  2147.     <event name="@basicItem" ppi="BasicItemDataGiftCardSwipePED" next="@exit,@item"/>
  2148.   </state>
  2149.  
  2150.   <state name="giftCardAsChange" prompt="SaleNewGiftCardPrompt" picture="%30x">
  2151.     <event name="Keyboard.Enter" next="@basicItem"/>
  2152.     <event name="Scanner"  next="@basicItem"/>
  2153.     <event name="Keyboard.Esc" ppi="OverTenderSupportCancel" next=",change"/>
  2154.     <event name="@basicItem" ppi="BasicItemDataNonBarcodeReplacement" next=",@processGiftcard"/>
  2155.     <event name="@processGiftcard" ppi="SaleGiftCard" next=",@item"/>
  2156.     <event name="@item" permission="SaleGiftCard" permissionfail="@overTenderSupport" callsubstate="itemSale.state" substateNext="change,change,@overTenderSupport,change,change,@overTenderSupport,change,startSale"/>
  2157.     <event name="@overTenderSupport" ppi="OverTenderSupport" next="change,giftCardAsChange,change"/>
  2158.   </state>
  2159.  
  2160.   <state name="stayInProductSelection" page="stayInProductionSelectionMode.phtm,itemImagesMenuSIPS.phtm" frame="leftFrame,rightFrame" like="sale">
  2161.     <event name="EJ" next=","/>
  2162.     <event name="Init" ppi="RefreshEJ" next=",@sipsInit"/>
  2163.     <event name="@sipsInit" ppi="SIPSItemImageInit" next="@clearCategory,@clearCategory"/>
  2164.     <event name="@clearCategory" ppi="SIPSClearCategory" next="@categoryReturn,@categoryReturn"/>
  2165.     <event name="@categoryReturn" ppi="SIPSCategoryReturn" next="@init,@init"/>
  2166.  
  2167.     <event name="Keyboard.setItemImageCategory" ppi="SIPSItemImageCategoryPPI"/>
  2168.     <event name="Keyboard.sellItem" audit="Item selected" ppi="ProductSelectionStore" next="@setDialogNotDisposedFinish,@setDialogNotDisposedFinish"/>
  2169.     <event name="@sellItemClear" ppi="SIPSClearCategory" next="@setDialogNotDisposedFinish,@setDialogNotDisposedFinish"/>
  2170.     <event name="@setDialogNotDisposedFinish" ppi="SetDialogNotDisposed" next=",@sellItemFinish"/>
  2171.     <event name="@sellItemFinish" ppi="SIPSItemImageFinish" next="@checkTill,@checkTill,@checkTill"/>
  2172.  
  2173.     <event name="Keyboard.itemImagesFirstPage" audit="Item Images First Page" ppi="SIPSItemImageFirstPPI"/>
  2174.     <event name="Keyboard.itemImagesPreviousPage" audit="Item Images Previous Page" ppi="SIPSItemImagePreviousPPI"/>
  2175.     <event name="Keyboard.itemImagesNextPage" audit="Item Images Next Page" ppi="SIPSItemImageNextPPI"/>
  2176.     <event name="Keyboard.itemImagesLastPage" audit="Item Images Last Page" ppi="SIPSItemImageLastPPI"/>
  2177.     <event name="@setDialogNotDisposedCancel" ppi="SetDialogNotDisposed" next=",@finish"/>
  2178.     <event name="Keyboard.returnToRetail" audit="Return To Sale" ppi="SIPSClearCategory" next=",@finish"/>
  2179.     <event name="@finish" ppi="SIPSItemImageFinish" next="sale,sale,sale"/>
  2180.  
  2181.     <data name="returnToRetail" value="10"/>
  2182.     <data name="itemImagesFirstPage" calculate="SIPSItemImageFirstPPI"/>
  2183.     <data name="itemImagesPreviousPage" calculate="SIPSItemImagePreviousPPI"/>
  2184.     <data name="itemImagesNextPage" calculate="SIPSItemImageNextPPI"/>
  2185.     <data name="itemImagesLastPage" calculate="SIPSItemImageLastPPI"/>
  2186.     <data name="sellItem" value="10"/>
  2187.     <data name="setItemImageCategory" value="10"/>
  2188.     <data name="returnToRetail" calculate="PriceEnquire"/>
  2189.   </state>
  2190.  
  2191.   <state name="giftCardConsolidation" prompt="ScanGiftCard" picture="%30s" page="left.phtm,right.phtm" frame="leftFrame,rightFrame">
  2192.     <event name="Init" next="@init"/>
  2193.     <event name="@init" ppi="GiftCardConsolidationInit" next="@cancelConsolidation,@continue"/>
  2194.     <event name="Keyboard.Esc" next="@cancelConsolidation"/>
  2195.     <event name="@cancelConsolidation" ppi="CancelGiftCardConsolidation" next="@voidTransaction,@voidTransaction"/>
  2196.     <event name="@voidTransaction" ppi="VoidTransactionNoPrompt" next="startSale,startSale"/>
  2197.     <event name="Keyboard.giftCardConsolidate" next="@completeConsolidate"/>
  2198.     <event name="@completeConsolidate" permission="GiftCardConsolidationInit" ppi="CompleteGiftCardConsolidation" next="@voidTransaction,eot,@completeConsolidate"/>
  2199.     <event name="Keyboard.Enter" ppi="GiftCardScannedMediaCheck"  next="@invalidGiftCard,@processGiftCard"/>
  2200.     <event name="Scanner" ppi="GiftCardScannedMediaCheck" next="@invalidGiftCard,@processGiftCard"/>
  2201.     <event name="MSR" ppi="ValueCardMSRInputPPI" next="@invalidGiftCard,@invalidGiftCard,@processGiftCard"/>
  2202.     <event name="@invalidGiftCard" ppi="InvalidGiftCard"/>
  2203.     <event name="@processGiftCard" ppi="GiftCardConsolidateCard" next="@continue,@continue,@cancelConsolidation"/>
  2204.     <event name="@continue"/>
  2205.     <data name="escKey" value="10"/>
  2206.     <data name="logoff" value="0"/>
  2207.     <data name="giftCardConsolidate" calculate="GiftCardConsolidateCard"/>
  2208.   </state>
  2209.  
  2210.   <state name="baseGiftCardTopup">
  2211.     <event name="Init" next="@init"/>
  2212.     <event name="@init" permission="SwipeGiftCardDetailPED" permissionFail="@promptGiftCard" next="@swipeGiftCardPED"/>
  2213.     <event name="@promptGiftCard" next="giftCardTopupPromptGiftCard"/>
  2214.     <event name="@swipeGiftCardPED" next="giftCardTopupSwipeGiftCardPED"/>
  2215.     <event name="@processGCTopup" ppi="GiftCardTopup" next="@basicItem,@basicItem" />
  2216.     <event name="@basicItem" ppi="BasicItemData" next=",@item" />
  2217.     <event name="@item" callsubstate="itemSale.state" substateNext="sale,sale,sale,sale,sale,sale,sale,startSale"/>
  2218.     <event name="@exit" next="startSale"/>
  2219.   </state>
  2220.  
  2221.   <state name="giftCardTopupPromptGiftCard" prompt="ScanGiftCard" picture="%30s" page="left.phtm,right.phtm" frame="leftFrame,rightFrame" like="baseGiftCardTopup">
  2222.     <event name="Keyboard.Enter" next="@processGCTopup"/>
  2223.     <event name="Scanner" next="@processGCTopup,@processGCTopup" />
  2224.     <event name="MSR" ppi="ValueCardMSRInputPPI" next=",,@processGCTopupMSR"/>
  2225.     <event name="@processGCTopupMSR" ppi="GiftCardTopup" next="@item,@item" />
  2226.     <event name="Keyboard.Esc" next="@exit"/>
  2227.     <data name="logoff" value="0"/>
  2228.     <data name="giftCardTopup" value="10" />
  2229.   </state>
  2230.  
  2231.   <state name="giftCardTopupSwipeGiftCardPED" like="baseGiftCardTopup">
  2232.     <event name="Init" next="@init"/>
  2233.     <event name="@init" ppi="SwipeGiftCardDetailPED" next="@exit,"/>
  2234.     <event name="SwipeGiftCardDetailPED.details" next="@processGCTopup" comment="This event name is put on the InputQueue from the above PPI SwipeGiftCardDetailPED"/>
  2235.     <event name="@basicItem" ppi="BasicItemDataGiftCardSwipePED" next="@exit,@item"/>
  2236.   </state>
  2237.  
  2238.   <state name="baseGiftCardBalanceAdjustment" like="baseManagerMenu">
  2239.     <event name="Init" next="@init"/>
  2240.     <event name="@init" permission="SwipeGiftCardDetailPED" permissionFail="@processBalanceAdjustment" next="@swipeGiftCardPED"/>
  2241.     <event name="@swipeGiftCardPED" next="giftCardBalanceAdjustmentSwipeGiftCardPED"/>
  2242.     <event name="@processBalanceAdjustment" permission="GiftCardBalanceAdjustment" ppi="GiftCardBalanceAdjustment" next="@fail,@success"/>
  2243.     <event name="@fail" next="@checkForGiftCardTransactionToVoid"/>
  2244.     <event name="@success" next="@giftCardTotal"/>
  2245.   </state>
  2246.  
  2247.   <state name="giftCardBalanceAdjustmentSwipeGiftCardPED" like="baseGiftCardBalanceAdjustment">
  2248.     <event name="Init" next="@init"/>
  2249.     <event name="@init" ppi="SwipeGiftCardDetailPED" next="@fail,"/>
  2250.     <event name="SwipeGiftCardDetailPED.details" next="@processBalanceAdjustment" comment="This event name is put on the InputQueue from the above PPI SwipeGiftCardDetailPED"/>
  2251.   </state>
  2252.  
  2253.   <state name="externalGiftCardTopup" page="left.phtm,right.phtm" frame="leftFrame,rightFrame">
  2254.     <event name="Scanner" ppi="GiftCardTopup" next="@basicItem,@basicItem" />
  2255.     <event name="@basicItem" ppi="BasicItemData" next=",@item" />
  2256.     <event name="@item" callsubstate="itemSale.state" substateNext="sale,sale,sale,sale,sale,sale,sale,startSale"/>
  2257.     <event name="Keyboard.Esc" next="startSale"/>
  2258.   </state>
  2259.  
  2260.   <state name="eftProcess" comment="comes here only when eft=datacash and trans contains card payment">
  2261.     <event name="Init" next="@transactionPrintEftProcess"/>
  2262.     <event name="@transactionPrintEftProcess" ppi="TransactionPrintEftProcess" next="@payCardProcess,@transactionPrint"
  2263.            comment="route to PayCardProcess.state to wait for printMerchantReceipt,printCustomerReceipt,endTransaction; route to transactionPrint at end"/>
  2264.     <event name="@payCardProcess" callSubstate="PayCardProcess.state"
  2265.            substateNext="@transactionPrintEftProcess,@transactionPrintEftProcess,@transactionPrintEftProcess,@transactionPrintEftProcess"
  2266.            comment="called for each card, routes back for next one"/>
  2267.     <event name="@transactionPrint" pnp="TransactionPrint" next="1,3"/>
  2268.     <event name="Exit" ppi="SetDialogNotDisposed"/>
  2269.   </state>
  2270.  
  2271. </statefile>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top