Summary

This document describes the installation procedure used to add support for the Sparkfly Platform to the Micros Simphony 2 systems.

Prerequisites

To install the Sparkfly Simphony 2 integration, you will need to have obtained the following from your Sparkfly account management team:

System Requirements

OS Windows 7 or above
.NET Framework .NET Framework 4.5.2
Network Outbound access from the Simphony 2 OpsClient/Service Host server to posapi.sparkfly.com:443
Simphony Simphony 2 POS server version >= 2.x
Simphony PMS/SIM Interface licensed and active

Sparkfly strongly recommends upgrading to a modern operating system, as Windows XP is no longer receiving security updates, and Windows 7 will stop receiving updates in January of 2020. The installer for .NET Framework 4.5.2 can be downloaded here.

Installation Overview

The following is an overview of the installation steps:

Installation

Configure SIM Interface for the Sparkfly Micros Gateway

This section defines the Sparkfly Micros Gateway specific settings to be used on the Interfaces settings within EMC. By enabling this interface, the Sparkfly Micros Gateway will receive SIM messages from the Simphony 2 system.

  1. Login to EMC
  2. Choose EnterpriseSetupInterfacesIns
  3. Choose an object number to add the record as
  4. Enter Sparkfly for the desired Record Name (or other if desired) and click OK
  5. Select the newly created record to go to the Forms view and set the values:
General Tab
Communication NameSet to an easy to remember name. Typically "Sparkfly"
Interface Type0-PMS/SIM
Communications Type1-TCP
TimeoutDesired value in seconds (Recommended 15 seconds)
Ping FrequencyDesired value in seconds (Default or 0 means 30 seconds)
Options Tab
TCP Host NameThis should be the IP address of the device that will be running Sparkfly Micros Gateway.
Port NumberThe port number the Sparkfly Micros Gateway is litening on. By default the Sparkfly Micros Gateway listens on 15009.
OptionsCheck the following option bits:
#9: Determine Ping Status
#5: Use 9 digits for Terminal IDs
Properties Tab
PropertiesSelect the properties this interface will use
Service Host Tab
Service HostChoose the Service Host this interface will run on — connections to the Sparkfly Host will be established from this Service Host

The configuration should look similar to this:

General Tab Options Tab Properties Tab Service Host Tab

Install and Configure Sparkfly ISL Files

  1. On the EMC server, Download the ISL files provided by Sparkfly and copy them to a temporary folder on the disk.
  2. On the Locations tree, select EnterpriseSetupExtension Application → Ins
  3. Enter Sparkfly for the Extension Application Name and click OK.
  4. In the Table View, from the Interface ellipses, choose the Interface you created when creating the SIM interface in the previous step. Click Save
  5. Double-click the new Sparkfly record to switch to Forms View.

For each ISL file included in the Sparkfly ISL Package, an entry will need to be created by clicking Insert Application Content. Use the table below as a reference for each setting.

Zoneable Key Content Type Disk File Name Import File Name Option Bits Description
Sparkfly 19 - Sim Script Sparkfly.isl ✓ Main SIM Content Main Sparkfly script
Sparkfly.Core.Site 19 - Sim Script Sparkfly.Core.Site.isl Sparkfly.Core.Site.isl (none) Site specific setup variables
Sparkfly.Core.RxMsgEvents 19 - Sim Script Sparkfly.Core.RxMsgEvents.isl Sparkfly.Core.RxMsgEvents.isl (none) Events handling responses from Sparkfly Server
Sparkfly.Core.Subs 19 - Sim Script Sparkfly.Core.Subs.isl Sparkfly.Core.Subs.isl (none) Common subroutines which works on all Oracle Platforms
Sparkfly.SimpII.Subs 19 - Sim Script Sparkfly.SimpII.Subs.isl Sparkfly.SimpII.Subs.isl (none) Subroutines specific to Simphony II platform

Once this is complete, the settings should be similar to this:

Extension Application Content

Setup Sparkfly Discount

The Sparkfly Extenstion Applic=ation relies on a pre-existing Discount to function properly.

  1. Login to EMC
  2. On the Locations tree, highlight the level the discount records are created
  3. Click ConfigurationDiscountsInsert
  4. On Insert Record modal form:
    1. Choose Record Number or range and set the number. NOTE: Sparkfly will need to be informed of this number
    2. Set the record name and click on OK
  5. Double-click on the discount to bring up the Forms View.
    1. Under General Tab, set the following options:
      1. 1 – On = Open
      2. 2 – On = Amount
      3. 5 – Reference Entry Required
      4. Check mark Enabled
    2. The following options need to be set according to requirements
      1. Rvc Type
      2. Itemizers
      3. Menu Levels
  6. Click Save

Setup Sparkfly Tender

The Sparkfly Extenstion Application relies on a pre-existing Tender to function properly.

  1. Login to EMC
  2. On the Locations tree, highlight the level the Tender/Media records are created
  3. Click ConfigurationTender/Media → Insert
  4. On Insert Record modal form:
    1. Choose Record Number or range and set the number. NOTE: Sparkfly will need to be informed of this number
    2. Set the record name and click on OK
  5. Double-click on the Tender to bring up the Forms View.
    1. Set 5-Reference Entry Required option under Ops BehaviorGeneral option
    2. Set the other options as necessary
  6. Click Save

Setup Sparkfly Menu Item

The Sparkfly Extension Application relies on a pre-existing Menu Item record to function properly.

  1. Login to EMC
  2. On the Locations Tree on the left, choose the level the Menu Item Classes are created
  3. ConfigurationMenu Item ClassesInsert
  4. On Insert Record modal form:
    1. Choose Record Number or range and set the number to 403 (or an available #)
    2. Set the record name to Sparkfly MI and click on OK
  5. Double Click on the Sparkfly MI to bring up the Form view
    1. Set 5-Reference Entry Required option under Options.
    2. Set 8-Allow Items in this Class to be Non-Priced.
    3. Set the other options as necessary
    4. Save
  6. On the Locations Tree on the left, choose the level the Menu Items are created
  7. Configuration → Menu Item Maintenance → Insert
  8. On Insert Record modal form:
    1. From the Select a task to perform drop-down, choose Add Master Records without a Template
    2. In the Name Type in Sparkfly
    3. Set the Major and Family groups appropriately
    4. Set the Record Number or Range to 403 (or an available number) and click on OK. Provide this number to Sparkfly.
  9. Highlight the Menu Item Master record you just created and click Ins
  10. On the Insert Record Modal form:
    1. From the Select a task to perform drop-down, choose Add Definitions to Masters
    2. In Definition Default Settings group, check mark Definition #1 and click on OK
  11. On the Insert Record Modal form:
    1. Click on the Definition Records tab (at the bottom of the table view)
    2. Double Click on the Item you just created to bring up the Form View
    3. On The General tab
    4. Set all the levels for Main Level Link
    5. Set all the levels for Sub Level Link
    6. Click on select for Menu Item Class to bring up the Select Menu Item Class modal, and double click on the Class you created earlier
  12. Save

Create Inquiry Button for the Sparkfly Extension Application

  1. Click EnterpriseConfigurationPage Design
  2. Double-click on the Page you would like to add the Inquiry button
  3. Right-click on the page design → Add button
    1. Legend: Enter desired button text
    2. Type: Function and Sim Inquire
    3. Arguments: ZoneableKeyName:7 Ex: Sparkfly:7

The button should appear similar to this:

Example Button

Configure & Install Sparkfly Micros Gateway

The Sparkfly Micros Gateway is a windows service that provides an SSL encrypted connection from the Simphony 2 Service Host Server to the Sparkfly Platform. It is a standalone windows service, and should be installed on one of the devices located within the store.

  1. Obtain the setup file from Sparkfly (SparkflyMicrosGateway.msi)
  2. Copy the setup file to the Simphony 2 Service Host in the store
  3. Run the Setup/Installer
  4. Insure the firewall permits outbound connections through port 443 and inbound connections on port 15009

Configuration

The Micros Gateway requires a configuration file — gateway.ini — to function correctly. This file will need to be created and configured specifically for your environment. The gateway.ini file should be placed in the install directory of the Sparkfly Micros Gateway.

A gateway.ini should be included in the install package with some initial configuration, such as API credentials, and a Site ID. Note that the Site ID must change for each restaurant. Sparkfly will have provided you with a list of Site IDs to use for each of your stores.

If operating with offline mode support, you must update gateway.ini. You will need to be sure that offlineItemId is set to the ID of the menu item you created in the step Setup Sparkfly Menu Item.

Reload Database Server and Interface Server

Once the configuration has been completed, the Database and Interface Server need to be reloaded to activate the configuration. The TCP/IP connection from the Interface Service Host to the Sparkfly Server is only established during the Service Host start up on the client.

On the Service Host that was selected in the Interface setup:

  1. Reload Database
  2. Reboot the Workstation

On the other Service Hosts:

  1. Reload Database
  2. Kill the Service Host from Windows Task Manager
  3. Restart Service Host

Verify Sparkfly Communication

The Sparkfly configuration is complete. A final step is to validate the setup and proper communication with the Sparkfly platform.

  1. Ring a sample transaction and press the button setup.
  2. When prompted for the Code, enter 1 for the code and hit Enter.
  3. The POS should communicate with the Sparkfly host and return a “[200] Code is Invalid” message.
  4. If a failure message is received (ex: “No Response to Message”), verify the configuration has been completed, network communication is active, the firewall is allowing access, and the database and interface server have been refreshed.

Troubleshooting

Please contact your Sparkfly account representative if you need assistance, or e-mail support@sparkfly.com.