To add a function string to a function-string class, use the create function string command. Enter function-string commands at the primary site of the function string:
For function strings with replication-definition scope, the primary site is the Replication Server where the replication definition was created.
For function strings with class scope, the primary site is the Replication Server that is the primary site for the class. The primary site for a derived class is the same as for its parent class, unless the parent class is one of the system-provided classes. See “Primary site for a function-string class” for more information.
If you are using a derived function-string class whose parent class is not provided by the system, you may choose to customize function strings in the parent class rather than in the derived class that is actually assigned to a particular database connection. Doing so would make the customized function strings available for any additional derived classes of that parent class.