Select an Item from open check through isl code on micros 3700

Does anyone know how can I select an item from open check through isl code on micros 3700?I want to select it and perform a discount on it.VAR CheckItemIndex : N2VAR DetailsRow : N2VAR CheckItems[64] : N10VAR CheckItemsCount : N2CheckItemsCount = 0CheckItemIndex = 1DetailsRow = 1WINDOW 8, 75, "TEST WINDOW" DISPLAY DetailsRow, 2, "CHECK ITEMS"//dtl_type I Info, M Item, D Discount, S ServiceCharge, T Tender/Media, R ReferenceNumber, C CA DetailFOR i = 1 TO @numdtlt IF @DTL_TYPE[i] = "M" //AND BIT(@DTL_STATUS[i], 5) = 0 DetailsRow = Deta...Read more