public void Registrar_Pop_General(E_Reporte_Pop_General oEReporte) { //D_Reporte_Precio oD_Reporte_Precio = new D_Reporte_Precio(); D_Reporte_Pop oDReporte = new D_Reporte_Pop(); try { oDReporte.Registrar_Pop_General(oEReporte); } catch (Exception ex) { log.Error("[BL_Registar_Pop] [RegistrarPopFailed] :", ex); } }
public void Registrar_Pop_General(E_Reporte_Pop_General oEReporte) { string id_reg_Cab = ""; oCoon = new Conexion(2); //pSalas 06/03/2012 falta crear el Store Procedure id = oCoon.ejecutarretornodeOUTPUT("STP_JVM_INSERTAR_POP_02", 12, int.Parse(oEReporte.Person_id), oEReporte.Id_perfil ?? "", oEReporte.Id_equipo ?? "", oEReporte.Id_cliente ?? "", oEReporte.Id_categoria ?? "", oEReporte.Tipo_canal ?? "", oEReporte.Id_ptoVenta ?? "", oEReporte.FechaRegistro ?? "", oEReporte.Latitud ?? "", oEReporte.Longitud ?? "", oEReporte.Origen ?? "", oEReporte.Comentario ?? "", id_reg_Cab); foreach (E_Reporte_Pop_General_Detalle detalle in oEReporte.DetallePop) { Registrar_Pop_General_Detalle(detalle); } //return oE_Reporte_Presencia; //oListE_Reporte_Presencia.Add(oE_Reporte_Presencia); //return oListE_Reporte_Presencia; }