Add Syniti Data Replication Functions

Use the SDR Function Setup page to add a Syniti Data Replication global script function. Users can also write their own function in the replication script that the global script can call in. Syniti Data Replication supports Visual Basic and C#.

The following is an example of a global script function:

using System;

using System.Data;

using DBMotoPublic;

using DBMotoScript;

namespace DBRS


public class ReplicationScript : IReplicationScript


public override void Record_onAfterMapping(DBMotoPublic.IRecord recSource, DBMotoPublic.IRecord recTarget, ref bool AbortRecord)


GlobalScript.AddLog("The current record has been inserted", 0);




To add a Syniti Data Replication Function in Common:

  1. Navigate to Configuration > Modules > SDR Function Setup in the Navigation pane.
  2. Enter the name of the function in the FUNCTION NAME text box.
  3. Enter the global script function in the FUNCTION SCRIPT text area.
  4. Click Save.