コード例 #1
0
 /// <summary>
 /// Actualizacion
 /// Fecha       : 22/08/2012
 /// Descripcion : Se agrega el parametro SubReporte.
 /// Author      : Pablo Salas A.
 /// </summary>
 /// <param name="oE_Reporte_Fotografico"></param>
 /// <param name="AppEnvia"></param>
 private void RegistrarReporteFotografico_Mov_Cabecera(E_Reporte_Fotografico_Mov oE_Reporte_Fotografico, int AppEnvia)
 {
     try
     {
         oCoon = new Conexion(3);
         oCoon.ejecutarDataTable("SP_GES_OPE_REGISTRAR_FOTOGRAFIA_V_1_1"
                                 , Convert.ToInt32(oE_Reporte_Fotografico.Cod_Persona)
                                 , oE_Reporte_Fotografico.Cod_Equipo
                                 , oE_Reporte_Fotografico.Cod_Compania
                                 , oE_Reporte_Fotografico.Cod_PtoVenta
                                 , oE_Reporte_Fotografico.Cod_Categoria
                                 , oE_Reporte_Fotografico.Cod_Marca
                                 , oE_Reporte_Fotografico.Comentario ?? null
                                 , oE_Reporte_Fotografico.Nombre_Foto ?? null
                                 , oE_Reporte_Fotografico.Fec_Registro
                                 , oE_Reporte_Fotografico.Latitud ?? null
                                 , oE_Reporte_Fotografico.Longitud ?? null
                                 , oE_Reporte_Fotografico.Origen ?? null
                                 , oE_Reporte_Fotografico.Cod_SubReporte ?? null //Add 22/08/2012 PSalas
                                 , AppEnvia);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #2
0
 //14/11/2012 psa. RegistrarFotoParaCocaCola
 private void RegRepFoto_Mov_Cab_Coca(E_Reporte_Fotografico_Mov oE_Reporte_Fotografico)
 {
     try
     {
         oCoon = new Conexion(3);
         oCoon.ejecutarDataTable("SP_GES_OPE_REGISTRAR_FOTOGRAFIA_COCA",
                                 oE_Reporte_Fotografico.Cod_PtoVenta
                                 , oE_Reporte_Fotografico.Nombre_Foto ?? null
                                 , oE_Reporte_Fotografico.Fec_Registro
                                 );
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }