public static int RegistrarAperturaCaja(CENAperturaCaja objCENAperturaCaja) { CLNCaja objCLNCaja = null; try { objCLNCaja = new CLNCaja(); int ok = objCLNCaja.RegistrarAperturaCaja(objCENAperturaCaja); return(ok); } catch (Exception ex) { throw ex; } }
public static int ActualizarCaja(CENCaja objCENCaja) { CLNCaja objCLNCaja = null; try { objCLNCaja = new CLNCaja(); int ok = objCLNCaja.ActualizarCaja(objCENCaja); return(ok); } catch (Exception ex) { throw ex; } }
public static int RegistrarCaja(CENCaja objCENCaja) { CLNCaja objCLNCaja = null; objCENCaja.ntraSucursal = Convert.ToInt32(System.Web.HttpContext.Current.Session["sucursal"].ToString()); try { objCLNCaja = new CLNCaja(); int ok = objCLNCaja.RegistrarCaja(objCENCaja); return(ok); } catch (Exception ex) { throw ex; } }
public static CENCaja ListarTipos_Mov_Asig_Caja(CENCaja objCENCaja) { CLNCaja objCLNCaja = null; CENCaja objC = null; try { objCLNCaja = new CLNCaja(); objC = objCLNCaja.ListarTipos_Mov_Asig_Caja(objCENCaja); } catch (Exception ex) { throw ex; } return(objC); }
public static List <CENTransaccionCaja> ListarTransaccionesCajas(int ntraCaja, string fechaTransaccion, int flag) { CLNCaja objCLNCaja = null; List <CENTransaccionCaja> listTC = null; int ntraSucursal = Convert.ToInt32(System.Web.HttpContext.Current.Session["sucursal"].ToString()); try { objCLNCaja = new CLNCaja(); listTC = objCLNCaja.ListarTransaccionesCajas(ntraSucursal, ntraCaja, fechaTransaccion, flag); } catch (Exception ex) { throw ex; } return(listTC); }
public static List <CENCierreCaja> ListarCajasCerradas(int ntraCaja, int flag) { CLNCaja objCLNCaja = null; List <CENCierreCaja> listCC = null; int ntraSucursal = Convert.ToInt32(System.Web.HttpContext.Current.Session["sucursal"].ToString()); try { objCLNCaja = new CLNCaja(); listCC = objCLNCaja.ListarCajasCerradas(ntraSucursal, ntraCaja, flag); } catch (Exception ex) { throw ex; } return(listCC); }
public static List <CENCaja> ListarCajas( int ntraCaja, int estadoCaja, int ntraUsuario, string fechaInicial, string fechaFinal) { CLNCaja objCLNCaja = null; List <CENCaja> listC = null; int ntraSucursal = Convert.ToInt32(System.Web.HttpContext.Current.Session["sucursal"].ToString()); try { objCLNCaja = new CLNCaja(); listC = objCLNCaja.ListarCajas(ntraCaja, estadoCaja, ntraUsuario, ntraSucursal, fechaInicial, fechaFinal); } catch (Exception ex) { throw ex; } return(listC); }