Fieldpine Logo Documentation Home  

POS Commands are used by User Interfaces to control the pos operation. They can be executed from native UI files, or web pages. Information on these pages is designed for User Interface designers and is not introductory in nature.

Active Commands (Most Commonly Used)

Maint

General purpose commands

Sale

Perform an operation on a sale object, such as selling items or setting other characteristics that affect a single sale.

Saleline

The saleline command controls individual items on a sale.

Screen

Control screens, such as displaying new screens or closing screens.

Lookup

Display and control a user lookup screen to reference stored reference data.

Active Commands

Seritem

Control of individually serialised and tracked items such as value based discount vouchers

AddRule

Allow direct control at counters to underlying data. Used to add dynamic pricing

Settings

Affect stored settings used by the system to control operation. This command is not typically used for sale processing

Hardtotal

Access to sequential counters and non resetable totals

Input

Very simple single field prompting from operator. Designed to quickly capture single values

SaleState

Post financial completion sale state management. Typically used when a sale is used in an extended form, such as a food order.

Config

Commands to alter the underlying configuration or definition data the POS is operating against

Barcode

Actions relating to the processing management of barcodes

Storage

Provides a range of commands to interact with the underlying database.

System

Interaction with the operating system to start programs or alter the environment around the POS.

Eft

EFTPOS payment processing. Direct access to pinpads and integrated payments.

Message

Display a user message and optionally capture result

Help

Control context sensitive help that can appear alongside the operator while they perform tasks

Send

Send a single digit sequence to a control. Typically used to route single keystrokes to the element designated to process it.

SendStr

Send a string sequence to a control. Typically used to allow single keystrokes to cause sequences of commands to process.

Sale?

Create a new sale if none is currently present. Often used before sequences that affect sales

Saledone?

Check if the sale is completable, and if so, process the required steps to close the sale now.

Teller

Commands to affect current teller and control tellers in general

PastSales

Perform actions on sales that are completed, or no longer active.

Drawer

Commands affecting cash drawer operation, float and cash control

Discount

Select and control discounts for current sale

Debug

Invoke a range of specialised options for debug and support use. Not for general use.

Need

Specify a range of requirements that must be met before the remaining POSCommands on the line are processed.

Settle

Perform an end of period cash settlement process to balance cash takings to transactions.

Stack

Change the order of sales presented to user, when more than one sale is active

Call

Call a script in a file directly. Typically used on buttons to call scripts to process how the button press should be handled.

Password

Validate user security or password before executing remaining commands on this line

Generate

Process items such as mouse clicks and keystrokes as if the user themselves had entered them. Can also generate operations events

Pole

Control customer pole displays

Counter

User controlled counters for providing unique or repeatable sequences

Stocktake

Commands to control stocktake handling

Group

Send a command to a group of elements, typically buttons or control screens. Mainly used for product modifer selection

Worklist

Worklist management functions

UI

Send a command to alter the User Interface screen, or one of the items on it, such as buttons.

Undocumented Commands

The following commands are not yet documented. They are listed here for reference purposes. Some of these commands will be documented to full support status, others may be retired

subscription()
printer()
storeserver
document
posc
product
remote
infobase()
telephone()
teller2()
chat()
intfunc()
storagenetwork()
iroute()
context()
plugin()
shift()
health()
return()
motorcharge()
g2()
stock()
object()
if()
fuel()
postec
account()
navigate
xml()
vault()
purchase()
lock() and unlock()
Lock a user defined named resource. Used to control single stream devices in a multiuser environment.
maint_customer()
goodsin()
sendpage()
grid()
callerid()
productfinder()
Deprecated
customer()
Deprecated
productfindermatrix()

Retired and Deprecated Commands

The following commands have been deprecated or retired and are no longer documented. Many of these commands continue to work to ensure backward compatiability.

custom()
A selection of highly customised functions for specific customers. This command should not be used in new environments and is present for backwards compatibility only.
eftpos()
This command has been replaced by the eft() command. It continues to work, but changes should be migrated to the eft() command. There are direct equivalents so this is not a hard process, only a syntax change.
spawn()
The spawn() command was used to create external processes. It has been replaced by the more powerful system(shell,...) command