Beispiel #1
0
 public static void RegistrarLetraEmail(int idempresa, string esquema, string op_docventa, string id_agenda)
 {
     try
     {
         blTareo bl = new blTareo();
         bl.RegistrarLetraEmail("exec " + esquema + "..USP_INS_EnvioLetrasEmail " + op_docventa.ToString() + ",'" + id_agenda + "'");
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 public static void RegistrarFlagEnvioEmail(string esquema, string id_agenda, string op_docventa)
 {
     try
     {
         blTareo bl = new blTareo();
         //Lista Producción por recibir
         bl.RegistrarLetraEmail("exec " + esquema + "..USP_UDP_LetrasPorEnviarEmail '" + id_agenda + "'," + op_docventa);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #3
0
 public static void RegistrarErrorEnvioEmail(string esquema, string id_agenda, string op_docventa, string mensajerror)
 {
     try
     {
         blTareo bl = new blTareo();
         //Lista Producción por recibir
         bl.RegistrarLetraEmail("exec " + esquema + "..USP_INS_ErrorEnvioEmail '" + id_agenda + "'," + op_docventa + ",'" + mensajerror + "'");
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #4
0
        public static void RegistrarErrorEnvioEmail(string esquema, string id_agenda, string op_docventa, string mensajerror)
        {
            try
            {
                blTareo bl = new blTareo();
                //Lista Producción por recibir
                //bl.RegistrarLetraEmail("exec " + esquema + "..USP_INS_ErrorEnvioEmail '" + id_agenda + "'," + op_docventa + ",'" + mensajerror +"'");
                bl.RegistrarLetraEmail(string.Format(
                                           //"set dateformat DMY\n" +

                                           "exec " + esquema + "..USP_INS_ErrorEnvioEmail  '{0}',{1},'{2}' ",
                                           id_agenda, op_docventa, mensajerror.Replace("'", "")
                                           ));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }