
5. Recording Batch Information
Guidelines for Preparing Batch Data
When entering batch data, keep in mind the following guidelines.
Guideline 1
When creating batch packets for downloading, be sure each batch data record conforms with its field definition.
For example, the following field is defined with a maximum of four characters. The batch record contains six characters.
{F,20,A,R,E,100,200,"SAMPLE" p | max. 4 characters |
T,1,4,V,061,010,2,2,2,1,B,L,0,0 p | |
. . .} |
|
{B,20,N,10 p | 6 char. batch data |
1,"ABCDEF" p |
In this case, only the first four characters will print.
Guideline 2
Be aware of how field options impact the field.
For example, the following field has a price field option. The field has a maximum of five characters. The batch record contains six characters.
{F,21,A,R,E,100,200,"PRICE" p | max. 5 characters |
T,1,5,V,061,010,2,2,2,1,B,L,0,0 p | |
R,42,1 p | price option |
. . .} |
|
{B,21,N,10 p | 6 char. batch data |
1,"129999" p |
Since the price option adds 2 characters, this field will print as $129., dropping the last 3 characters of data and cutting the price from $1299.99 to $129.
Recording Batch Information