External applications page in the configuration

Top  Previous  Next

You'll find descriptons of window elements below.

ExternalApplications

Execute following program...

If you want to execute a program on the main computer after time is started, ended or a sale is made, choose appropriate option and enter path to the program.

You can use the following variables as command line parameters for the selected programs:

%OPERATOR% - name of the current operator

%WORKSTATION% - name of the selected computer (as displayed on the workstation list)

%HOSTADDRESS% - network address of the computer (IP number or hostname), as configured in workstation properties window.

%COMPRATES% - name of the charging rate assigned to the selected computer

%COMPGROUP% - name of the group the selected computer belongs to

%COMPPARAM% - value of the Custom data field in the selected workstation properties window.

If an account is used on the selected workstation, you can also use variables from account properties:

 

%timenow% - current time - 12 hour format

%time% - current time - 24 hour format

%datenow% - current date - MONTH NAME DD YYYY format, example: February 23 2005

%date% - current date - DD-MM-YYYY format, example: 23-02-2003

%user% - account name (login)

%id% - account id

%passwd% - password

%firstname% - customer's first name

%lastname% - last name

%phone% - phone number

%mobile% - mobile phone number

%fax% - fax number

%address% - address

%city% - city

%country% - country

%email% - e-mail address

%gender% - gender of the account owner

%birthday% - account owner's birthday date

%comment% - account comment

%description% - owner description

%custom1% - value of the first custom field. You can configure custom fields on the Account properties page in options

%custom2% - value of the second custom field.

%custom3% - value of the third custom field.

%custom4% - value of the fourth custom field.

%custom5% - value of the fifth custom field.

%custom6% - value of the sixth custom field.

%points% - umber of points accumulated on the account. You can configure the points system on the Points system page in options.

%allowlogin% - this variable says if the customer can logon by himself

%totaltime% - total time

%ordertime% - time when account was created

%orderdate% - date of account creation

%rates% - charging rates assigned to the account

%accounttype% - account type

%totalcash% - total amount of money on the account - initial value

%debt% - account's debt

%validfromdate% - account is valid from that date

%validtodate% - account is valid until that date

%validfromtime% - account is valid from that time of the day

%validtotime% - account is valid from until that time of the day

%maxusage% - maximal number of hours to be used per one day

%maxusageperiod% - period of maximal usage - in days. For example, if account can be used maximally for 10 hours per 2 days, %maxusage% will be 10 and %maxusageperiod% will be 2.

%brutto% - brutto price (tax included)

%netto% - netto price (without tax)

%tax% - first (basic) tax rate

%tax2% - second tax rate

%taxes% - sum of the both tax rates used

See also

Configuring CafeStation