Create the applied function replication definition at the central (Tokyo) Replication Server using the sample scripts.
-- Execute this script at Tokyo Replication Server -- Creates replication definition create applied function replication definition upd_publishers_pubs2 with primary at TOKYO_DS.pubs2 (@pub_id char(4), @pub_name varchar(40), @city varchar(20), @state char(2)) go /* end of script */
-- Execute this script at Sydney Replication Server -- Creates replication definition create request function replication definition upd_publishers_pubs2_req with primary at SYDNEY_DS.pubs2 with primary function named upd_publishers_pubs2_req with replicate function named upd_publishers_pubs2 (@pub_id char(4), @pub_name varchar(40), @city varchar(20), @state char(2)) go /* end of script */