Hi,
I'm trying to get the tax amount from every check item and I've found in SIM manual that system variable for that is @DTL_TAXTTL but when I try using it I keep getting this message:
The code I'm trying to test it is:
event inq:1
var i:n5
var count:n5 = 1
if @numdtlt = 0
exitcontinue
endif
window 10, 50
for i = 1 to @numdtlt
display count, 1, "Detail ", @dtl_type
count = count + 1
endfor
waitforclear
endevent
Can anyone help me?
Regards,
Miloš.
I'm trying to get the tax amount from every check item and I've found in SIM manual that system variable for that is @DTL_TAXTTL but when I try using it I keep getting this message:
The code I'm trying to test it is:
event inq:1
var i:n5
var count:n5 = 1
if @numdtlt = 0
exitcontinue
endif
window 10, 50
for i = 1 to @numdtlt
display count, 1, "Detail ", @dtl_type
count = count + 1
endfor
waitforclear
endevent
Can anyone help me?
Regards,
Miloš.