Remote table-Valued Function Calls are not allowed
You need to add WITH (NOLOCK). Not entirely sure why but I just ran into this issue today and this solved my issue. SELECT * FROM [110.10.10.100].testdbname.dbo.ufn_getdata(‘4/25/2013’) AS tb WITH (NOLOCK);