beautypg.com

Data records, Comment lines – Gasboy SCII POS User Manual

Page 86

background image

Point of Sale and Shift Change

Disk journal layout

79

03/07/03

Gasboy CFN Series

COUNTER_UNDERFLOW - The counter_underflow field indicates whether or not any of the
product totalizers have wrapped around during a decrement, thereby rendering the data
meaningless. This situation would be unlikely, but nevertheless, if this field contains an underflow,
the data should be considered invalid. Possible values for this field are:

Value Meaning

0 No

underflow.

1

Underflow.

EXTRA - The extra field type does not currently have an interpretation for its contents. No
decimal points are allowed, and this field is strictly numeric. Possible values for this field are 0-
65535.


ACTION
- Action can be used to direct the merge utility to do different functions other than
merge data into an item. If the action field is not specified, the default action of merge is
undertaken. Additionally, the action field can be set to delete an item in the database. Use the code,
type, and modifier fields to find the item, and the action field to delete it.
The action field must have its merge identifier set to merge for an action to be executed. Extra
mergeable fields in an entry will be merged prior to the deletion of the item, so they are neither
useful nor a detriment. The current available actions are:

Value Meaning

0 merge this item (default)
1 delete this item.

DEFAULT_SIZE - The default_size field is a bit field that tells the Profit Point if this size is the
default (or most common) size for this item. When an item with multiple sizes is entered at the
Profit Point, the default size is pre-selected in the size menu if there is a default size for the item.

Value Meaning

0 Not the default size for this item
1 This is the default size for this item

Data records

Data records are put together in the order specified by the header record. Data records follow the
following rules:

• Place the value of the fields in the data record according to how you specified the field types

in the header record.

• The data records contained in the file begin on a new line with no preceding character.

• Do not start or end the data records with the ^ field separation character.

• Terminate the record with a carriage return and a line feed.


An example data record with a header record is:

^#01^CODE1^TYPE1^MODIFIER1^DEPT1^STOCK1^NAME1^PRICE1
30573015020^u^0^34^0^AdvilTablet^379

Comment lines

Comments may be inserted into the file by beginning a line with two ^^ field separation characters.
For example:

^^ This is a comment line.

This manual is related to the following products: