Ejemplo n.º 1
0
 public void DEL_Factura(int codigo_factura, int codigo_centro_atencion)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Factura objFactura = new AD_Factura();
         objFactura.DEL_Factura(this.comando, codigo_factura, codigo_centro_atencion);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
Ejemplo n.º 2
0
 public void CRE_Factura(MOD_Factura obj)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Factura objFactura = new AD_Factura();
         objFactura.CRE_Factura(this.comando, obj);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
Ejemplo n.º 3
0
 public List<MOD_Factura> SEL_Grid_Factura()
 {
     try
     {
         this.AbrirConexion();
         AD_Factura objFactura = new AD_Factura();
         List<MOD_Factura> lista = objFactura.SEL_Grid_Factura(this.comando);
         this.CerrarConexion();
         return lista;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }
Ejemplo n.º 4
0
 public MOD_Factura SEL_Grid_By_Id_Factura(int codigo_factura, int codigo_centro_atencion)
 {
     try
     {
         this.AbrirConexion();
         AD_Factura objFactura = new AD_Factura();
         MOD_Factura objFacturaResponsable = objFactura.SEL_Grid_By_Id_Factura(this.comando, codigo_factura, codigo_centro_atencion);
         this.CerrarConexion();
         return objFacturaResponsable;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }