INSERT INTO
    APS.T_RDS_SYNCHRONIZATION_CONFIG (Entities,
                                      ProcessName,
                                      MessageType,
                                      LockResourcePath,
                                      LockGroupName,
                                      ProcessType,
                                      Operations,
                                      IgnoreNullResource,
                                      RdsQueue,
                                      RdsSynchronizationConfigID,
                                      PathToImportServer)
VALUES
    ((SELECT TOP 1 e.EntityID FROM VCLIB.T_ENTITIES e WHERE e.EntName = 'RECIPE'),
     N'APS.sp_RDS_LloElectronicCertificate',
     N'ELECTRONIC_CERTIFICATE_APPLICATION',
     NULL,
     NULL,
     0,
     31,
     0,
     NULL,
     NEWID(),
     NULL);
