beautypg.com

How to add an event to the disk journal, Variables for use in command files, System variables – Gasboy CFN III Manager Manual V3.6 User Manual

Page 207: System variables -9

background image

MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010

Page 19-9

How to Add an Event to the Disk Journal

Making Your Own Commands

How to Add an Event to the Disk Journal

You can add an event to the journal log by using the command LOG EVENT (LOG EV). This
will mark an event in the journal log by placing an event line at the specified point.

C* LO EV 20 45 0 13 0 0 335

C*

There are several parameters available with this command:

You must include one parameter, the “event type”, the others are optional but a place holder
must be included in the command if a parameter is skipped. For example, to assign an event
type of 20, with an amount of $45.00, a clerk number of 13, and a shift sequence number of
335, the command would look like the example.

Notice that there are zeros representing the parameters that are not used because the last
parameter was required. Any fields not provided will default to their correct system values.

Variables for Use in Command Files

System Variables

The following system variables can be used in command files (these variables are also called
“percent variables”).
Note: The variables are case-sensitive. That means they must be upper case or lower case, as

shown here:

Option

Description

et

Event type 0-99: Enter a number, 0 through 99. It will appear with as 100 - 149 in the journal

(150 - 199 are reserved).

amt

Amount in current monetary units: Do not use a decimal.

d

Descriptive text (up to 20-characters): If you have any spaces, enclose the description in quotes.

c#

Console number: Must be 2 or less characters.

cl#

Clerk number: Must be 2 or less characters.

sh#

Shift number: Must be 2 or less characters.

sq#

Shift sequence number: Must be 4 or less characters.

Name

Definition

%D

Date (MM/DD/YY format)

%T

Time (HH:MM AM/PM format)

%W

Day of week (Sun, Mon, Tue, Wed, Thu, Fri, Sat)

%Y

Date and time in YYMMDDHHMM format

%U

User number of user currently signed on

%P

Permission level of user currently signed on

%S

Current shift number (1, 2, or 3)

%Q

Shift sequence number: each shift change increments this number; wraps at 9999

This manual is related to the following products: