Merge replication does not allow filters that reference dynamic functions that take one or more parameters. Check the function ...