5.5.8 06 - END TRANSACTION
This command is used to end the sale transaction.
5.5.8.1 Command Format
-----------------------------------------------------------------------
BYTE BIT CONTENT
0-1
1B66 - Cmd Prefix
2
06 - End Transaction
3
Cmd. Extension
7-0 Reserved (always = ' 0 x00' )
4-7
06_Store_Number
8-11
06_Operator_Number
12-15
06_Terminal_Number
16-53
06_Trailer_Message_1
54-91
06_Trailer_Message_2
-----------------------------------------------------------------------
5.5.8.2 End Transaction Calculations
Note that if training mode is active the calculations shown below are not performed except for those listed in
"Clearing Transaction Accumulators". So the transaction totals during training mode are not added to the
daily totals.
Day_N_Vouc = Day_N_Vouc + 1
Day_N_Fisc = Day_N_Fisc + 1
Day_N_Void = Day_N_Void + Tra_N_Void
Day_N_Disc = Day_N_Disc + Tra_N_Disc
Day_N_Bonu = Day_N_Bonu + Tra_N_Bonu
Day_N_Empt = Day_N_Empt + Tra_N_Empt
Day_N_Tdsc = Day_N_Tdsc + Tra_N_Tdsc
Day_N_Tupl = Day_N_Tupl + Tra_N_Tupl
Day_Tot_v(vv) = Day_Tot_v(vv) + Tra_Tot_v(vv)
Day_Tot = ∑
Day_Tot_v(vv)
vv
Change_Due = ( − 1) × Tra_Amt_Due
TYPE
LENGTH
hex
2
hex
1
hex
1
ASCII
4
ASCII
4
ASCII
4
ASCII
38
ASCII
38
Command Set Reference — Page 89 of 183