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; } }
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; } }
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; } }
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; } }