Returns ticket number of the currently selected order
The order must be previously selected by the OrderSelect() function