There are few problems here
var testas = ProcessReturnedEntity(data.d); //the function does not return anything
alert(testas)//missing ;
eval(oneEntity.AccountNumber);// where is eval
To check add
debugger;
in the first line of the function and go through it line by line using f10 or f11
I hope this helps.
Amreek singh Senior CRM Consultant CDC Praxa Sydney,Australia http://mscrmshop.blogspot.com/