Added global findOne function. removed findOne function from dataentry (replaced by global FindOne).