Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

void item micros 3700 2

Status
Not open for further replies.

nvak

Programmer
May 25, 2015
60
GR
How can i void an item through isl on micros 3700.

Micros 3700 does not support voiditem() method like 9700

Code:
usesorteddetail
for dtlno = 1 to @NUMDTLT
    if @DTL_TYPE [dtlno] = “M” and bit(@DTL_STATUS[dtlno],24)
       voiditem(dtlno)
    endif
endfor
 
Take a look at the SIM 3700 Manual, look at Page 126. Talks about Voids. Not sure if this will help or not. Maybe someone else can help out further.
 
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.
 
VoidDetail

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
 
Thank you very VERY much.

I cant understand why the 3700 sim manual doesn't include information like this.

If you have a document better than this or anything else and you want to share it it will be nice.

Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top