beautypg.com

Merge identifiers, Field identifiers summary of field identifiers – Gasboy SCII POS User Manual

Page 80

background image

Point of Sale and Shift Change

Disk journal layout

73

03/07/03

Gasboy CFN Series


Offset

Length

Name

Description

0

1

^

separation character, caret hex 5E

1

1

#

pound sign, hex 23

2

2

01

file type (01 is the current type)

4

1

^

separation character, caret hex 5E

5

v

field_id

field identifier

v 1 merge_id

merge

identifier

v

1

^

separation character, caret hex 5E

v v field_id field

identifier

v 1 merge_id

merge

identifier

v

1

^

separation character, caret hex 5E

. .

.

.

. . .

.

. . .

.

v

2

record separator, hex 0D, hex LF

Merge identifiers

The merge identifier determines what is done with the field in the record during the merge process.
The table below lists the valid values for the merge identifier:


Value Meaning
0

read this field but do not merge it.

1

read this field and merge it.

3

do not read this field but merge it.


Any other value is undefined and will result in an error being returned.


NOTE: A working knowledge of the internal structure of the PLU file is required to use merge-
identifier type number 3. This feature was provided for backwards compatibility, and all fields
may be written out and read back without using this particular option.

FIELD IDENTIFIERS

Summary of field identifiers

The field identifiers must be typed in UPPERCASE. The field identifier strings defined are:

Name Type

Length

Description

CODE

I

2-12

Either the dept #, stock # or UPC #

TYPE

L

1

Identifies the code: d=dept #, s=stock # or u=UPC #

MODIFIER

I

1

Modifier number (0=no modifier)

DEPT I

2

Department

number

(01-99)

STOCK

I

3-5

Stock number (100-65535)

NAME

A

1-16

Description of Dept, stock # or UPC

PRICE

I

1-5

Price in cents, no dec pt (0-65535) 0 clerk keys price

PPER

I

1-5

Qty priced in hundredths, no dec pt (1-65535)

100 is default

COST

I

1-5

Cost in cents, no dec pt (0-65535)

0 No markup calculated

CPER

I

1-5

Qty cost in hundredths, no dec pt (1-65535)

100

is

default

MARKUP

I

1-5

percentage markup in tenths of percent,

no dec pt (1-65535)

This manual is related to the following products: