Was going through with colleague on another implementation of DualWrite and noticed there was nothing online to force synchronization of records from FO to CE.
This could be useful when you want to synchronise one entity based on an event on another table. So if you want to synch a specific projtable:
List projEntityrecordsToSync = new List(Types::AnyType);
ProjTableEntity projTableEntity;
select firstonly projTableEntity
where projTableEntity.recid == projtable.RecId;
projEntityrecordsToSync.addEnd(projTableEntity);
DualWriteSyncHelper::forceSyncRecordsToCDS(projEntityrecordsToSync);