fixed the setting of empid in transaction rather than using pin