public void SincronizarInteraccionesXInterlocutor(string codigoInterlocutor) { configureFechaSincronizacion(); GenericList <ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD> arrZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD = new GenericList <ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD>(); ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD representanteComercial = new ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD(); representanteComercial.COD_RRCC = codigoInterlocutor; arrZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD.Add(representanteComercial); _customParams.ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDADKey = arrZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD; _customParams.Save(); App.CurrentSUPContext.Sync(INTERACCIONES, "Interacciones"); }
public void SincronizarInteraccionesXInterlocutor(GenericList <DireccionEntrega> clientes) { configureFechaSincronizacion(); GenericList <ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD> arrZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD = new GenericList <ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD>(); foreach (var cliente in clientes) { ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD paramCliente = new ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD(); paramCliente.COD_CLI = cliente.IdDireccionEntrega; arrZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD.Add(paramCliente); } _customParams.ZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDADKey = arrZCRM_ACTRRCC_CONSULTA_INTERLO_ACTIVIDAD; _customParams.Save(); App.CurrentSUPContext.Sync(INTERACCIONES, "Interacciones"); }