Hi i am new programmer at micros pos. I' m checking a code and i notice that the time that end's the event begin_check and the time that begin's the event final_tender is 5 second's and I can't understand why that happen's.
The code that i had to .isl is
event begin_check
wNotResponse = 0
txmsg "TEST"
getrxmsg
rxmsg wNotResponse
if wNotResponse = 0
call PreError(1)
loaddbkybdmacro 300
endif
call Trace_Event("End_Check :")
end event begin check
event final_tender
var wnewtype: a20
var wNotResponse: n3
var form [500]: a120
var wcount: n9
var form2 [500]: a120
var wcount2: n9
var wcountPrint: n9
var i: n9
var aprinter: n7
var wAitio: a30
VAR wDescr: A30
VAR wDescr1: A30
VAR wDescr2: A30
VAR wDescr3: A30
VAR wDescr4: A22
VAR wDescr5: A22
var wAID: n1
var custinfo[7]: a50
var custinfostr: a22
VAR CustInfoCount: N9
VAR akey: A1
VAR wRet: N1
// errormessage @CKNUM
call Trace_Event("Begin final_tender:")
.......
end event
between end_check and begin final_tender i have 5 second delay
Thank you very much.
The code that i had to .isl is
event begin_check
wNotResponse = 0
txmsg "TEST"
getrxmsg
rxmsg wNotResponse
if wNotResponse = 0
call PreError(1)
loaddbkybdmacro 300
endif
call Trace_Event("End_Check :")
end event begin check
event final_tender
var wnewtype: a20
var wNotResponse: n3
var form [500]: a120
var wcount: n9
var form2 [500]: a120
var wcount2: n9
var wcountPrint: n9
var i: n9
var aprinter: n7
var wAitio: a30
VAR wDescr: A30
VAR wDescr1: A30
VAR wDescr2: A30
VAR wDescr3: A30
VAR wDescr4: A22
VAR wDescr5: A22
var wAID: n1
var custinfo[7]: a50
var custinfostr: a22
VAR CustInfoCount: N9
VAR akey: A1
VAR wRet: N1
// errormessage @CKNUM
call Trace_Event("Begin final_tender:")
.......
end event
between end_check and begin final_tender i have 5 second delay
Thank you very much.