108
Appendices
SAM1000 For Windows User's Manual v2.3
<Storename> .PSK
PLU Stocking Status data from the SPS1000
FIELD
DESCRIPTION
START POS
LENGTH
TYPE
1
Status 1
1
Alpha
2
PLU# 2
14
Numeric
3
Count 16
8
Numeric
4
CR/LF 24
2
<Storename> .PLR
Misc. PLU information that the SPS1000 does not use. This is a reference file that the end
user could use for misc. information. Also, 3
rd
party software that interfaces with Sam1000
might benefit from these fields.
FIELD
DESCRIPTION
START POS
LENGTH
TYPE
1
Status 1
1
Alpha
2
PLU# 2
14
Numeric
3
Alternate PLU#
16
10
Numeric
4
Full Description
26
30
Alpha/numeric
5
UOM 56
2
Alpha/numeric
6
Vendor ID
58
6
Alpha/numeric
7
Vender Ref PLU#
64
15
Alpha/numeric
8
Max On Hand
79
8
Numeric
9
Cost 87
8
Numeric
10
CR/LF 95
2
All files are ASCII text. All records in a file are fixed length strings. Every record ends with
a CR/LF.
In Basic, you can use the Line Input# command to read a record.
The first character of a record is the Status. The Status must be a character ‘A’ ,’C’, or ‘D’ .
‘A’ = active.
This record can be edited.
‘C’ = changed.
This record has been changed in edit.
‘D’ = deleted.
This record has been deleted in edit.
If any file is edited outside of SAM1000, the edit routine must keep in mind this first
character. If you change any record, ‘C’ must be the first character on the line. Likewise for
deleting a record, a ‘D’ must be the first. This must be done in order for SAM1000 to
download the proper records to the SPS1000. If the .PLR file is changed, you need to re-
index the file in SAM1000/Utilities.
All numeric values are stored as whole numbers. In PLU Price/HALO, $12.34 would be
stored as ‘1234’. No decimal point is stored in the record.
All store files are stored under the following path:
\SAM1000\STORES\<
STORENAME
>\<
STORENAME
>
.
<
EXTENSION
>