Table Orders

Introduction

Creating table orders is a function used mostly by handheld devices to place an order that is attached to a specific table number in the POS system. Before you can use the function, you need to register as a valid ordering terminal through another function. This tutorial explains how to do all this.

Contents

getAvailableTerminalList Retrieving a list of available terminals

You need to register your application as a terminal before you can place table orders. The following function allows you to retrieve a list of the available terminals in the POS system.

Note: When the customer is also using their own handheld devices, you need to make sure you are not using a terminal used by their handheld devices, because it will interfere with their operation. There needs to be a dedicated terminal that is solely used by the application you are building. To add a new terminal to the list of available terminals, please contact the POS system software supplier of your customer.

registerTerminal Registering as a terminal

After you have selected a terminal out of the $available_terminals, you can use it to register as a terminal with the POS system.

Note: When the customer is also using their own handheld devices, you need to make sure you are not using a terminal used by their handheld devices, because it will interfere with their operation. There needs to be a dedicated terminal that is solely used by the application you are building. To add a new terminal to the list of available terminals, please contact the POS system software supplier of your customer.

saveTableOrder Saving a table order

Only after you have successfully registered with the POS system as a terminal, you can create and update table orders.