Example #1
0
 public void DEL_Forma_Pago(int codigo_Forma_Pago, int codigo_centro_atencion)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Forma_Pago objForma_Pago = new AD_Forma_Pago();
         objForma_Pago.DEL_Forma_Pago(this.comando, codigo_Forma_Pago, codigo_centro_atencion);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
Example #2
0
 public void CRE_Forma_Pago(MOD_Forma_Pago obj)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Forma_Pago objForma_Pago = new AD_Forma_Pago();
         objForma_Pago.CRE_Forma_Pago(this.comando, obj);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
Example #3
0
 public List<MOD_Forma_Pago> SEL_Grid_Forma_Pago(int Centro_Atencion, string buscar)
 {
     try
     {
         this.AbrirConexion();
         AD_Forma_Pago objForma_Pago = new AD_Forma_Pago();
         List<MOD_Forma_Pago> lista = objForma_Pago.SEL_Grid_Forma_Pago(this.comando, Centro_Atencion, buscar);
         this.CerrarConexion();
         return lista;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }
Example #4
0
 public MOD_Forma_Pago SEL_Grid_By_Id_Forma_Pago(int codigo_Forma_Pago)
 {
     try
     {
         this.AbrirConexion();
         AD_Forma_Pago objForma_Pago = new AD_Forma_Pago();
         MOD_Forma_Pago objForma_PagoResponsable = objForma_Pago.SEL_Grid_By_Id_Forma_Pago(this.comando, codigo_Forma_Pago);
         this.CerrarConexion();
         return objForma_PagoResponsable;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }