5.5.9 07 - CANCEL TRANSACTION
This command is used to cancel the sale transaction at any point.
5.5.9.1 Command Format
-----------------------------------------------------------------------
BYTE BIT CONTENT
0-1
1B66 - Cmd Prefix
2
07 - Cancel Transaction
3
Cmd. Extension
7-0 Reserved (always = ' 0 x00' )
4-7
07_Store_Number
8-11
07_Operator_Number
12-15
07_Terminal_Number
-----------------------------------------------------------------------
5.5.9.2 Cancel Transaction Calculations
•
If only the store header has been printed, then there are no calculations for this command.
•
If anything more than the store header is printed, the following calculations are performed:
Day_N_Vouc = Day_N_Vouc + 1
Day_N_Fisc = Day_N_Fisc + 1
Day_N_Canc = Day_N_Canc + 1
Day_N_CFisc = Day_N_CFisc + 1
Tra_Tot = ∑
Tra_Tot_v(vv)
vv
Day_Canc_v(vv) = Day_Canc_v(vv) + Tra_Tot_v(vv)
Day_Canc = Day_Canc + Tra_Tot
for values of vv ranging from 1 to the maximum values
•
Clearing Transaction Accumulators
Tra_Tot_v(vv) = 0
Tra_Tot = 0
Tra_Void_v(vv) = 0
Tra_Void = 0
Tra_Bonu_v(vv) = 0
Tra_Bonu = 0
Tra_Disc_v(vv) = 0
Tra_Disc = 0
Tra_Empt_v(vv) = 0
Tra_Empt = 0
Tra_Tdsc = 0
Tra_Tupl = 0
Tra_Pay_Type_0 = 0
Tra_Pay_Type_1 = 0
Tra_Pay_Type_4 = 0
Page 92 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin
TYPE
LENGTH
hex
2
hex
1
hex
1
ASCII
4
ASCII
4
ASCII
4