Thanks for you answer but unfortunately on page 126 the manual doesnt talk about voids on micros open checks.
It talks about external dlls and how can you call them through micros isl code and it gives you an example of a method that can be on the external dll and that function is void. The method doesnt return something. The return type is void.
Function
This command is used to void an item from the check detail.
Syntax
VoidDetail(expression)
Description/Argument
Expression – Uses any valid expression that evaluates to a valid detail number in the range 1 to @NumDtlt.
Note
This function will “fail” silently. For example, if the expression is outside the range 1 to @NumDtlt, the function does not report an error. In addition, if the expression evaluates to a detail item that cannot be voided (i.e., part of a combo meal), the function will not void the item, and does not report an error.
The detail is voided as a “system” void. This method avoids prompting the user for authorization when it is otherwise required. This includes voiding of previous round items.
VoidDetail Example
The following example attempts to void all menu items in the previous and current rounds:
Var I : N9
For I = 1 to @NumDtlt
If(@Dtl_Type[1] = “M”)
voidDetail(i)
endif
endFor
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.