Exemple #1
0
 public void DEL_Bodega(int codigo, int codigo_sucursal, int centro_atencion)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Bodega objBodega = new AD_Bodega();
         objBodega.DEL_Bodega(this.comando, codigo, codigo_sucursal, centro_atencion );
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
Exemple #2
0
 public void CRE_Bodega(MOD_Bodega obj)
 {
     try
     {
         this.IniciarTransaccion();
         AD_Bodega objBodega = new AD_Bodega();
         objBodega.CRE_Bodega(this.comando, obj);
         this.ConfirmarTransaccion();
     }
     catch (Exception exc)
     {
         this.DeshacerTransaccion();
         throw exc;
     }
 }
Exemple #3
0
 public MOD_Bodega SEL_Grid_By_Id_Bodega(int codigo, int codigo_sucursal, int Centro_Atencion)
 {
     try
     {
         this.AbrirConexion();
         AD_Bodega objBodega = new AD_Bodega();
         MOD_Bodega objBodegaResponsable = objBodega.SEL_Grid_By_Id_Bodega(this.comando, codigo, codigo_sucursal, Centro_Atencion);
         this.CerrarConexion();
         return objBodegaResponsable;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }
Exemple #4
0
 public List<MOD_Bodega> SEL_Grid_Bodega(int Centro_Atencion, string buscar)
 {
     try
     {
         this.AbrirConexion();
         AD_Bodega objBodega = new AD_Bodega();
         List<MOD_Bodega> lista = objBodega.SEL_Grid_Bodega(this.comando, Centro_Atencion, buscar);
         this.CerrarConexion();
         return lista;
     }
     catch (Exception exc)
     {
         this.CerrarConexion();
         throw exc;
     }
 }