I am getting cashier Id as 0 everytime ?? I am trying to display the Cashier Id on message box and everytime its displaying 0
Following is the code that I have used... It always goes to Else condition and displays 0....
Hook Type was 2 i.e TenderBegin
Public Function Process(Optional mySession As Object) As Boolean Set mySession = CreateObject("QSRules.SessionClass") If mySession.Cashier.ID = 1 Then MsgBox (mySession.Cashier.FirstName) Else MsgBox ("Id is not know" & mySession.Cashier.ID) End If End Function
Please Help me... Waiting for ur reply... :-(
Vicky...:-)