Finished Assign Survey function on Client/detail